/* === 1. GENEL AYARLAR & SCROLL SNAP === */
:root {
    --primary-blue: #03084d; /* Koyu lacivert */
    --secondary-blue: #6377ac; /* Orta mavi */
    --dark-text: #0c1339; /* Koyu metin rengi */
    --light-text: #a1a8c2; /* Açık gri metin */
    --background-light: #f1f6ff; /* Açık arka plan rengi */
    --white: #ffffff;
    --shadow-light: rgba(3, 8, 77, 0.07); /* Gölgeler (mavi tonlu) */
    --shadow-medium: rgba(3, 8, 77, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 80px; 
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background-light); 
    color: var(--dark-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-blue);
}

p, li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text);
}

ul {
    list-style-position: inside;
}


/* === 2. SABİT HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 15px 30px; 
    height: 80px;
}

/* Logo */
.logo-link {
    display: inline-block;
    vertical-align: middle; 
}
.logo-image {
    height: 50px;
    width: auto; 
}

/* Orta Navigasyon */
nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    white-space: nowrap;
}
nav ul li a.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
}
nav ul li a.nav-link:hover {
    background-color: var(--background-light);
    color: var(--secondary-blue);
}
nav ul li a.nav-link.active {
    color: var(--primary-blue);
    background-color: #e4eaf7; /* background-light'ın biraz koyusu */
}

/* Sağ Grup (Dil & Sosyal) */
.right-nav-group {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
}
.toggle {
    width: 44px;
    height: 24px;
    background-color: #e0e7ee;
    border-radius: 12px;
    padding: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.toggle[aria-checked="true"] {
    background-color: var(--secondary-blue);
}
.knob {
    width: 18px;
    height: 18px;
    background-color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.toggle[aria-checked="true"] .knob {
    transform: translateX(20px);
}
.nav-social-icon {
    color: var(--dark-text);
    
    /* GÜNCELLEME: İkonun dikeyde tam ortalanmasını 
       garanti altına almak için bu 2 satır eklendi.
    */
    display: inline-flex; /* 'a' etiketini flex kutusu yapar */
    align-items: center;  /* İçindeki SVG'yi dikeyde ortalar */
}

.nav-social-icon:hover {
    color: var(--secondary-blue);
}

/* YENİ EKLENDİ: Hamburger ikonunu masaüstünde gizle */
.mobile-nav-toggle {
    display: none; /* Masaüstünde varsayılan olarak GİZLİ */
    
    /* Bu stiller zaten mobilde @media içindeydi, 
       burada da olması bir şey değiştirmez */
    font-size: 28px; 
    color: var(--primary-blue);
    background: none;
    border: none;
    cursor: pointer;
}


/* === 3. ANA BÖLÜM (SECTION) TEMELLERİ === */
main > section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden; 
}


/* === 4. BÖLÜM: HOME === (YENİ TASARIM) */
section#home {
    /* 2 Sütunlu (Metin|Video) düzen */
    display: flex;
    align-items: center; /* Dikeyde ortalar */
    gap: 40px;
    
    /* İç boşluklar (header için üstte daha çok) */
    padding: 100px 50px 50px 50px; 
    
    /* YENİ KOYU ARKA PLAN (Beyaz yazı için şart) */
    background-color: #0c1339;
    
    /* Konteynerdan kurtarma (zaten vardı) */
    max-width: none; 
    overflow: hidden; /* İçerik taşmasın */
}

/* SÜTUN 1: METİN (SOL) */
#home .home-text-column {
    flex-basis: 40%; /* Sol sütun %40 yer kaplasın */
    flex-shrink: 0;
    z-index: 2; 
}
#home .home-text-column h1 {
    /* İstenen beyaz renk */
    color: var(--white); 
    font-size: 3.5rem; /* Büyük, etkileyici */
    line-height: 1.4;
    font-weight: 700;
}
/* (Opsiyonel) Alt başlık ve buton için stiller
#home .home-text-column .hero-subtitle {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-top: 20px;
}
#home .home-text-column .hero-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#home .home-text-column .hero-button:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}
*/


/* SÜTUN 2: VİDEOLAR (SAĞ) */
#home .home-video-column {
    flex-basis: 60%; /* Sağ sütun %60 yer kaplasın */
    flex-grow: 1;
    
    /* Kalan dikey alanı kapla ve kendi içinde kaydır */
    height: 100%;
    overflow-y: auto; 
    
    /* Kaydırma çubuğunu gizle */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
#home .home-video-column::-webkit-scrollbar {
    display: none;
}

/* Video Pinterest/Masonry Grid (Galerideki gibi) */
.video-masonry-grid {
    column-count: 3; /* 3 sütunlu video gridi */
    column-gap: 15px;
    width: 100%;
}
.video-item {
    break-inside: avoid; 
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden; /* Köşeleri yuvarlatmak için */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    line-height: 0; /* Videolar arası dikey boşluğu engeller */
    cursor: pointer; 
    position: relative;
}
.video-item video {
    width: 100%;
    height: auto; /* Masonry için kritik */
    display: block;
}
/* YENİ: Tıklanabilirliği göstermek için şık bir hover efekti */
.video-item::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    pointer-events: none; /* İkonun tıklamayı engellemesini önler */
}
.video-item:hover::after {
    opacity: 0.8;
}

/* === 12. BÖLÜM: VİDEO LIGHTBOX (YENİ EKLENDİ) === */
/* (#lightbox ile aynı temel stilleri kullanır) */

.lightbox {
    display: none; /* JS ile açılacak */
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(3, 8, 77, 0.9);
    /* İçeriği ortalamak için (önemli) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Videonun kendisini içeren sarmalayıcı */
.video-lightbox-content {
    position: relative;
    width: 80%; /* Ekranın %80'i */
    max-width: 1200px; /* Maksimum genişlik */
    background: #000;
}
#video-lightbox-player {
    width: 100%;
    height: auto;
    max-height: 90vh; /* Ekran yüksekliğini taşmasın */
    border-radius: 8px;
    display: block;
}

/* Video Kapatma Butonu */
.lightbox-close-video {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001; 
}
.lightbox-close-video:hover {
    color: var(--light-text);
}
/* --- ORTAK LIGHTBOX İÇERİK KONTROLÜ --- (YENİ/GÜNCELLEME) */
.lightbox-content-wrapper {
    position: relative; /* Oklar için */
    display: flex; /* İçindeki resim/videoyu ortalar */
    align-items: center;
    justify-content: center;
    
    max-width: 90%; /* Ekran genişliğinin %90'ı */
    max-height: 90%; /* Ekran yüksekliğinin %90'ı */
    margin: auto; /* Ortalamak için */
}

.lightbox-content-wrapper figure {
    margin: 0; /* Tarayıcı varsayılan margin'ini kaldırır */
    text-align: center;
    background-color: var(--white); /* Resim/video arkası beyaz */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    overflow: hidden; /* Resmin köşeleri yuvarlak olsun */
    max-width: 100%; /* İçerik taşmasın */
    max-height: 100%;
    display: flex; /* figcaption için */
    flex-direction: column;
}

.lightbox-content-wrapper img,
.lightbox-content-wrapper video {
    width: auto; /* Genişliği otomatik ayarla */
    height: auto; /* Yüksekliği otomatik ayarla */
    max-width: 100%; /* İçeriği sığdır */
    max-height: 80vh; /* Ekranın %80'inden yüksek olmasın */
    display: block;
    object-fit: contain; /* Tüm video/resim görünsün */
    margin: 0; /* Resmin etrafındaki boşluğu kaldırır */
}
.lightbox-content-wrapper figcaption {
    padding: 15px 20px;
    color: var(--dark-text);
    font-size: 1.1rem;
    background-color: var(--white);
    border-top: 1px solid var(--background-light);
}

/* --- ORTAK LIGHTBOX OKLARI --- (YENİ/GÜNCELLEME) */
.video-lightbox-prev, .video-lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Dikeyde ortalama */
    width: auto;
    padding: 16px;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5); 
    border-radius: 4px; /* Hafif yuvarlak köşeler */
    z-index: 10001; /* Kapatma butonunun altında, videonun üstünde */
}

/* Sol ok */
.video-lightbox-prev {
    left: 20px; /* Ekranın sol kenarından boşluk */
}

/* Sağ ok */
.video-lightbox-next {
    right: 20px; /* Ekranın sağ kenarından boşluk */
}

/* Hover efekti */
.video-lightbox-prev:hover, .video-lightbox-next:hover {
    background-color: rgba(0,0,0,0.8);
    color: var(--secondary-blue);
}

/* Ekran küçüldükçe (Tablet) */
@media (max-width: 1200px) {
    .video-masonry-grid { column-count: 2; }
    #home .home-text-column h1 { font-size: 2.8rem; }
}

/* Ekran çok küçüldükçe (Mobil) */
@media (max-width: 900px) {
    section#home {
        flex-direction: column; /* Sütunları alt alta yığ */
        padding: 100px 30px 30px 30px; /* Üst boşluğu koru */
        justify-content: flex-start;
    }
    #home .home-text-column {
        flex-basis: auto; 
        width: 100%;
        margin-bottom: 30px;
        text-align: center; /* Mobilde ortala */
    }
     #home .home-text-column h1 {
         font-size: 2.2rem; /* Mobilde yazıyı biraz küçült */
     }
    #home .home-video-column {
        flex-basis: auto;
        width: 100%;
        height: 60vh; /* Ekranın %60'ı kadar yükseklik ver */
    }
     .video-masonry-grid { column-count: 2; }
}


/* === 5. BÖLÜM: ABOUT === */
section#about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px 80px 30px;
    box-sizing: border-box;
}
#about .background-image-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Daha da şeffaf */
    filter: grayscale(100%) contrast(1.2);
}
#about h2,
#about .card-wrapper {
    position: relative;
    z-index: 2;
}
#about h2 {
    text-align: center;
    margin-bottom: 70px;
    margin-top: 40px;
    font-size: 2.5rem;
}
.card-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}
.card {
    flex-basis: 450px;
    flex-grow: 1;
    max-width: 550px; 
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow-light);
}
.card p {
    margin-bottom: 16px;
    color: var(--dark-text);
}
.card p:last-child {
    margin-bottom: 0;
}


/* === 6. BÖLÜM: SERVICES === (GÜNCELLENDİ) */
section#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px 30px 30px;
    justify-content: flex-start;
    box-sizing: border-box;
    height: 100vh;
}
#services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 40px; 
}

/* Hizmet kartları gridi */
.services-grid {
    margin-top: 50px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
}

/* Hizmet kartı (Ana stil) */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 30px;
    box-shadow: 0 5px 20px var(--shadow-light);
    flex-basis: 380px;
    flex-grow: 1;
    max-width: 450px;
    
    /* GÜNCELLEME: Animasyonun yumuşak (0.3 saniye) olmasını sağlar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* YENİ EKLENDİ: Kartın üzerine gelindiğindeki animasyon */
.service-card:hover {
    /* Kartı 5px yukarı kaldırır */
    transform: translateY(-5px); 
    
    /* Gölgeyi daha belirgin hale getirir */
    box-shadow: 0 8px 25px var(--shadow-medium); 
}

/* Hizmet kartı başlığı */
.service-title {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 10px;
}
.service-list {
    padding-left: 0;
}
.service-list li {
    margin-bottom: 8px;
    color: var(--dark-text);
}


/* === 7. BÖLÜM: GALLERY === (GÜNCELLENDİ) */
section#gallery {
    display: flex;
    flex-direction: column;
    padding: 0 60px 30px 60px;
    padding-bottom: 30px;
    justify-content: flex-start;

    /* GÜNCELLEME 1: Sağdan ve soldan boşluk eklendi.
      Tüm galeri bloğunu (başlık + grid) kenarlardan 60px içeri çeker.
    */
    padding-left: 90px;
    padding-right: 90px;

    overflow: hidden;
    box-sizing: border-box; /* Padding'in yüksekliği bozmamasını sağlar */
}

#gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    flex-shrink: 0; 
    margin-top: 40px;
}

/* Kendi içinde kayan alan */
#gallery .scroll-wrapper {
    height: 100%;
    overflow-y: auto;
    
    /* İç padding'i biraz azalttık (dışarıda boşluk verdiğimiz için)
      Bu, kaydırma çubuğunun daha kenara yakın olmasını sağlar.
    */
    padding: 0 10px;
    
    /* Scrollbar'ı gizle */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
#gallery .scroll-wrapper::-webkit-scrollbar {
    display: none; 
}

/* Pinterest/Masonry Grid */
.photo-grid {
    /* GÜNCELLEME 2: Sütun sayısı 4'ten 5'e çıkarıldı.
      Bu, resimleri daha küçük ve daha zarif gösterir.
    */
    column-count: 5; 
    column-gap: 15px;
    width: 100%;
}
.photo-grid img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-light);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    break-inside: avoid; 
    margin-bottom: 15px;
}
.photo-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

/* Ekran küçüldükçe sütun sayısını azalt */
@media (max-width: 1400px) {
    /* Geniş ekranlarda 4 sütun */
    .photo-grid { column-count: 4; } 
}
@media (max-width: 1000px) {
    /* Tabletlerde 3 sütun */
    .photo-grid { column-count: 3; } 
}
@media (max-width: 768px) {
    /* Mobilde padding'i azalt */
    section#gallery { padding-left: 30px; padding-right: 30px; } 
    .photo-grid { column-count: 2; } 
}
@media (max-width: 480px) {
    /* Küçük mobilde 1 sütun */
    .photo-grid { column-count: 1; } 
}


/* === 8. BÖLÜM: REFERENCES === (GÜNCELLENDİ) */
section#references {
    display: flex;
    flex-direction: column;
    align-items: center; 
    
    /* GÜNCELLEME 1: padding-top: 100px; kaldırıldı.
       Burası artık linkle tıklandığında başlığın 
       fazla boşluklu görünmesini engeller.
    */
    padding: 0 0 30px 0; 
    box-sizing: border-box;

    /* YENİ: İçeriği (h2 ve carousel) 100vh'lik alanın 
       en üstünden başlatır (ortalamaz).
    */
    justify-content: flex-start; 
    
    /* 'height: 100vh' ve 'scroll-snap-align'
       'main > section' genel kuralından geliyor.
    */
}

#references h2 {
    text-align: center;
    font-size: 2.5rem;
    
    
    /* GÜNCELLEME 2: Başlığı, bölümün en üstünden
       (yani header'ın altından) biraz ayırmak için
       'margin-top' ekliyoruz. 
       Bu, 'padding-top: 100px'ün yerini aldı.
    */
    margin-top: 40px; 
}

/* YENİ: Okları ve carousel'i saran container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Kenarlardan boşluk */
    display: flex;
    align-items: center;
}

/*
  .references-carousel,
  .reference-card,
  .carousel-button
  ve diğer tüm stiller aynı kalıyor...
*/
/* ... (önceki koddaki stillerin geri kalanı) ... */
.references-carousel {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px 60px; 
    scroll-behavior: smooth;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.references-carousel::-webkit-scrollbar {
    display: none;
}
.reference-card {
    flex: 0 0 400px; 
    scroll-snap-align: start; 
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    padding: 20px;
}
.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}
.reference-image-container {
    position: relative;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden; 
}
.reference-card img {
    width: 100%;
    height: 340px; 
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
}
.reference-card h3 {
    font-size: 1.2rem;
    color: var(--dark-text);
    transition: color 0.3s ease;
    padding: 0;
    margin-top: 20px;
}
.reference-card:hover h3 {
    color: var(--secondary-blue);
}
.reference-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(3, 8, 77, 0.7); 
    color: var(--white);
    opacity: 0; 
    transition: opacity 0.3s ease;
    border-radius: 8px;
}
.reference-hover-overlay svg {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.reference-card:hover .reference-image-container img {
    opacity: 0.6;
    transform: scale(1.05);
}
.reference-card:hover .reference-hover-overlay {
    opacity: 1;
}
.reference-card:hover .reference-hover-overlay svg {
    transform: scale(1);
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    z-index: 10;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow-medium);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}
.carousel-button.prev {
    left: 20px;
}
.carousel-button.next {
    right: 20px;
}


/* === 9. BÖLÜM: SFX BRAND (Yer Tutucu) === */
section#sfx-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 0px 30px 0px;
    box-sizing: border-box;
}

#sfx-brand h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px; /* Kartlarla arayı açar */
    margin-top: 40px;
}

/* 3+2 düzenini sağlayan flex container */
.brand-grid {
    display: flex;
    flex-wrap: wrap;          /* Kartların alt satıra kaymasını sağlar */
    justify-content: center; /* Kartları (özellikle 2. sırayı) ortalar */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.brand-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 30px 25px;
    
    /* Kartların genişliğini ayarlar (3 tanesi yan yana sığar) */
    flex-basis: 300px; 
    flex-grow: 1;      /* Esneklik sağlar */
    max-width: 350px;  /* Çok büyümesini engeller */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.brand-card img {
    /* Logoların dikey yüksekliğini sabitler */
    height: 80px; 
    width: auto;
    /* Logoların genişliğini kartla sınırlar */
    max-width: 200px; 
    /* Resmin en-boy oranını bozmadan sığdırır */
    object-fit: contain; 
    margin-bottom: 25px;
}

.brand-card h4 {
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}


/* === 10. BÖLÜM: CONTACT (İLETİŞİM) === */
section#contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px 0 30px;
    box-sizing: border-box;
    height: 100vh;
}
#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    margin-top: 40px;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
}
/* İletişim Bilgileri Kartı (Sol) */
.contact-info-card {
    flex-basis: 350px;
    flex-grow: 1;
    background-color: var(--white); /* Arka plandan ayırmak için beyaz */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow-light);
}
.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 10px;
    display: inline-block;
}
.contact-info-card .info-item {
    margin-bottom: 20px;
}
.contact-info-card .info-label {
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    text-transform: uppercase;
}
.contact-info-card p {
    font-size: 1.05rem;
}
.contact-info-card a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-info-card a:hover {
    color: var(--primary-blue);
}
/* İletişim Formu Kartı (Sağ) */
.contact-form-card {
    flex-basis: 500px;
    flex-grow: 2;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow-light);
}
.contact-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-text);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
    background-color: var(--background-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: var(--secondary-blue);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(99, 119, 172, 0.2);
}
.submit-button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.submit-button:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* === 11. BÖLÜM: FOOTER (YENİ EKLENDİ) === */
/* Bu footer, #contact bölümünün İÇİNDEDİR */
.site-footer-bottom {
    width: 100%;
    
    /* --- SİHİRLİ KISIM ---
       Bu, footer'ı #contact bölümünün (flex container) 
       en altına iter ve 'scroll-snap' sorununu çözer.
    */
    margin-top: auto;
    
    /* Görseldeki gibi görünmesi için stiller */
    padding: 20px 30px;
    text-align: center;
    
    /* Ana arka plan rengiyle aynı */
    background-color: var(--background-light); 
    
    /* Resimdeki gibi üstte hafif bir ayırıcı çizgi */
    border-top: 1px solid #e4eaf7; /* background-light'ın biraz koyusu */
}

.site-footer-bottom p {
    color: var(--secondary-blue); /* Resimdeki gri/mavi tonlu */
    font-size: 0.9rem;
    font-weight: 500;
}

.site-footer-bottom strong {
    color: var(--dark-text); /* Resimdeki gibi daha koyu */
    font-weight: 700;
}


/* === 12. BÖLÜM: LIGHTBOX (Tüm sayfa için) === (GÜNCELLENDİ) */
.lightbox {
    display: none; /* JS ile açılacak */
    position: fixed;
    z-index: 9999; /* En üstte */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(3, 8, 77, 0.9); /* Koyu mavi, %90 şeffaf */
    /* İçeriği ortalamak için (JS'de display: flex yap) */
}
.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--light-text);
}
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(3, 8, 77, 0.4);
}
.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(3, 8, 77, 0.7);
}
.lightbox-prev {
    left: 15px;
    border-radius: 3px 0 0 3px;
}
.lightbox-next {
    right: 15px;
    border-radius: 0 3px 3px 0;
}

/* === 12. BÖLÜM: MOBİL MENÜ STİLLERİ (YENİ EKLENDİ) === */

.mobile-nav {
    /* Menü tüm ekranı kaplar */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Header'ın (1000) arkasında, içeriğin (999) önünde */
    z-index: 999; 
    
    background-color: var(--white);
    padding: 100px 30px 30px 30px; /* Header (80px) için üst boşluk */
    
    /* Animasyon için */
    transition: transform 0.4s ease-in-out, opacity 0.4s ease;
    
    /* Başlangıçta gizli (ekranın üstüne ittir) */
    transform: translateY(-100%);
    opacity: 0;
    
    /* Görünmezken tıklanamaz yap */
    pointer-events: none;
}

/* YENİ: JS bu class'ı body'ye eklediğinde menü görünür olur */
body.mobile-nav-active .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* Tıklanabilir yap */
}

/* Mobil menüdeki kapatma butonu (X) */
#mobile-nav-close {
    position: absolute;
    top: 15px; /* Header yüksekliği (80px) ile uyumlu */
    right: 25px;
    font-size: 36px;
    font-weight: 300;
    color: var(--primary-blue);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Header'ın üstünde */
}

/* Mobil menü linkleri (dikey liste) */
.mobile-nav nav ul {
    list-style: none;
    padding: 0;
    margin: 0;

    /* YENİ EKLENDİ: Masaüstündeki 'display: flex' kuralını 
       ezerek linklerin alt alta gelmesini sağlar.
    */
    display: block;
}
.mobile-nav nav li {
    text-align: center;
}
.mobile-nav nav li a.nav-link {
    display: block; /* Tüm satırı kapla */
    padding: 15px 0;
    font-size: 1.5rem; /* Daha büyük, dokunmatik dostu */
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
}
.mobile-nav nav li a.nav-link.active {
    color: var(--primary-blue);
    background: none; /* Mobilde arka plan rengi olmasın */
}


/* === 13. BÖLÜM: MOBİL UYUMLULUK (Responsive) === */

/* Ekran 900px'den (veya daha küçükse) bu kuralları uygula */
@media (max-width: 900px) {

    /* --- 1. Mobil Header Düzeltmeleri --- */

    /* Masaüstü menüyü (tüm linkler) gizle */
    .site-header nav {
        display: none;
    }

    /* Dil değiştiriciyi ve Instagram ikonunu gizle */
    .right-nav-group .lang-toggle,
    .right-nav-group .nav-social-icon {
        display: none;
    }

    /* Hamburger menü ikonunu (HTML'den style'ı sildik) göster */
    .mobile-nav-toggle {
        display: block; /* Artık görünecek */
        font-size: 28px; /* İkonu biraz büyütelim */
        color: var(--primary-blue);
        background: none;
        border: none;
        cursor: pointer;
    }

    /* --- 2. İçerik Kesilme (100vh) Düzeltmesi --- */

    /* Scroll-snap'i iptal et, normal kaydırmaya izin ver */
    html {
        scroll-snap-type: none;
    }

    /* Galeri HARİÇ tüm bölümlerin 
       içeriğe göre uzamasını sağla */
    main > section:not(#gallery) {
        
        height: auto;      /* Yüksekliği 100vh'tan 'otomatik'e çek */
        
        /* Ekranı doldurması için en az 100vh yap (kısa içerikler için) */
        min-height: 100vh; 
        
        /* Taşanı GİZLEME (artık 'visible' veya 'auto' değil) */
        overflow: hidden; /* Bu, height:auto ile güvenle kullanılabilir */
        
        /* Bölümler arası boşluk için (alt alta kaydırırken) */
        padding-bottom: 60px; 
    }

    /* NOT: Galeri'ye dokunmadık (:not(#gallery)). 
      Çünkü onun '100vh' kalıp kendi içinde kaymasını İSTİYORUZ.
    */
}