/* General Styles */
:root {
    /* Renk Paleti */
    --primary-color: #00A896;
    --secondary-color: #02C39A;
    --accent-color: #F0F3BD;
    --text-dark: #056676;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-dark: #028090;
    --bg_alternate: #F0FDFB;
    --border-color: #D6F5F2;
    
    /* Fontlar */
    --font-primary: 'Patua One', cursive;
    --font-secondary: 'Muli', sans-serif;
    
    /* Düzen */
    --button-radius: 10px;
    --card-shadow: 0 6px 16px rgba(0, 168, 150, 0.15);
    
    --sidebar-width: 260px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
    border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-top: 40px;}
h3 { font-size: 1.8rem; }
p { margin-bottom: 15px; }

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--button-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    color: color-mix(in srgb, var(--accent-color) 20%, var(--text-dark)); /* Kontrastı ayarla */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    transform: translateY(-2px);
}

/* --- YERLEŞİM: ÜST MENÜ (LAYOUT: TOP-MENU) --- */
.layout-top-menu-standard, .layout-top-menu-split-hero, .layout-top-menu-minimal {
    /* Bu body class'ları için genel ayarlar */
}

.main-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.navbar-style-center .nav-links {
    flex-grow: 1; 
    justify-content: center;
}
.navbar-style-right .nav-links {
    flex-grow: 1;
    justify-content: flex-end;
}
.main-header .navbar-brand {
    font-family: var(--font-primary);
    font-size: 2em;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    flex-shrink: 0;
}
.main-header .navbar-brand:hover {
    color: var(--primary-color);
}
.main-header .nav-links {
    list-style: none;
    display: flex;
}
.main-header .nav-links li {
    margin: 0 15px;
}
.main-header .nav-links a {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.main-header .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -8px;
    transition: width 0.3s ease-out;
}
.main-header .nav-links a:hover,
.main-header .nav-links a.active {
    color: var(--primary-color);
}
.main-header .nav-links a:hover::after,
.main-header .nav-links a.active::after {
    width: 100%;
}

/* --- YERLEŞİM: SOL YAN MENÜ (LAYOUT: SIDEBAR-LEFT) --- */
.layout-sidebar-left .main-content-wrapper.sidebar-active {
    padding-left: var(--sidebar-width);
}
.sidebar-left {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 20px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow-y: auto;
}
.sidebar-left .navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin-bottom: 40px;
}
.sidebar-left .navbar-brand:hover {
    color: var(--primary-color);
}
.sidebar-left .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.sidebar-left .nav-links li {
    margin: 10px 0;
}
.sidebar-left .nav-links a {
    color: var(--text-light);
    font-weight: 600;
    display: block;
    padding: 10px 15px;
    border-radius: var(--button-radius);
    transition: color 0.3s ease, background-color 0.3s ease;
}
.sidebar-left .nav-links a:hover,
.sidebar-left .nav-links a.active {
    color: var(--text-dark);
    background-color: var(--primary-color);
}

/* --- KAHRAMAN (HERO) BÖLÜMÜ STİLLERİ --- */

/* 1. Standart Hero (Tam Ekran Arka Plan) */
.hero-section, .page-hero {
    position: relative;
    min-height: 450px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
.hero-section::before, .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
.hero-content, .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}
.hero-content h1, .page-hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease-out forwards;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out forwards 0.3s;
}

/* 2. Bölünmüş Hero (Split-Hero) */
.hero-section.split-hero {
    display: flex;
    height: 80vh;
    min-height: 500px;
    text-align: left;
    background: var(--bg-light); /* Resimsiz alanın arka planı */
    background-attachment: unset;
}
.hero-section.split-hero::before {
    display: none; /* Arka plan karartmasını kaldır */
}
.hero-section.split-hero .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    z-index: 2;
}
.hero-section.split-hero .hero-content h1,
.hero-section.split-hero .hero-content p {
    color: var(--text-dark); /* Metin rengini koyu yap */
    text-shadow: none;
}
.hero-section.split-hero .hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    height: 100%;
    z-index: 1;
}

/* 3. Minimal Hero (Resimsiz) */
.hero-section.minimal-hero, .page-hero.minimal-page-hero {
    background-image: none !important;
    background-color: var(--bg_alternate);
    background-attachment: unset;
    min-height: 350px;
    height: auto;
    padding: 80px 0;
}
.hero-section.minimal-hero::before, .page-hero.minimal-page-hero::before {
    display: none;
}
.hero-section.minimal-hero .hero-content h1,
.hero-section.minimal-hero .hero-content p,
.page-hero.minimal-page-hero .page-hero-content h1 {
    color: var(--text-dark);
    text-shadow: none;
}
.page-hero.minimal-page-hero h1 {
    color: var(--primary-color);
}


@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- İçerik Bölümleri (Sections) --- */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    opacity: 0;
    transform: translateY(30px);
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section:last-child {
    border-bottom: none;
}
.section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    font-size: 2.8rem;
}
.section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    background-color: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 3px;
}
.bg-light {
    background-color: var(--bg_alternate);
}

.content-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
    justify-content: center;
}
.content-flex p, .content-flex div:not(.price-list-container) {
    flex: 1;
    min-width: 350px;
    font-size: 1.15em;
    color: var(--text-dark);
    text-align: justify;
}
.text-content-container, .price-list-container, .legal-content-container {
     flex: 1;
     min-width: 350px;
}
.legal-content-container {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}
.legal-content-container h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
}
.content-flex .section-image {
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 3px solid var(--border-color);
}
.content-flex .section-image:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.content-flex.reverse {
    flex-direction: row-reverse;
}

/* Price List & Contact */
.price-list-container {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 6px solid var(--primary-color);
}
.price-list-container h3 {
    color: var(--accent-color);
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
}
.contact-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.contact-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2em;
}
.contact-info p { margin-bottom: 12px; }
.contact-info a { color: var(--primary-color); }
.contact-form {
    background-color: var(--bg_alternate);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 750px;
}
.form-group { margin-bottom: 30px; text-align: left; }
.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.1em;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.05em;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 25%, transparent);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.25);
}
/* Yan menü düzeninde footer'ı ana içerik alanına dahil et */
.layout-sidebar-left .main-footer {
    margin-top: 0; /* İçerik sarmalayıcısı zaten boşluk bırakır */
    width: 100%;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.main-footer p { margin: 0; font-size: 0.95em; }
.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    padding: 0;
    margin: 0;
}
.footer-links a {
    color: var(--text-light);
    font-size: 0.9em;
    font-weight: 600;
}
.footer-links a:hover {
    color: var(--primary-color);
}
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Loading Screen */
.loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.2em;
    z-index: 9999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s ease-out;
}
.loading-screen.active { display: flex; opacity: 1; }
.loading-screen .spinner {
    border: 12px solid rgba(255, 255, 255, 0.3);
    border-top: 12px solid var(--accent-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1.5s linear infinite;
    margin-bottom: 35px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Responsive Design --- */

/* Orta ve Küçük Ekranlar (Tablet ve altı) */
@media (max-width: 992px) {
    /* Üst menüleri mobil menüye dönüştür */
    .main-header .navbar {
        flex-direction: column;
        padding-bottom: 10px;
    }
    .main-header .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .main-header .nav-links li { margin: 0 12px 10px; }
    .main-header .navbar-brand { margin-bottom: 15px; }

    /* Yan menüyü gizle (mobil menüye dönüşecek - bu scriptte eklenmedi, basitlik için) */
    .layout-sidebar-left .sidebar-left {
        /* Bu örnekte basitçe üste taşıyabilir veya gizleyip hamburger ekleyebiliriz */
        /* Şimdilik basitçe üste taşıyalım */
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }
    .layout-sidebar-left .sidebar-left .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
     .layout-sidebar-left .sidebar-left .navbar-brand { margin-bottom: 20px; }
    .layout-sidebar-left .main-content-wrapper.sidebar-active {
        padding-left: 0; /* Sol boşluğu kaldır */
    }

    /* Diğer genel ayarlar */
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.3rem; }
    .content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .content-flex.reverse { flex-direction: column; }
    .content-flex p, .content-flex .section-image {
        min-width: unset;
        width: 100%;
    }
    .section-image { margin-bottom: 20px; }
    
    /* Bölünmüş Hero'yu alt alta getir */
    .hero-section.split-hero {
        flex-direction: column;
        height: auto;
    }
    .hero-section.split-hero .hero-image {
        height: 300px; /* Sabit yükseklik ver */
        order: -1; /* Resmi üste al */
    }
    .hero-section.split-hero .hero-content {
        text-align: center;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .hero-content { padding: 15px; }
    .hero-content p { font-size: 1.1rem; }
    .hero-section, .page-hero { height: auto; min-height: 350px; }
    .section { padding: 60px 0; }
    .contact-form { padding: 40px; }
}

@media (max-width: 576px) {
    .main-header .navbar-brand, .sidebar-left .navbar-brand { font-size: 1.8em; }
    .main-header .nav-links li, .sidebar-left .nav-links li { margin: 0 8px 8px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .btn { padding: 10px 20px; font-size: 0.9em; }
    .section { padding: 40px 0; }
    .contact-form { padding: 25px; }
}