@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --holding-navy: #0b2545; /* Koç tarzı ağır, prestijli lacivert */
    --holding-blue: #134074;
    --dark-text: #1a1a1a;
    --light-gray: #f8f9fa;
    --bg-color: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--bg-color); color: var(--dark-text); line-height: 1.7; }
a { text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1450px; margin: 0 auto; padding: 0 30px; }

/* =========================================
   1. ŞEFFAF VE SABİT HEADER
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: transparent; padding: 25px 0;
    transition: all 0.4s ease; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
header.scrolled {
    background-color: #ffffff; padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-bottom: none;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo img { height: 60px; transition: all 0.3s ease; filter: brightness(0) invert(1); }
header.scrolled .logo img { filter: none; height: 60px; }

/* Menü Linkleri (Taşmayı Önleyen Sıkıştırılmış Ayarlar) */
.nav-menu { display: flex; gap: 15px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu li a {
    color: #ffffff; font-weight: 600; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s ease;
    white-space: nowrap; /* Asla alt satıra inme kuralı */
}

header.scrolled .nav-menu li a { color: var(--dark-text); }
.nav-menu li a:hover, header.scrolled .nav-menu li a:hover { color: var(--holding-blue); }

/* Açılır Menü (Dropdown) */
.dropdown .arrow { font-size: 11px; margin-left: 4px; vertical-align: middle; opacity: 0.7; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background-color: #ffffff;
    min-width: 260px; border-top: 3px solid var(--holding-navy);
    padding: 15px 0; z-index: 1001; opacity: 0; visibility: hidden;
    transform: translateY(15px); transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    color: #333333 !important; padding: 12px 30px; display: block;
    font-size: 15px; text-transform: none; font-weight: 500;
    border-bottom: 1px solid #f1f1f1; transition: all 0.3s ease; letter-spacing: 0.5px;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background-color: var(--light-gray); color: var(--holding-navy) !important; padding-left: 35px; }

/* =========================================
   2. ANA SAYFA ALANLARI
   ========================================= */
/* Tam Ekran Hero */
.hero {
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: flex-start;
    background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #ffffff; max-width: 800px; padding: 0 5%; }
.hero h1 { font-size: 4.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1.5px; }
.hero p { font-size: 1.4rem; font-weight: 300; margin-bottom: 40px; color: #f0f0f0; }

/* Buton */
.btn-primary {
    display: inline-block; padding: 18px 45px; background: var(--holding-navy);
    color: #ffffff; font-weight: 600; font-size: 0.95rem; text-transform: uppercase;
    letter-spacing: 1.5px; transition: all 0.3s ease; border: 1px solid var(--holding-navy);
}
.btn-primary:hover { background: transparent; color: #ffffff; border-color: #ffffff; }

/* Ferah Hizmetler (Ana Sayfa) */
.services { padding: 120px 0; background-color: #ffffff; }
.section-title { margin-bottom: 80px; }
.section-title h2 { font-size: 2.8rem; font-weight: 600; color: var(--dark-text); letter-spacing: -1px; }
.section-title .line { width: 50px; height: 3px; background: var(--holding-navy); margin-top: 20px; }

.services-grid { display: flex; justify-content: space-between; gap: 60px; }
.service-item { flex: 1; border-top: 1px solid #eee; padding-top: 30px; transition: all 0.3s ease; }
.service-item:hover { border-top-color: var(--holding-navy); }
.service-icon { font-size: 35px; margin-bottom: 25px; color: var(--holding-navy); }
.service-item h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 600; color: var(--holding-navy); }
.service-item p { color: #555; font-size: 1.05rem; line-height: 1.8; }

/* Rakamlarla Biz (Ana Sayfa) */
.stats-section { padding: 100px 0; background-color: var(--holding-navy); color: white; }
.stats-grid { display: flex; justify-content: space-around; text-align: center; }
.stat-box h3 { font-size: 4rem; font-weight: 700; margin-bottom: 10px; color: #ffffff; }
.stat-box p { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; color: #a5b4c6; }

/* =========================================
   3. İÇ SAYFA (KURUMSAL) ŞABLONLARI
   ========================================= */
/* İç Sayfa Üst Görseli */
.page-header {
    height: 45vh; min-height: 300px; position: relative; display: flex;
    align-items: center; justify-content: center; text-align: center;
    background-color: #222; background-size: cover; background-position: center; margin-bottom: 60px;
}
.page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.page-header-content { position: relative; z-index: 2; color: #ffffff; padding-top: 50px; }
.page-header h1 { font-size: 3rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -1px; }
.page-header p { font-size: 1.1rem; color: #a5b4c6; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
.page-content { padding-bottom: 80px; }

/* Hakkımızda Sayfası Stilleri */
.about-grid { display: flex; gap: 50px; align-items: center; }
.about-text { flex: 1; }
.about-text h2 { font-size: 2.2rem; color: var(--dark-text); margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.about-text h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--holding-navy); }
.about-text p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Vizyon & Misyon Kartları */
.vm-grid { display: flex; gap: 40px; margin-top: 20px; }
.vm-card {
    flex: 1; background: #ffffff; padding: 50px 40px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 4px solid var(--holding-navy);
    text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vm-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.vm-icon { font-size: 55px; margin-bottom: 25px; display: inline-block; }
.vm-card h2 { font-size: 2rem; color: var(--dark-text); margin-bottom: 20px; }
.vm-card p { color: #555; line-height: 1.8; font-size: 1.05rem; }

/* Başkanın Mesajı Stilleri */
.chairman-section { display: flex; gap: 50px; align-items: flex-start; }
.chairman-photo { flex: 0 0 350px; }
.chairman-photo img { width: 100%; border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-bottom: 5px solid var(--holding-navy); }
.chairman-text { flex: 1; }
.chairman-text h2 { font-size: 2.2rem; color: var(--dark-text); margin-bottom: 15px; line-height: 1.3; }
.chairman-text h4 { color: var(--holding-navy); margin-bottom: 25px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.chairman-text p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.signature { margin-top: 40px; font-family: 'Georgia', serif; font-style: italic; font-size: 1.3rem; color: var(--dark-text); }
.signature strong { font-style: normal; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; display: block; margin-top: 10px; }
/* =========================================
   TARİHÇE (ZAMAN ÇİZELGESİ) STİLLERİ
   ========================================= */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Ortadan inen ana kurumsal çizgi */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--holding-navy);
    top: 0;
    bottom: 0;
    left: 40px; /* Çizgiyi sola hizalıyoruz */
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 0 20px 100px; /* İçerikleri çizginin sağına itiyoruz */
    position: relative;
    width: 100%;
}

/* Yılları işaretleyen yuvarlak noktalar */
.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 30px;
    top: 40px;
    background-color: #ffffff;
    border: 5px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(28, 124, 214, 0.2); /* Etrafında hafif bir parlama */
}

/* İçerik Kutusu */
.timeline-content {
    padding: 40px;
    background: #ffffff;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-left: 5px solid var(--holding-navy);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px); /* Üzerine gelince hafif sağa kayar */
}

.timeline-year {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--holding-navy);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.timeline-text {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}
/* =========================================
   DİL SEÇENEĞİ (EN) STİLLERİ
   ========================================= */
.lang-switch {
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 20px;
    margin-left: 10px;
    display: flex;
    align-items: center;
}
header.scrolled .lang-switch {
    border-left-color: rgba(0,0,0,0.2);
}
.lang-switch a {
    font-weight: 700 !important;
    letter-spacing: 1px;
}
/* =========================================
   SÜRDÜRÜLEBİLİRLİK SAYFASI STİLLERİ
   ========================================= */
.sustainability-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.sustainability-text { flex: 1; }
.sustainability-text h2 { font-size: 2.2rem; color: var(--holding-navy); margin-bottom: 20px; }
.sustainability-text p { font-size: 1.05rem; color: #555; line-height: 1.8; margin-bottom: 20px; }

.sustainability-image { flex: 1; }
.sustainability-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
}

/* Çevre Dostu Yeşil Kartlar */
.sus-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.sus-card {
    flex: 1;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid #27ae60; /* Doğa dostu yeşil çizgi */
    transition: transform 0.3s ease;
}

.sus-card:hover { transform: translateY(-10px); }
.sus-icon { font-size: 45px; margin-bottom: 20px; }
.sus-card h3 { font-size: 1.4rem; color: var(--holding-navy); margin-bottom: 15px; }
.sus-card p { font-size: 0.95rem; color: #666; line-height: 1.6; }
/* =========================================
   İLETİŞİM SAYFASI STİLLERİ
   ========================================= */
.contact-grid {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

/* Sol Taraf: Bilgi Kutusu */
.contact-info {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--holding-navy);
}

.contact-info h3 { font-size: 1.8rem; color: var(--holding-navy); margin-bottom: 30px; }

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f1f1;
}

.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.info-icon { font-size: 28px; margin-right: 20px; line-height: 1; }
.info-text h4 { font-size: 1.1rem; color: var(--dark-text); margin-bottom: 5px; }
.info-text p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* Sağ Taraf: İletişim Formu */
.contact-form {
    flex: 1.2;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form h3 { font-size: 1.8rem; color: var(--holding-navy); margin-bottom: 25px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #555; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--holding-navy); }

.btn-submit {
    background: var(--holding-navy); color: white; border: none; padding: 15px 30px;
    border-radius: 5px; font-weight: 600; cursor: pointer; transition: 0.3s;
    width: 100%; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
}
.btn-submit:hover { background: var(--holding-blue); }

/* Google Harita Alanı */
.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    line-height: 0;
}
.map-container iframe { width: 100%; height: 450px; border: none; }
/* =========================================
   GRUP ŞİRKETLERİ (AĞAÇ / TREE YAPISI)
   ========================================= */
.company-tree {
    padding: 60px 0 100px 0;
    text-align: center;
}

/* Çatı Firma (Özgür Group) */
.umbrella-company {
    background: var(--holding-navy);
    color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}
.umbrella-company h2 { font-size: 2.2rem; margin-bottom: 10px; letter-spacing: -1px; }
.umbrella-company p { font-size: 1.1rem; color: #a5b4c6; }

/* Dikey Ana Çizgi */
.tree-line-main {
    width: 4px;
    height: 60px;
    background: var(--holding-navy);
    margin: 0 auto;
}

/* Alt Firmalar Konteyneri ve Yatay Çizgi */
.branches-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    position: relative;
}
/* Yatay Bağlantı Çizgisi */
.branches-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16%; /* Çizginin sağ ve sol uçlarını kısaltmak için */
    right: 16%;
    height: 4px;
    background: var(--holding-navy);
}

/* Alt Firma Kartları */
.branch-card {
    flex: 1;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-top: 4px solid var(--holding-navy);
    position: relative;
    margin-top: 40px; /* Yatay çizgiden aşağı inen dikmeler için boşluk */
    transition: transform 0.3s ease;
}
.branch-card:hover { transform: translateY(-10px); }

/* Alt Kartlara İnen Dikey Çizgiler */
.branch-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: var(--holding-navy);
}

/* Alt Firma İçerikleri */
.branch-logo {
    height: 60px;
    margin-bottom: 25px;
    object-fit: contain;
    /* Eğer logo yoksa diye geçici bir stil, logo ekleyince bu filtreyi silebilirsin */
    filter: grayscale(100%) contrast(120%); 
}
.branch-card h3 { color: var(--holding-navy); margin-bottom: 15px; font-size: 1.4rem; }
.branch-card p { color: #666; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.6; }

.btn-branch {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--holding-navy);
    border: 2px solid var(--holding-navy);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-branch:hover {
    background: var(--holding-navy);
    color: white;
}
/* =========================================
   GRUP ŞİRKETLERİ (AĞAÇ / TREE YAPISI)
   ========================================= */
.company-tree {
    padding: 60px 0 100px 0;
    text-align: center;
}

/* Çatı Firma (Özgür Group) */
.umbrella-company {
    background: var(--holding-navy);
    color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}
.umbrella-company h2 { font-size: 2.2rem; margin-bottom: 10px; letter-spacing: -1px; }
.umbrella-company p { font-size: 1.1rem; color: #a5b4c6; }

/* Dikey Ana Çizgi */
.tree-line-main {
    width: 4px;
    height: 60px;
    background: var(--holding-navy);
    margin: 0 auto;
}

/* 7 kart olduğu için flex-wrap ekleyerek çoklu satıra izin veriyoruz */
.branches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    position: relative;
    padding-top: 40px;
}
/* Yatay Bağlantı Çizgisi */
.branches-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%; 
    right: 5%;
    height: 4px;
    background: var(--holding-navy);
}

/* Alt Firma Kartları (Her satırda 3 veya 4 kart olacak şekilde ayarladık) */
.branch-card {
    flex: 0 0 calc(33.333% - 40px); /* Her satırda 3 kart */
    min-width: 300px;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-top: 4px solid var(--holding-navy);
    position: relative;
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.branch-card:hover { transform: translateY(-10px); }

/* Kartın Altındaki Butonu En Alta İtmek İçin */
.branch-card p { flex-grow: 1; }

/* Alt Kartlara İnen Dikey Çizgiler */
.branch-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: var(--holding-navy);
}

/* Alt Firma İçerikleri (Renkli Logolar) */
.branch-logo {
    height: 60px;
    margin-bottom: 25px;
    object-fit: contain;
    /* DÜZELTME: Grayscale filtresi sildim, artık renkli */
}
.branch-card h3 { color: var(--holding-navy); margin-bottom: 15px; font-size: 1.4rem; }
.branch-card p { color: #666; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.6; }

.btn-branch {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--holding-navy);
    border: 2px solid var(--holding-navy);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-branch:hover {
    background: var(--holding-navy);
    color: white;
}

/* Resim yüklenmezse çıkacak yedek yuvarlak logo tasarımı */
.alt-logo {
    width: 80px;
    height: 80px;
    background: #f0f2f5;
    color: var(--holding-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 25px auto;
    border: 2px solid var(--holding-navy);
}
/* =========================================
   4. MOBİL VE TABLET UYUM (RESPONSIVE) STİLLERİ
   ========================================= */

/* --- HAMBURGER İKONU TASARIMI (Masaüstünde Gizli, Mobilde Görünür) --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 1002; /* Menünün üstünde kalması için */
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.4s ease;
}

/* Sayfa aşağı kayınca ikon rengi lacivert olsun */
header.scrolled .hamburger-menu span {
    background-color: var(--holding-navy);
}

/* Menü açıldığında ikonun "Çarpı" (X) şekline dönüşmesi */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: var(--holding-navy);
}
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--holding-navy);
}


/* =========================================
   TABLET VE MOBİL (1024px ve altı)
   ========================================= */
@media (max-width: 1024px) {
    /* 1. HEADER VE MENÜ DÜZENLEMESİ */
    .hamburger-menu { display: flex; }

    /* Sağdan kayarak açılan mobil menü paneli */
    #mainNav {
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekranın dışında saklı */
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1001;
        padding-top: 100px;
        overflow-y: auto;
    }
    
    /* JavaScript "active" sınıfını ekleyince menü ekrana girer */
    #mainNav.active { right: 0; } 

    .nav-menu { flex-direction: column; gap: 0; align-items: flex-start; }
    .nav-menu li { width: 100%; border-bottom: 1px solid #f1f1f1; }
    .nav-menu li a {
        color: var(--holding-navy) !important;
        padding: 18px 30px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }

    /* Mobilde Açılır Menü (Dropdown) Akordeon Mantığı */
    .dropdown-menu {
        position: static; /* Mobilde absolute olmaz, sayfayı aşağı iter */
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border-top: none; 
        background-color: var(--light-gray);
        display: none; /* JS ile açılana kadar gizli */
        padding: 0;
    }
    .dropdown.mobile-open .dropdown-menu { display: block; }
    .dropdown-menu li a { padding: 12px 30px 12px 50px; font-size: 15px; }
    
    .lang-switch { border-left: none; padding-bottom: 30px; }


    /* 2. TÜM GRİDLERİ (YAN YANA KUTULARI) ALT ALTA DİZME */
    .about-grid, .vm-grid, .chairman-section, .sustainability-content, 
    .contact-grid, .services-grid, .sus-grid {
        flex-direction: column;
        gap: 40px;
    }
    .chairman-photo { flex: 0 0 auto; width: 100%; }
    
    /* 3. İSTATİSTİKLER VE ŞİRKETLER AĞACI DÜZENİ */
    .stats-grid { flex-wrap: wrap; gap: 40px; }
    .stat-box { flex: 0 0 40%; } /* İkili ikili dizilsin */

    .branches-grid::before { display: none; } /* Mobilde yatay bağlama çizgisi mantıksız */
    .branch-card { flex: 0 0 100%; min-width: 100%; margin-top: 20px; }
    .branch-card::before { display: none; } /* Üstten inen dikmeleri kaldır */

    /* 4. TARİHÇE ÇİZGİSİNİ SOLA DAYAMA */
    .timeline::after { left: 20px; }
    .timeline-item { padding-left: 50px; }
    .timeline-dot { left: 8px; width: 20px; height: 20px; top: 35px; }
    .timeline-content { padding: 25px; }
}


/* =========================================
   STANDART TELEFONLAR (768px ve altı)
   ========================================= */
@media (max-width: 768px) {
    /* Başlıkları ve yazıları küçük ekrana sığdır */
    .hero h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .hero p { font-size: 1.1rem; margin-bottom: 30px; }
    .section-title h2 { font-size: 2.2rem; }
    .page-header h1 { font-size: 2.2rem; }
    
    .container { padding: 0 20px; } /* Kenar boşluklarını daralt */
    
    .stat-box { flex: 0 0 100%; } /* İstatistikleri tek sütuna düşür */
    .vm-card { padding: 30px 20px; }
    
    /* İletişim Formu ve Harita */
    .contact-info, .contact-form { padding: 30px 20px; }
    .map-container iframe { height: 350px; }
}

/* =========================================
       ANA SAYFA KESİN MOBİL DÜZELTMELERİ (TAŞMAYI ENGELLER)
       ========================================= */
    @media (max-width: 768px) {
        /* 1. Harita ve İstatistik Alanı (Asıl Suçlu) */
        .footprint-container { flex-direction: column; padding: 0 20px !important; }
        .footprint-info { min-width: 100% !important; padding-right: 0 !important; text-align: center; }
        .footprint-stats { flex-direction: column; gap: 20px; align-items: center; margin-bottom: 30px; }
        .footprint-map-area { min-width: 100% !important; min-height: 250px !important; margin-top: 20px; }

        /* 2. Sürdürülebilirlik Teaser */
        .sus-teaser-img, .sus-teaser-content { min-width: 100% !important; padding: 40px 20px !important; }
        .sus-teaser-content h2 { font-size: 1.8rem !important; }

        /* 3. Tarihçe Akordeonu (Telefonda devasa olmasını engeller) */
        .history-accordion { height: 700px !important; }
        .h-item { flex: 1 !important; }
        .h-item:hover { flex: 2 !important; } /* Mobilde çok fazla açılmasın */
        .h-year { font-size: 1rem !important; top: 10px !important; left: 10px !important; }
        .h-item:hover .h-year { font-size: 1.2rem !important; top: 10px !important; left: 10px !important; }
        .h-title { font-size: 1rem !important; margin-bottom: 5px !important; }
        .h-text { font-size: 0.8rem !important; line-height: 1.3 !important; }
        .accordion-header h2 { font-size: 1.8rem !important; }

        /* 4. İnsan Kaynakları Alanı */
        .hr-life-container { margin: 0 !important; }
        .hr-life-left { padding: 40px 20px !important; border-radius: 0 !important; text-align: center; }
        .hr-life-left h2 { font-size: 2rem !important; }
        .hr-life-left p { font-size: 1rem !important; }
        .btn-hr-light { margin: 0 auto; }
        .hr-img-wrapper img { border-radius: 0 !important; }
        .hr-life-footer { margin-top: 30px !important; padding: 0 20px !important; text-align: center; }
        .hr-footer-content { padding-left: 0 !important; }
        .hr-footer-arrow { display: none; } /* Mobilde oku gizle, yer kaplamasın */
        
        /* 5. İstatistikler (En Üstteki 4'lü Rakamlar) */
        .stats-grid { flex-direction: column; gap: 30px; }
        .stat-box h3 { font-size: 2.5rem !important; }
    }
    /* =========================================
   HAYALET TAŞMAYI ENGELLEYEN BALYOZ KODU
   ========================================= */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    /* 1. Tüm ana taşıyıcıları %100 genişliğe kilitle ve taşmayı yasakla */
    .container, .hero-content, .nav-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 2. Uzun metinlerin ekranı esnetmesini engelle */
    p, h1, h2, h3, h4, a {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* 3. Hero bölümündeki yazıyı telefona uygun zarif hale getir */
    .hero h1 {
        font-size: 2.2rem !important;
    }
    .hero p {
        font-size: 1.05rem !important;
        padding-right: 10px !important; /* Sağdan hafif boşluk bırak */
    }

    /* 4. Hamburger Menüyü Kesin Olarak Sağ Üste Sabitle */
    .hamburger-menu {
        position: absolute;
        right: 20px;
        top: 25px;
    }
}