/* === MAIN_STYLE.CSS (Koyu Tema Tabanlı - Tamamlanmış) === */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap");
/* menu_styles.css kaldırıldı - sadece QR menü sayfalarında yüklenecek */

:root {
    /* Ana Renkler */
    --clr-primary: #667eea;
    --clr-primary-rgb: 102,126,234;
    --clr-secondary: #6c757d;

    /* Nötr Renkler */
    --clr-light: #f8f9fa;
    --clr-white: #ffffff;
    --clr-dark: #343a40;

    /* Durum ve Vurgu Renkleri */
    --clr-success: #28a745;
    --clr-success-rgb: 40,167,69;
    --clr-warning: #ffc107;
    --clr-danger: #dc3545;
    --clr-danger-rgb: 220,53,69;
    --clr-info: #17a2b8;
    --clr-orange: #fd7e14;
    --clr-purple: #8e44ad;
    --clr-teal: #16a085;

    /* Fontlar ve Tipografi */
    --font-main: "Nunito", sans-serif;
    --font-size-base: 1rem; /* 16px varsayalım */
    --line-height-base: 1.7;
    
    /* Başlık Ölçekleri - Tüm sayfalarda tutarlı ölçeklendirme için standart değerler */
    --h1-size: clamp(2rem, 5vw, 2.8rem);
    --h2-size: clamp(1.7rem, 4vw, 2.3rem);
    --h3-size: clamp(1.3rem, 3vw, 1.8rem);
    --h4-size: clamp(1.1rem, 2vw, 1.4rem);
    --p-size: 1rem;
    --small-text: 0.9rem;

    /* Kenarlıklar ve Gölgeler */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;

    --box-shadow-dark-soft: 0 5px 15px rgba(0, 0, 0, 0.25);
    --box-shadow-dark-strong: 0 10px 30px rgba(0, 0, 0, 0.4);

    /* Geçişler */
    --transition-speed: 0.3s;
    
    /* Sayfa İç Boşlukları */
    --section-padding-y: 60px;
    --section-padding-x: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-main);
    background-color: #fff;
    color: #333;
    line-height: var(--line-height-base);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: var(--p-size);
    width: 100%;
    max-width: 100vw;
    padding-top: 110px;
}

@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
}

html {
    overflow-x: hidden;
    width: 100%;
}

main {
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #1a1a2e;
    font-weight: 700;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p {
    margin-bottom: 1rem;
    color: #666;
    font-size: var(--p-size);
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease-in-out, opacity var(--transition-speed) ease-in-out;
}

a:hover, a:focus {
    color: var(--clr-white);
    opacity: 0.85;
    text-decoration: none;
}

/* === Temel Buton Stilleri === */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--clr-white);
    padding: 0.85rem 1.8rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: var(--box-shadow-dark-soft);
    font-size: 1rem;
    min-height: 44px;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-dark-strong);
    opacity: 0.9;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: transparent;
    color: var(--clr-primary);
    padding: 0.8rem 1.7rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-speed) ease-in-out;
    border: 2px solid var(--clr-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    min-height: 44px;
}

.cta-button-secondary:hover, .cta-button-secondary:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--clr-white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Yardımcı Sınıflar */
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

/* Genel Bölüm Stilleri */
section {
    padding: var(--section-padding-y) 0;
    position: relative;
    overflow-x: hidden;
}

/* Genel Bölüm Başlıkları (index_sections_style.css'den buraya taşındı, tüm sayfalarda kullanılabilir) */
.section-title {
    font-size: var(--h2-size);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--clr-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--p-size);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.1);
}

.page-title-section h1 {
    margin-bottom: 0.5rem;
}

.page-title-section h1 i {
    margin-right: 10px;
}

.page-title-section p {
    margin-bottom: 0;
}

/* Genel Bölüm düzenleri: Tüm bölüm içerikleri için bu stiller */
.split-section {
    padding: var(--section-padding-y) 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4%;
}

.split-image, .split-content {
    flex: 1;
}

.split-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-dark-soft);
    width: 100%;
    height: auto;
}

.split-content {
    padding: 20px 0;
}

.split-layout.alt-layout { /* Resim sağda, içerik solda */
    flex-direction: row-reverse;
}

.split-content .section-title-alt { /* Split içindeki başlık */
    font-size: var(--h2-size);
    margin-bottom: 1.2rem;
}

.split-content .section-title-alt::after { /* Alternatif başlık için çizgi olmasın */
    display: none;
}

.split-content .section-title-alt .highlight {
    color: var(--clr-primary);
}

.split-content ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.split-content ul li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 2rem;
}

.split-content ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--clr-primary);
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    :root {
        --section-padding-y: 50px;
    }
}

@media (max-width: 768px) {
    .split-layout, .split-layout.alt-layout {
        flex-direction: column;
    }
    .split-layout.alt-layout .split-image {
        order: -1;
    }
    .split-image img {
        max-width: 100%;
    }
    .split-content {
        padding: 20px 0 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-y: 40px;
        --h1-size: clamp(1.8rem, 5vw, 2.5rem);
        --h2-size: clamp(1.5rem, 4vw, 2rem);
        --h3-size: clamp(1.2rem, 3vw, 1.6rem);
    }
    
    .container {
        width: 95%;
    }
    
    .cta-button, .cta-button-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding-y: 30px;
        --section-padding-x: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button, .cta-button-secondary {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }
}