/* ==========================================================================
   1. GENEL AYARLAR VE DEĞİŞKENLER
   ========================================================================== */

/* --- Fontlar --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Değişkenler (:root) --- */
:root {
    /* Ana Renk Paleti - Safe Solid için güncellendi */
    --color-primary: #2e7d32;
    --color-primary-dark: #1b5e20;
    --color-secondary: #4caf50;
    --color-secondary-dark: #388e3c;
    --color-accent: #ff7043;

    /* Metin ve Arka Plan Renkleri */
    --color-dark: #05070c;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gray: #64748b;
    --color-gray-light: #e2e8f0;

    /* Durum Renkleri */
    --color-danger: #ef4444;
    --color-success: #22c55e;
    --color-warning: #eab308;

    /* Arayüz Değişkenleri */
    --radius: 0.75rem;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* --- Top Bar Sosyal Medya (Hem ikon hem resim) --- */

/* --- Top Bar Sosyal Medya İkonları --- */
.top-bar-social-vibrant {
    text-decoration: none;
    display: flex;
    text-decoration: none;
    align-items: center;
    gap: 1rem;
}

.top-bar-social-vibrant .social-text {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
}

/* Ortak stil: Font Awesome ikonları */
.top-bar-social-vibrant .fa-brands {
    text-decoration: none;
    font-size: 2rem;
    /* Font boyutu büyüttü */
    color: #2e7d32;
    /* Kırmızı renk */
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hover efekti: Renk değiştir ve büyüt 
.top-bar-social-vibrant a .fa-brands {
    text-decoration: none !important;
    color: inherit !important;
    transform: scale(1.1);
}*/
.top-bar-social-vibrant a {
    text-decoration: none !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: scale(1.1);
    transition: color 0.3s ease;
}

/* Eğer arka plan ve gölge istiyorsanız (resimler için daha belirgin olabilir) */
/* Bu kısım isteğe bağlı, mevcut stilleri değiştirebilir */
/*


.top-bar-social-vibrant a:hover {
    background-color: #e74c3c; (*/
/* Hover durumunda dolgu rengi */
/*
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
*/
/* --- Temel ve Reset Ayarları --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.language-selector {
    position: relative;
    display: inline-flex;
    margin-right: 1rem;
}

.language-dropdown {
    position: relative;
    display: inline-flex;
}

.language-btn {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

.language-btn:hover,
.language-btn:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}

.language-btn i {
    font-size: 0.9rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.language-dropdown.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown:hover .language-menu {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.language-option:hover {
    background: #f8f9fa;
    color: #0066cc;
}

.language-option.active {
    background: #e3f2fd;
    color: #0066cc;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-light);
}

/* ==========================================================================
   2. YENİDEN KULLANILABİLİR BİLEŞENLER (COMPONENTS)
   ========================================================================== */

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Butonlar --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- eskisinde yok --- */
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-white-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #0d3c0f;
}

/* --- Genel Bölüm Stilleri --- */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.section-title p {
    font-size: 1.25rem;
    color: var(--color-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Kartlar ve Gridler --- */
/* --- Feature Card Stilleri --- */
.feature-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--color-gray-light);
    /* card-hover-effect sınıfını genel olarak kullanacağız */
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: 50%;
    font-size: 2.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.feature-description {
    color: var(--color-dark);
    line-height: 1.6;
}

.service-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 20px;
    margin-top: 3rem;
}

.service-box {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-secondary-dark);
}

.service-box p {
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Her zaman 2 eşit sütun  repeat(2, 1fr);  */
    gap: 10px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    ;
    /* 250px, kartların minimum genişliğini belirtir */
    gap: 2.5rem;
}

.reasons-grid,
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card-hover-effect {
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* --- Service Card Stilleri --- */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-gray-light);
    /* card-hover-effect sınıfını genel olarak kullanacağız */
}

.service-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    font-size: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.service-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Kartların aynı boyda olmasını sağlar */
}

.service-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
    margin-top: auto;
    /* Linki kartın en altına iter */
}

.service-link:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   3. ANA YAPI (HEADER, FOOTER, NAV)
   ========================================================================== */


.top-bar-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-dark);
    /*flex: 1 1 100%;*/
    font-size: 0.9rem;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left,
.top-bar-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
}



.top-bar-contact-item i {
    color: var(--color-primary);
}

/* --- Sosyal Medya İkonları (Font Awesome için) --- */

/* --- Header --- */
.header {
    background-color: #ffffff;
    /* Beyaz arka plan */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Hafif gölge ile daha ön planda */
    position: relative;
    /* Sayfada yukarı sabit kalır */
    top: 0;
    z-index: 1500;
    padding: 0.5rem 0;
    /* Üst ve alt boşluk */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    /* Üst-alt padding korunuyor */
    gap: 1.5rem;
    /* Logo ile menü arasında sadece 1rem boşluk */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    /* Logo gap: 0.75rem; küçülmesin */
}

.logo-img {
    width: 100px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: #172B4D;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1;
    margin-top: 2px;
}


/* Navigasyon (Menü) Stilleri    */
.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    /* Daha net bir aralık */
    flex-shrink: 0;
    margin-left: auto;
    /* Logo sağa yaslanırsa bile menü sola yapışmasın */
    /* Butonlar alt satıra düşmesin */
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    /* 14px değil 16px → okunaklı */
    color: #5D6D8D;
    padding: 10px 13px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex: 1;
    /* Eşit genişlik */
    text-align: center;
    min-width: 80px;
    /* Minimum genişlik */
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: #F8F9FA;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Nav Buton Stili */
.nav-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    flex: none;
    min-width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
}

.nav-btn:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
}


/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    /* Varsayılan olarak gizli */
    background: transparent;
    border: none;
    font-size: 2rem;
    /* Biraz büyütüldü */
    color: var(--color-dark);
    cursor: pointer;
    padding: 0.5rem;
    /* Tıklanabilirliği artırmak için */
    border-radius: 8px;
    /* Köşeleri yuvarlatıldı */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background-color: rgba(46, 125, 50, 0.1);
    transform: scale(1.1);
    outline: none;
}

/* ✅ MOBILE: Body scroll locked when navigation is open */
body.nav-open {
    overflow: hidden;
}


/* ==========================================================================
   4. SAYFA BÖLÜMLERİ (SECTIONS)
   ========================================================================== */

/* --- Hero ve Page Header --- */
.hero,
.page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: 6rem 1rem;
    min-height: 40vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('https://www.flyingswans.org/files/thumbnails/letsitele-drone.1920x0.jpg') no-repeat center center/cover;
    background-attachment: scroll;
}

/* Badge Stili */
.badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-content,
.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title,
.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-description,
.page-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-actions,
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- CTA (Call to Action) --- */
.cta {
    padding: 6rem 0;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(13, 131, 74, 0.95), rgba(255, 255, 255, 0.568)), url('/picture_library/inek.jpeg') no-repeat center center/cover;
    background-attachment: scroll;
}

.cta-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* --- Hakkımızda Sayfası Özel Stilleri --- */
.about-story-section {
    padding: 5rem 0;
    background-color: #f0f2f5;
}

.story-item {
    margin-bottom: 2rem;
    padding: 3rem;
    border-radius: 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    position: relative;
    overflow: hidden;
}

.story-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.05);
    background-attachment: scroll;
}

.story-item:hover::before {
    opacity: 0.15;
    transform: scale(1);
}

.story-bg-1::before {
    background-image: url('https://images.unsplash.com/photo-1470087167738-6aa485ff65dc');
}

.story-bg-2::before {
    background-image: url('https://images.unsplash.com/photo-1549964336-67d7d7d74ac2');
}

.story-bg-3::before {
    background-image: url('https://images.unsplash.com/photo-1580982327559-c1202864eb05');
}

.story-bg-4::before {
    background-image: url('https://images.unsplash.com/photo-1590324778348-5f5abb63bb07');
}

/* ✅ MOBILE: background-attachment fallback for touch devices */
@media (min-width: 1024px) and (hover: hover) {

    .hero,
    .page-header {
        background-attachment: fixed;
    }

    .cta {
        background-attachment: fixed;
    }

    .story-item::before {
        background-attachment: fixed;
    }
}

.story-item h2,
.story-item h3,
.story-item p,
.story-item ul {
    position: relative;
    z-index: 1;
}

.story-with-image {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.story-with-image.reverse {
    flex-direction: row-reverse;
}

.story-text {
    flex: 1;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-image-container {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-with-image:hover .story-image-container img {
    transform: scale(1.08);
}

/* --- Form Stilleri --- */
.form-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 0.5rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.form-submit-btn {
    width: 100%;
}

/* --- Doküman Sekmeleri --- */
.document-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-button:hover {
    color: var(--color-primary);
    background-color: var(--color-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    margin-bottom: 1rem;
}

.document-list a {
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.document-list a:hover {
    background-color: var(--color-light);
    color: var(--color-primary-dark);
}

.document-list a::before {
    content: "📄";
    font-size: 1.2rem;
}


/* ==========================================================================
   5. ANİMASYONLAR
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn,
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

/* --- Animasyon Gecikmeleri --- */
.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.story-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}


/* ==========================================================================
   6. RESPONSIVE TASARIM (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {

    /* Mobil Menü Butonunu Göster */
    .mobile-menu-btn {
        display: block;
    }

    /* Navigasyonu gizle ve mobil için yapılandır */
    .nav {
        display: none;
        flex-direction: column;
        /* Yatay sıralama */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 999;
        border-top: 2px solid var(--color-gray-light);
        justify-content: space-around;
        animation: slideDown 0.3s ease forwards;
        /* veya flex-start */
        /* ✅ MOBILE: Scrollable nav on small screens */
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .nav.nav-active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--color-gray-light);
        text-align: center;
        flex: 1;
        font-size: 1.1rem;
        /* Her link eşit genişlikte olacak */
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Son linkin altındaki çizgiyi kaldır */
    .nav-link:last-child {
        border-bottom: none;
    }

    /* Kartlar için 2 sütunlu düzen */
    .feature-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 2.8rem;
    }

    .cta-description {
        font-size: 1.2rem;
    }

    /* --- Genel Bölümler --- */
    .hero-title,
    .page-title {
        font-size: 3rem;
    }

    .hero-description,
    .page-subtitle {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 2.8rem;
    }

    .cta-description {
        font-size: 1.2rem;
    }

    .story-with-image,
    .story-with-image.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .top-bar-social-vibrant .social-text,
    .top-bar-right span {
        /* Bizi takip edin yazısı genelde span içinde 
        display: none;*/
    }

    .top-bar-social-vibrant {
        gap: 1rem;
    }

    .top-bar-social-vibrant a {
        width: 32px;
        height: 32px;
    }

    .top-bar-right {
        flex-wrap: wrap;
    }
    .header {
    height: 90px;          /* mobilde biraz daha yüksek header */
    }
    .logo-img {
    height: 85px;          /* header kadar yüksek */
    width: auto;
    max-width: 240px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-bar-contact-item i {
        font-size: 0.9rem;
    }

    .top-bar-social-vibrant a {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {

    /* --- Grid Yapıları --- */
    .feature-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .story-list ul {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* --- Bölüm Aralıkları --- */
    .section,
    .about-story-section,
    .mission-vision-section {
        padding: 3rem 0;
    }

    .story-item {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    /* --- Font Boyutları --- */
    .section-title h2 {
        font-size: 2.2rem;
    }

    .story-item h2 {
        font-size: 2.2rem;
    }

    .story-item h3 {
        font-size: 1.7rem;
    }

    .story-item p {
        font-size: 1rem;
    }

    /* --- Footer --- */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {

    .feature-grid,
    .services-grid {
        grid-template-columns: 1fr;
        /* Küçük ekranlarda tek sütun */
    }

    /* --- Top Bar --- */
    .top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* --- Font Boyutları --- */
    .hero-title,
    .page-title {
        font-size: 2.5rem;
    }

    .hero-description,
    .page-subtitle {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    /* --- Logo --- 
    .logo-img {
        height: 35px;
    }*/

    .logo-title {
        font-size: 1.3rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   MODERN DÖKÜMANLAR BÖLÜMÜ STİLLERİ
   ========================================================================== */

/* Doküman Tabs */
.document-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0;
    border-bottom: 2px solid var(--color-gray-light);
    overflow-x: auto;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--color-gray);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
    font-family: inherit;
}

.tab-button:hover {
    color: var(--color-primary);
    background-color: rgba(46, 125, 50, 0.05);
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background-color: rgba(46, 125, 50, 0.1);
}

.tab-button i {
    font-size: 1.1rem;
}

/* Tab Content */
.document-tabs-content {
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Doküman Kartları */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-gray-light);
    transition: var(--transition);
    cursor: pointer;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.document-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.document-info p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.document-type {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.document-size,
.document-date {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.document-download {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.document-download:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

/* Müşteri Vitrin Alanı */
.clients-showcase {
    text-align: center;
}

.clients-intro {
    margin-bottom: 3rem;
}

.clients-intro p {
    font-size: 1.2rem;
    color: var(--color-gray);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.client-card {
    background: var(--color-primary-dark);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-gray-light);
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.client-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(#ffffff);
    margin-bottom: 1rem;
}

.client-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.client-certs {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.clients-pdf {
    margin-top: 3rem;
}

/* Kaynaklar Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.resource-category {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-gray-light);
}

.resource-category h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gray-light);
}

.resource-category i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.resource-list {
    list-style: none;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.resource-list a:hover {
    color: var(--color-primary);
    background-color: rgba(46, 125, 50, 0.05);
    transform: translateX(5px);
}

.resource-list a:before {
    content: '📄';
    margin-right: 0.5rem;
}

/* ==========================================================================
   MODERN FOOTER STİLLERİ - GÜNCELLENDİ
   ========================================================================== */

/* Ana Footer Yapısı */
.footer {
    background: #ffffff;
    color: var(--color-white);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.footer-main {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 200px 200px 250px;
    gap: 3rem;
    align-items: start;
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-img {
    width: 100px;
    height: auto;
}

.footer-brand .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.footer-brand .logo-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1;
    margin-top: 2px;
    font-style: italic;
}

.footer-description {
    color: rgb(0, 0, 0);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Footer Sosyal Medya */
.footer-social {
    margin-top: 1.5rem;
}

.social-text {
    color: rgb(0, 0, 0);
    font-size: 0.9rem;
    margin-bottom: 0rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Footer Sütunları */
.footer-column {
    /* Sütunlar için temel stil */
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgb(0, 0, 0);
}

.footer-title i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Footer Navigation */
.footer-nav {
    /* Navigasyon için temel stil */
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(37, 1, 1);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.footer-link a:hover {
    color: var(--color-white);
    transform: translateX(3px);
}

.footer-link a i {
    width: 16px;
    color: var(--color-primary);
    font-size: 0.85rem;
}

/* Footer İletişim */
.footer-contact {
    /* İletişim bilgileri için temel stil */
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: rgba(0, 0, 0, 0.973);
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--color-dark);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--color-dark);
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Hızlı Erişim Butonları */
.footer-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    text-align: center;
}

.quick-action-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.quick-action-btn i {
    font-size: 0.9rem;
}

/* Alt Footer */
.footer-bottom {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.507);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: rgba(0, 0, 0, 0.7);
}

.footer-copyright p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.company-details {
    font-size: 0.8rem;
    color: rgb(0, 0, 0);
}

/* Yasal Linkler */
.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-white);
}

.footer-legal a i {
    font-size: 0.8rem;
    color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE TASARIM GÜNCELLEMELERİ
   ========================================================================== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .document-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-quick-actions {
        flex-direction: row;
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .document-tabs {
        justify-content: center;
    }

    .tab-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   EK DÜZELTMELER: HEADER, MENÜ, SUBMENU (GÖRSEL HATALAR İÇİN)
   ========================================================================== */


/* === DROPDOWN & SUBMENU === */
.nav-item {
    position: relative;
    display: inline-block;
}

.dropdown-menu,
.submenu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    animation: fadeIn 0.2s ease forwards;
}

.dropdown-menu li,
.submenu-content li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a,
.submenu-content a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.dropdown-menu a:last-child,
.submenu-content a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover,
.submenu-content a:hover {
    background-color: #f0f8ff;
    color: var(--color-primary);
    padding-left: 24px;
}

/* === SUBMENU === */
.submenu {
    position: relative;
    width: 100%;
}

.submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--color-primary);
    font-weight: 600;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s, color 0.3s;
}

.submenu>a:hover {
    background: #e3f2fd;
    color: var(--color-primary-dark);
}

.submenu-content {
    left: 100%;
    top: 0;
    min-width: 260px;
}

.nav-item.dropdown.is-open>.dropdown-menu {
    display: block;
}

.submenu.is-open>.submenu-content {
    display: block;
}

.submenu.is-open>.submenu-trigger i {
    transform: rotate(90deg);
}

.nav-item:hover .dropdown-menu,
.submenu:hover .submenu-content {
    display: block;
}

/* === ICON HOVER ANIMATION === */
.submenu-trigger i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submenu:hover .submenu-trigger i,
.submenu.is-open .submenu-trigger i {
    transform: rotate(90deg);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {

    .dropdown-menu,
    .submenu-content {
        position: static;
        box-shadow: none;
        border: none;
        background: #fafafa;
        margin-left: 0.5rem;
        border-left: 2px solid var(--color-primary);
    }

    .submenu-content {
        margin-left: 2rem;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 1.1rem;
    }
}

/* === ANIMATION === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.legal-nav-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 40px;
}

.legal-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-nav-btn {
    display: block;
    padding: 12px 15px;
    text-align: center;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.legal-nav-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.legal-nav-btn.active {
    background-color: #28a745;
}

.legal-nav-btn.active:hover {
    background-color: #218838;
}

@media screen and (max-width: 1220px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Sabit genişlikli elemanlar taşma yapmasın 
  .container, .section, .header, .footer,
  [class*="grid"], [class*="row"], [class*="col"] {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }*/

    /* Büyük grid minimumlarını küçült */
    .feature-grid,
    .services-grid,
    .documents-grid,
    .legal-nav-grid {
        grid-template-columns: 1fr !important;
    }

    /* Arka plan sabitleme kapalı */
    .hero,
    .cta,
    .story-item::before {
        background-attachment: scroll !important;
    }

    /* Görsel ve iframe’ler ekrana tam otursun */
    img,
    iframe,
    video {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .language-dropdown .language-menu {
        left: 0 !important;
        /* menüyü sola hizala */
        right: auto !important;
        /* sağ hizalamayı kaldır */
        transform: translateY(5px);
        /* aşağı doğru düzgün açılsın */
        min-width: 140px;
        max-width: 90vw;
        /* taşmayı engelle */
        overflow-x: hidden;
    }
}

/* =============================
   DİL SEÇİCİ (MODERN TASARIM)
   ============================= */
.language-selector {
    position: relative;
    display: inline-flex;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--color-dark);
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.language-btn i {
    font-size: 1rem;
    color: var(--color-primary);
}

.language-btn:hover,
.language-btn:focus-visible {
    background: rgba(46, 125, 50, 0.08);
    transform: translateY(-1px);
    outline: none;
}

/* Menü kutusu */
.language-menu {
    display: none;
    position: absolute;
    top: 115%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    overflow: hidden;
    z-index: 9999;
}

.language-dropdown.active .language-menu {
    display: block;
    animation: fadeIn 0.25s ease;
}

/* Menü içi linkler */
.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-primary);
}

.language-option.active {
    background: rgba(46, 125, 50, 0.12);
    color: var(--color-primary-dark);
    font-weight: 600;
}

/* 📱 Mobilde taşma düzeltmesi */
@media (max-width: 768px) {
    .language-menu {
        left: 0 !important;
        right: auto !important;
        transform: translateY(5px);
        max-width: 90vw;
    }
}

/* =============================
   ÇEREZ ONAY BANNER� (KVKK/GDPR)
   ============================= */
.cookie-consent {
    position: fixed;
    inset-inline: 1.5rem;
    bottom: 1.5rem;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 30px 70px rgba(6, 35, 16, 0.2);
    max-width: 640px;
    margin-inline: auto;
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    border: 1px solid rgba(46, 125, 50, 0.08);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
}

.cookie-consent__icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: rgba(46, 125, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    font-size: 1.75rem;
}

.cookie-consent__content {
    flex: 1;
    color: #1b2534;
}

.cookie-consent__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #132016;
}

.cookie-consent__description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a4f5c;
    margin-bottom: 0.75rem;
}

.cookie-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.cookie-consent__links a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-consent__links a:hover,
.cookie-consent__links a:focus-visible {
    color: #1b5e20;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 140px;
}

.cookie-btn {
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cookie-btn.primary {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    border-color: #1b5e20;
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.25);
}

.cookie-btn.primary:hover,
.cookie-btn.primary:focus-visible {
    transform: translateY(-1px);
}

.cookie-btn.ghost {
    background: transparent;
    border-color: rgba(46, 125, 50, 0.3);
    color: #1b5e20;
}

.cookie-btn.outline {
    background: #f9f9f9;
    border-color: rgba(46, 125, 50, 0.25);
    color: #1b5e20;
}

.cookie-btn:focus-visible {
    outline: 2px solid rgba(46, 125, 50, 0.4);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cookie-consent {
        inset-inline: 1rem;
        bottom: 1rem;
        border-radius: 1rem;
    }

    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* =============================
   ÇEREZ MODAL� VE ANAHTARLAR
   ============================= */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cookie-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.cookie-modal-open {
    overflow: hidden;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 35, 16, 0.45);
}

.cookie-modal__dialog {
    position: relative;
    margin: 5vh auto;
    max-width: 720px;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 35px 80px rgba(6, 35, 16, 0.35);
    border: 1px solid rgba(46, 125, 50, 0.08);
    overflow: hidden;
}

.cookie-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: none;
    background: rgba(249, 249, 249, 0.9);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    color: #1b5e20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.cookie-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(46, 125, 50, 0.12);
    color: #1b5e20;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.cookie-modal__header h3 {
    margin-top: 0.85rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #0f1b10;
}

.cookie-modal__header p {
    color: #4a4f5c;
    line-height: 1.6;
}

.cookie-category-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-category {
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: 1.1rem;
    padding: 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    background: #f9f9f9;
}

.cookie-category h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: #1b5e20;
}

.cookie-category p {
    font-size: 0.92rem;
    color: #4b4f59;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    flex: 0 0 auto;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(46, 125, 50, 0.25);
    cursor: pointer;
    transition: background 0.25s ease;
}

.cookie-toggle__track::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
    background: #2e7d32;
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle__track {
    background: rgba(27, 94, 32, 0.3);
    cursor: not-allowed;
}

.cookie-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .cookie-modal__dialog {
        margin: 5vh 1rem;
        padding: 2rem 1.25rem;
    }

    .cookie-category {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-modal__footer {
        flex-direction: column;
    }

    .cookie-modal__footer .cookie-btn {
        width: 100%;
    }
}
