/* GENEL AYARLAR */
:root {
    --primary-color: #E65525; /* Güryap Turuncusu */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* NAVBAR TASARIMI */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    position: fixed; /* Sayfa kayınca sabit kalacak */
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98); /* Hafif şeffaf beyaz */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%; 
}

.logo img {
    height: 40px; /* Logo boyutu */
}

/* Nav Link Düzenlemesi - GÜNCELLENDİ */
.nav-links {
    display: flex;
    align-items: center;
    height: 100%; /* Link kutusunun yüksekliğini de fulledik */
}

.nav-links > a,
.nav-links > .dropdown > a {
    margin: 0 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

/* ------------------------------------- */

/* Menü altındaki turuncu çizgi efekti */
.nav-links > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 25px; /* Çizgiyi biraz yukarı taşıdık */
    left: 0;
    transition: 0.3s;
}

.nav-links > a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.cta-button:hover {
    background-color: #c9461d;
    transform: translateY(-2px); /* Buton hafif yukarı kalkar */
}

/* ========================================= */
/* DROPDOWN (AÇILIR MENÜ) STİLLERİ */
/* ========================================= */
.dropdown {
    position: relative;
    display: flex; /* Flex yaptık */
    align-items: center; /* Dikeyde ortaladık */
    height: 100%; /* Yüksekliği fulledik */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 9999;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 5px 5px;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin: 0;
    font-size: 13px;
    text-transform: capitalize; /* Sadece baş harf büyük */
    border-bottom: 1px solid #f1f1f1;
    
    /* Dropdown içindeki linklerin yüksekliğini sıfırladık */
    height: auto; 
    display: block; 
}

.dropdown-content a::after {
    display: none; /* Dropdown içinde alt çizgi olmasın */
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    padding-left: 20px; /* Sağa kayma efekti */
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}


/* ========================================= */
/* HERO SECTION (GİRİŞ) - ÇOK HAFİF GÖLGE */
/* ========================================= */
.hero {
    height: 100vh; /* Tam ekran */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; /* Taşmaları gizle */
    margin-top: 0;
    z-index: 1;
}

/* Arka plana gelen resim */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi ekrana tam sığdır */
    object-position: center;
    z-index: -2; /* En arkada */
}

/* --- YENİ DÜZENLEME: SADECE SOL TARAFA HAFİF GÖLGE --- */
.hero-overlay {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* DİKKAT: %60 koyulukta başlayıp, %40 genişliğe gelince tamamen bitiyor */
    /* Böylece sağ taraftaki binalar tertemiz kalıyor */
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 45%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Çok hafif gölge */
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 500px;
    margin-bottom: 35px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(230, 85, 37, 0.4);
}

.btn-primary:hover {
    background-color: #c9461d;
    transform: translateY(-3px);
}

/* Tanıtım Filmi Butonu Ayarları */
.btn-text {
    font-weight: 600;
    color: #ffffff; /* Varsayılan renk: Beyaz */
    font-size: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* Okunması için gölge */
    transition: all 0.3s ease; /* Renk değişimi yumuşak olsun */
    text-decoration: none;
    height: auto;
    display: inline-block;
}

/* Mouse ile üzerine gelince (Hover) */
.btn-text:hover {
    /* !important komutu, HTML'deki beyaz rengi ezip TURUNCU yapar */
    color: var(--primary-color) !important; 
    text-shadow: 0 2px 20px rgba(230, 85, 37, 0.6); /* Turuncu hafif bir parlama ekledim */
    transform: translateX(5px); /* Üzerine gelince hafif sağa kaysın */
}

/* ========================================= */
/* İSTATİSTİK BANDI TASARIMI */
/* ========================================= */
.stats-section {
    background-color: var(--white);
    padding: 50px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    margin-top: -60px; /* Hero'nun üzerine hafif bindirme */
    z-index: 10;
    border-radius: 8px 8px 0 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================= */
/* HAKKIMIZDA BÖLÜMÜ STİLLERİ */
/* ========================================= */
.about-summary {
    padding: 100px 0;
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(230, 85, 37, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.about-text {
    flex: 1;
}

.sub-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-list {
    list-style: none;
    margin: 25px 0 35px 0;
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* ALT SAYFALAR İÇİN BAŞLIK (Page Header) */
.page-header {
    background-color: #f4f4f4;
    padding: 120px 0 60px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.page-header h1 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section {
    padding: 60px 0;
    min-height: 400px;
}

/* MOBİL UYUM (Responsive) */
@media (max-width: 768px) {
    .navbar { height: auto; padding: 15px 0; }
    .nav-container { flex-direction: column; }
    
    .nav-links { 
        flex-direction: column; 
        margin-top: 15px;
        height: auto; /* Mobilde yükseklik otomatk olsun */
    }
    
    .nav-links a, .dropbtn { 
        margin: 5px 0; 
        height: auto; /* Mobilde yükseklik otomatk olsun */
        padding: 10px 0; /* Mobilde biraz boşluk verelim */
    }
    
    .dropdown { height: auto; } /* Mobilde yükseklik otomatk olsun */
    
    .dropdown-content { position: relative; width: 100%; border-top: none; }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    .stats-section { margin-top: 0; border-radius: 0; width: 100%; }
    .stat-item { margin-bottom: 20px; }
    
    .about-container { flex-direction: column; }
    .experience-badge { right: 10px; bottom: 10px; padding: 15px; }
    .experience-badge .years { font-size: 2rem; }
}

/* --- HAKKIMIZDA SAYFASI ÖZEL TASARIMLARI --- */

.about-detail {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-detail-text {
    flex: 1;
}

.about-detail-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-detail-img {
    flex: 1;
}

.about-detail-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Vizyon & Misyon Kutuları */
.vision-mission-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.vm-container {
    display: flex;
    gap: 30px;
}

.vm-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: 0.3s;
}

.vm-box:hover {
    transform: translateY(-5px);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vm-box h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Değerler Bölümü */
.values-section {
    padding: 80px 0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.value-item {
    background: var(--white);
    border: 1px solid #eee;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    font-size: 1.1rem;
}

.value-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* --- PROJELER SAYFASI TASARIMI --- */

.project-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.cat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.project-img {
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 5px;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================= */
/* --- İLETİŞİM SAYFASI TASARIMI - GRID SİSTEMİ --- */
/* ========================================= */

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Flex yerine GRID kullanıyoruz. Bu, iki kutunun eşit boyda olmasını garanti eder */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Sol: 1 birim, Sağ: 1.5 birim genişlik */
    gap: 50px;
    align-items: stretch; /* Her iki kutuyu da en uzunun boyuna çek */
}

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%; /* Grid hücresinin tamamını kapla */
}

.contact-info h2 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 20px;
    background: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-item .details {
    display: flex;
    flex-direction: column;
}

.info-item .details strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item .details span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Harita Alanı */
.contact-map {
    width: 100%;
    height: 100%; /* Grid hücresinin tam yüksekliğini al */
    min-height: 500px; /* En az 500px yükseklik */
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%; /* Kapsayıcının (contact-map) boyunu tam doldur */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    display: block; /* Alt boşluk oluşmasını engeller */
    object-fit: cover;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr; /* Tek sütuna düş */
        display: flex; /* Mobilde Flex'e dön */
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-map iframe {
        height: 400px; /* Mobilde harita boyu sabitlensin */
        min-height: auto;
    }
}

/* --- FOOTER TASARIMI --- */
.site-footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding-top: 70px;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-col {
    flex: 1.5;
}

.footer-col h3 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: inline-block;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 35px;
    display: block;
    filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 1px #ffffff);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    transition: 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.footer-contact-item .contact-icon {
    color: var(--primary-color); 
    font-size: 1.2rem;
    margin-top: 3px; 
    width: 20px; 
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    background-color: #333;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 1rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    font-size: 0.85rem;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-links a {
    color: #888;
    margin-left: 20px;
}

.bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; }
    .bottom-container { flex-direction: column; text-align: center; }
    .bottom-links a { margin: 0 10px; }
}

/* --- TEKLİF AL SAYFASI TASARIMI --- */
.offer-section {
    padding: 80px 0;
    background-color: var(--white);
}

.offer-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.offer-content { flex: 1; }

.offer-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.offer-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.offer-features { margin-top: 30px; }

.feat-item {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.offer-form-wrapper {
    flex: 1;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
    background-color: #fff;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 85, 37, 0.1);
}

.form-group input::placeholder, 
.form-group textarea::placeholder { color: #bbb; }

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #c9461d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 85, 37, 0.3);
}

@media (max-width: 768px) {
    .offer-container { flex-direction: column; }
    .form-row { flex-direction: column; gap: 20px; }
}

/* --- ZAMAN ÇİZELGESİ (TIMELINE) --- */
.timeline-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ddd;
    border-radius: 2px;
}

.timeline-row {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-row:last-child { margin-bottom: 0; }

.timeline-time {
    position: relative;
    min-width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 5px #fff, 0 5px 15px rgba(230, 85, 37, 0.4);
}

.timeline-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-left: 40px;
    flex: 1;
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before { left: 30px; }
    .timeline-time {
        min-width: 60px;
        height: 60px;
        font-size: 1rem;
        box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(230, 85, 37, 0.4);
    }
    .timeline-content { margin-left: 20px; padding: 15px; }
}

/* --- SAYFA İÇİ GİRİŞ METİNLERİ --- */
.page-intro-text {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-intro-text p { margin-bottom: 20px; }
.page-intro-text strong { color: var(--primary-color); font-weight: 700; }

.intro-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 30px auto 0 auto;
    border-radius: 2px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-intro-text { padding: 0 15px; font-size: 1rem; margin-bottom: 30px; }
}

/* --- HİZMET KUTULARI (YAN YANA) --- */
.services-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 20px;
    width: 100%;
}

.service-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-box .icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .services-grid { flex-wrap: wrap !important; }
    .service-box { min-width: 100%; }
}

/* --- PROJE HEADER DÜZENİ --- */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; align-items: flex-start !important; gap: 20px; }
    .project-grid { flex-direction: column; align-items: center; }
    .project-card { width: 100%; }
}

/* --- IŞILTI ANİMASYONU --- */
.value-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: none;
    z-index: -1;
}

.value-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(230, 85, 37, 0.3);
}

.value-item:hover::after {
    left: 150%;
    transition: 0.6s ease;
}

/* --- YUKARI ÇIK BUTONU --- */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: #333;
    transform: translateY(-5px);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-logo img {
    width: 150px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- SCROLL ANİMASYONU --- */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* --- VIDEO POPUP --- */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-video:hover { color: var(--primary-color); }

/* --- ALT SAYFALAR BAŞLIK ARKAPLANI --- */
.page-header-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 80px 0;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.page-header-bg h1, 
.page-header-bg p {
    color: #ffffff !important; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-header-bg h1 {
    margin-bottom: 10px;
    font-size: 3rem;
}

.page-header-bg p {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* --- KESİN SLIDER ÇÖZÜMÜ --- */
#kesin-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 30px;
    padding: 20px 10px;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
}

#kesin-slider::-webkit-scrollbar { display: none; }

#kesin-slider .project-card {
    min-width: 350px !important;
    width: 350px !important;
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
    display: block !important;
}

@media (max-width: 768px) {
    #kesin-slider .project-card {
        min-width: 280px !important;
        width: 280px !important;
    }
    .ozel-ok-btn { display: none !important; }
}

.ozel-ok-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: #E65525;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.ozel-ok-btn:hover {
    background: #333;
    transform: translateY(-50%) scale(1.1);
}

.ozel-ok-btn.prev { left: -20px; }
.ozel-ok-btn.next { right: -20px; }

/* ========================================= */
/* KURUMSAL SAYFASI KART TASARIMI (HUB)      */
/* ========================================= */

.corporate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.corp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.corp-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.corp-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(230, 85, 37, 0.1); /* Hafif turuncu zemin */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.corp-card:hover .corp-icon {
    background: var(--primary-color);
    color: #fff;
}

.corp-content h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.corp-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.corp-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto; /* En alta it */
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Özel Vurgulu Kart (Bize Ulaşın gibi) */
.highlight-card {
    background-color: #fcfcfc;
    border-color: #eee;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .corporate-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}
/* ========================================= */
/* YAN MENÜ (NESTED DROPDOWN) AYARLARI        */
/* ========================================= */

/* Yan menüyü kapsayan kutu */
.nested-dropdown {
    position: relative; /* Alt menüyü buna göre hizalayacağız */
    height: 100%; /* Yüksekliği fulledik */
    display: flex;
    align-items: center;
}

/* Yan menü açılır kutusu (Başlangıçta gizli) */
.nested-dropdown-content {
    display: none;
    position: absolute;
    left: 100%; /* Ana menünün tam SAĞINA yapıştır */
    top: 0;     /* Üst hizayı eşitle */
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 3px solid var(--primary-color); /* Turuncu çizgi */
    border-radius: 0 0 5px 5px;
    margin-left: 2px; /* Hafif bir boşluk */
}

/* Link stilleri (Ana dropdown ile aynı olsun) */
.nested-dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.3s;
    height: auto; /* Kendi içlerinde yükseklik sıfırlandı */
    display: block;
}

/* Hover (Üzerine gelince) Efektleri */
.nested-dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    padding-left: 20px;
}

/* "Tamamlanan Projeler"in üstüne gelince listeyi göster */
.nested-dropdown:hover .nested-dropdown-content {
    display: block;
}

/* Mobil uyumluluk: Mobilde yan değil aşağı açılsın veya gizlensin */
@media (max-width: 768px) {
    .nested-dropdown.active .nested-dropdown-content {
    display: block;
        position: relative;
        left: 0;
        box-shadow: none;
        border-top: none;
        padding-left: 20px; /* İçeri girintili olsun */
        background-color: #f9f9f9;

    }
}
/* ========================================= */
/* GRUP ŞİRKETLERİ SAYFASI TASARIMI          */
/* ========================================= */

.companies-section {
    padding: 80px 0;
    background-color: #fff;
}

.companies-grid {
    display: grid;
    /* Ekran genişliğine göre otomatik sığdırır (en az 300px genişlik) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

.company-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none; /* Link alt çizgisini kaldır */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Kartların boyunu eşitle */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* Hover (Üzerine gelince) Efekti */
.company-card:hover {
    transform: translateY(-7px); /* Yukarı doğru hafif kayma */
    border-color: var(--primary-color); /* Kenarlık turuncu olsun */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Yazı Alanı */
.company-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* İçeriği aşağı kadar it */
}

.company-info h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.company-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* "Siteye Git" Linki */
.visit-link {
    margin-top: auto; /* En alta sabitle */
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.visit-link i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.company-card:hover .visit-link {
    color: #c9461d; /* Koyu turuncu */
}

.company-card:hover .visit-link i {
    transform: translateX(5px); /* Ok işareti sağa kaysın */
}

/* ========================================= */
/* YATAY TARİHÇE SLIDER TASARIMI             */
/* ========================================= */

.timeline-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.timeline-container {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
}

/* Yıllar Şeridi (O kısım şu an yapışık duruyor, bunu düzeltecek) */
.timeline-years-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-years {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    width: 100%;
    scrollbar-width: none; /* Scrollbar'ı gizle */
}

/* Chrome/Safari için scrollbar gizleme */
.timeline-years::-webkit-scrollbar {
    display: none;
}

.year-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    user-select: none; /* Yazı seçilmesin */
}

.year-item:hover {
    color: #e94d1c; /* Senin turuncu rengin */
    background: #fff;
}

.year-item.active {
    color: #fff;
    background-color: #e94d1c;
    box-shadow: 0 4px 10px rgba(233, 77, 28, 0.3);
    transform: scale(1.05);
}

/* Ok Butonları */
.nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: #e94d1c;
    color: #fff;
    border-color: #e94d1c;
}

/* İçerik Kartı */
.timeline-content-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    border-top: 4px solid #e94d1c;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* İçeriği alt alta hizala */
}

.timeline-card {
    width: 100%;
    transition: all 0.3s ease;
}

.year-badge {
    display: inline-block;
    background: #ffeadd;
    color: #e94d1c;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.timeline-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.timeline-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}



/* ================================================================= */
/* --- GÜRYAP FİNAL LOGO RESTORASYONU (DÜZELTİLMİŞ VERSİYON) --- */
/* ================================================================= */

/* 1. LOGO KUTUSU GENEL YAPISI (HİÇBİR ŞEYİ BOZMAZ) */
.company-logo-wrapper {
    height: 180px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;        
    overflow: hidden !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* 2. TÜM LOGOLAR İÇİN STANDART AYAR */
.company-logo-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* RESMİ KUTUYA SIĞDIR (Asla kesmez) */
    transform: none !important; 
    transition: transform 0.3s ease !important;
}

/* ---------------------------------------------------------------- */
/* 3. SENASS PIZZA (KESİLME SORUNU DÜZELTİLDİ) */
/* ---------------------------------------------------------------- */
/* Siyah zemin kalmalı */
.company-card:has(img[src*="senass"]) .company-logo-wrapper {
    background-color: #151515 !important;
    padding: 0 !important;
}

/* ÖNEMLİ DÜZELTME: Cover yerine CONTAIN kullanıyoruz */
img[src*="senass"] {
    object-fit: contain !important; /* Kenarları kesmeyi engeller */
    padding: 25px !important; /* Kenarlardan biraz boşluk bırakır */
    transform: scale(1.1) !important; /* Hafifçe büyütür ki çok küçük kalmasın */
}

/* ---------------------------------------------------------------- */
/* 4. BOYUT DENGELEME AYARLARI */
/* ---------------------------------------------------------------- */

/* EURASIA: Çok küçük kalıyordu -> %90 BÜYÜTÜYORUZ */
img[src*="eurasia"] {
    transform: scale(1.9) !important; /* 1.5 yetmedi, 1.9 yaptık */
}

/* ADS: Çok büyüktü -> KÜÇÜLTÜYORUZ */
img[src*="ads"] {
    transform: scale(0.85) !important; /* Diğerleriyle aynı hizaya iner */
}

/* ÖZGÜR: Standart kalsın veya çok hafif büyüsün */
img[src*="ozgur"] {
    transform: scale(1.0) !important; /* Orijinal hali gayet iyi */
}

/* DİĞERLERİ (TSA, FLIQA) */
img[src*="fliqa"], img[src*="travel"] {
    transform: scale(1.15) !important; /* Bunlar ideal duruyor */
}
/* ============================================================ */
/* --- KESİN ÇÖZÜM: KARTLARI VE BUTONLARI EŞİTLEME V2 --- */
/* ============================================================ */

/* 1. Dış Kapsayıcı (Grid) Ayarı - YAN YANA 3 KART İÇİN DÜZELTİLDİ */
.companies-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; /* Yan yana 3 kart olmasını sağlar */
    gap: 30px !important; /* Kartlar arası boşluk */
    align-items: stretch !important; /* Tüm kartların boyunu eşit tutar */
}

/* 2. Kartın Kendisi (Dış Çerçeve) */
.company-card {
    height: auto !important;        /* Yüksekliği serbest bırak */
    min-height: 100% !important;    /* Ama en az kapsayıcısı kadar olsun */
    display: flex !important;       /* İçeriği yönetmek için flex aç */
    flex-direction: column !important; /* Alt alta diz */
}

/* 3. Yazı Alanı (SİHİRLİ KISIM) */
/* Bu kısım çok önemli: Yazı alanına "büyüyeabildiğin kadar büyü" diyoruz */
.company-info {
    flex: 1 1 auto !important;      /* Boş kalan tüm alanı burası kaplasın */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Yazıları yukarı yasla */
}

/* 4. Buton (En Alta Yapıştırma) */
/* Yazı alanı büyüdüğü için butonu otomatik olarak en alta iter */
.visit-link {
    margin-top: auto !important;    /* Kendinden önceki her şeyden kaçıp en alta iner */
    padding-top: 20px !important;   /* Yazı ile arasına biraz nefes payı koyar */
}
/* ============================================================ */
/* --- DEĞERLERİMİZ (VİZYON) KUTULARINI KİBARLAŞTIRMA --- */
/* ============================================================ */

/* 1. O KOCA GENİŞLİĞİ İPTAL ET */
/* Diğer kartlar 320px kalsın ama bunlar içeriğe göre küçülsün */
.value-item {
    width: auto !important;         /* Sabit 320px genişliği burası için kaldır */
    min-width: 200px !important;    /* Çok da büzüşmesin, standart bir genişlik */
    max-width: 300px !important;    /* Çok uzamasın */
    flex: 0 1 auto !important;      /* Gerektiğinde küçülebilsin */
}

/* 2. İÇ BOŞLUKLARI VE YAZIYI KÜÇÜLT */
/* O devasa padding ve fontu kısıyoruz */
.value-item {
    padding: 12px 25px !important;  /* Daha ince, zarif kutular */
    font-size: 0.95rem !important;  /* Yazı boyutu idealleşti */
    border-radius: 50px !important; /* Tam oval (hap) görünüm */
}

/* 3. ARALARINDAKİ BOŞLUĞU DARALT */
.values-grid {
    gap: 15px !important; /* Kutular birbirine daha yakın dursun */
}
/* ============================================================ */
/* --- KESİN ÇÖZÜM: PROJE KATEGORİLERİ "İNCELE" RENGİ --- */
/* ============================================================ */

/* 1. HEDEFİ DOĞRU SEÇELİM: Category Card içindeki linkler */
.category-card a,
.category-card .btn-text {
    color: var(--primary-color) !important; /* Normalde TURUNCU olsun */
    text-shadow: none !important;           /* Gölgeyi kaldıralım, net olsun */
    opacity: 1 !important;                  /* Tam görünür olsun */
    font-weight: 700 !important;            /* Yazı kalın olsun */
    text-decoration: none !important;
}

/* 2. ÜZERİNE GELİNCE (HOVER) */
.category-card a:hover, 
.category-card .btn-text:hover {
    /* DİKKAT: Arkaplan beyaz olduğu için yazıyı beyaz yaparsak görünmez. */
    /* Onun yerine koyu turuncu yapıp sağa kaydıralım */
    color: #c9461d !important;             /* Daha koyu bir turuncu */
    transform: translateX(5px) !important; /* Sağa doğru hareket etsin */
    text-shadow: 0 0 1px rgba(0,0,0,0.1) !important;
}
/* ============================================================ */
/* --- ANA SAYFA HİZMETLER (2x2 DÜZENİ) --- */
/* ============================================================ */

/* Hizmet kutularını kapsayan kutunun genişliğini kısıtlıyoruz */
.services-grid {
    max-width: 750px !important;  /* Genişliği kıstık: 3. kutu yanlarına sığamaz, alta geçer */
    margin-left: auto !important; /* Tüm grubu sayfanın ortasına hizalar */
    margin-right: auto !important;
}
/* ============================================================ */
/* --- FAALİYET ALANLARI (2x2 DÜZENİ) - KESİN ÇÖZÜM --- */
/* ============================================================ */

/* 1. Kapsayıcı Kutuya (id="ikili-duzen") Ayar Veriyoruz */
#ikili-duzen {
    display: flex !important;
    flex-wrap: wrap !important;        /* Sığmayan aşağı geçsin */
    justify-content: center !important; /* Ortala */
    gap: 30px !important;              /* Aralarına boşluk koy */
    max-width: 800px !important;       /* Genişliği kısıtla ki yan yana 3 tane sığamasın */
    margin: 40px auto !important;      /* Sayfada ortala */
}

/* 2. Kartların Kendisine (%50 Genişlik) Ayarı */
#ikili-duzen .category-card {
    width: calc(50% - 30px) !important; /* Ekranın tam yarısı (boşluk düşünce) */
    min-width: 300px !important;        /* Çok küçülmesin */
    max-width: none !important;         /* Eski sınırları kaldır */
    flex: 0 0 auto !important;          /* Esneme yapma, dediğim boyutta kal */
    margin: 0 !important;               /* Dış boşluğu sıfırla (gap hallediyor) */
}
/* ============================================================ */
/* --- İLETİŞİM SAYFASI: KART VE HARİTA BOYUNU EŞİTLEME --- */
/* ============================================================ */

/* 1. Ana Kapsayıcıyı Ayarlıyoruz */
.contact-container {
    display: flex !important;       /* Yan yana diz */
    align-items: stretch !important; /* KİLİT NOKTA: İçindekileri en uzunun boyuna çek */
    gap: 50px !important;           /* Aralarındaki boşluk */
    flex-wrap: wrap !important;     /* Mobilde alt alta geçebilsin */
}

/* 2. Sol (Bilgi) ve Sağ (Harita) Kutularının Ayarı */
.contact-info,
.contact-map {
    flex: 1 !important;             /* Eşit genişlikte alan kaplasınlar */
    height: auto !important;        /* Yükseklik serbest olsun */
    min-height: 500px !important;   /* En azından bu kadar bir boyları olsun */
    display: flex !important;       /* İçeriği yönetmek için flex aç */
    flex-direction: column !important;
}

/* 3. Haritanın Kendisini Kutuya Yayma */
.contact-map iframe {
    width: 100% !important;         /* Genişliği full'le */
    height: 100% !important;        /* KİLİT NOKTA: Kapsayıcının tüm yüksekliğini kapla */
    flex: 1 !important;             /* Kalan tüm alanı doldur */
    border-radius: 8px !important;  /* Köşeleri yuvarla */
    display: block !important;
}
/* ============================================================ */
/* --- TEKLİF AL FORMU %100 GARANTİLİ DÜZELTME (CALC) --- */
/* ============================================================ */

/* 1. Yan Yana Gelecek Olan Satır (Ad, Soyad - Telefon) */
.form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important; /* Aradaki boşluk 20px */
    width: 100% !important;
    margin-bottom: 20px !important; /* Alt satırla mesafe */
}

/* 2. O Satırın İçindeki Kutular (Ad ve Telefon) */
.form-row .form-group {
    /* MATEMATİK: Ekranın yarısı (%50) EKSİ boşluğun yarısı (10px) */
    /* Bu sayede 50% + 50% + 20px Boşluk = Tam %100 eder. Taşma imkansızdır. */
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
}

/* 3. Tek Başına Duranlar (Email, Adres, Mesaj) */
/* Formun içindeki, ama .form-row içinde OLMAYAN diğer tüm gruplar */
.offer-form > .form-group {
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* 4. Tüm Inputların (Kutucukların) Ayarı */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100% !important;           /* Kendi kutunu tam doldur */
    box-sizing: border-box !important; /* Padding'i genişliğe dahil et (Taşmayı önleyen kilit kod) */
    height: 50px !important;          /* Standart yükseklik */
}

/* Mesaj kutusu daha yüksek olsun */
.form-group textarea {
    height: 120px !important;
}

/* 5. Mobilde (Telefonda) Alt Alta Geçsinler */
@media (max-width: 768px) {
    .form-row .form-group {
        flex: 0 0 100% !important; /* Mobilde genişlik %100 olsun */
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* ============================================================ */
/* --- FOOTER LOGO PARLAKLIĞI KALDIRMA (GÜVENLİ ÇÖZÜM) --- */
/* ============================================================ */

/* Bu kod sadece parlaklık filtresini iptal eder, logonun boyutuna asla dokunmaz */
.footer-logo img {
    filter: none !important; /* O beyaz parlaklık efektini kapatır */
}
/* --- DİL SEÇENEĞİ (TR/EN) TAM UYUMLU --- */
.lang-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.lang-link {
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important; /* Menüdeki gibi büyük harf yapar */
    color: var(--text-dark) !important; /* DİĞER LİNKLERLE AYNI RENK OLDU */
    transition: color 0.3s ease !important;
}

/* Seçili (Aktif) Dil */
.lang-link.active {
    color: var(--primary-color) !important; /* Senin ana turuncu rengin */
}

/* Aradaki Çizgi */
.lang-switcher .divider {
    color: var(--text-dark) !important;
    opacity: 0.3;
    font-size: 14px;
}

/* Üzerine gelince turuncu olsun */
.lang-link:hover {
    color: var(--primary-color) !important;
}
/* =========================================
   VİDEOLU HERO ALANI DÜZELTMESİ (BAŞLANGIÇ)
   ========================================= */

/* Ana Kapsayıcı: Ekranı kaplasın ve içindekileri hizalasın */
.hero-video-section {
    position: relative; /* İçindeki absoluteleri tutmak için şart */
    width: 100%;
    height: 100vh; /* Tam ekran yüksekliği */
    display: flex;
    align-items: center; /* Dikey ortala */
    justify-content: center; /* Yatay ortala */
    overflow: hidden; /* Taşmaları gizle */
    text-align: center;
    color: #fff;
    margin-top: -80px; /* Navbar şeffafsa yukarı çekmek için (Nav yüksekliğine göre ayarla) */
    padding-top: 80px; /* İçeriği ezmemesi için */
}

/* Video ve Overlay Kapsayıcısı: En arkaya gitmeli */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* En arkaya atar */
}

/* Videonun Kendisi */
#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görüntüyü bozmadan alanı doldurur */
    display: block;
}

/* Siyah Filtre (Yazı okunsun diye) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* %40 Siyahlık */
    z-index: 1;
}

/* Yazı İçeriği: En önde olmalı */
.hero-content {
    position: relative;
    z-index: 2; /* Filtrenin üstüne çıkar */
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 35px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* Butonlar */
.hero-buttons a {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
}

.hero-buttons .btn-primary {
    background-color: #E65525; /* Güryap Turuncusu */
    color: #fff;
    border: 2px solid #E65525;
}

.hero-buttons .btn-primary:hover {
    background-color: #c44015;
    border-color: #c44015;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn-secondary:hover {
    background-color: #fff;
    color: #333;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-video-section { height: 100vh; } /* Mobilde de tam ekran */
}

/* =========================================
   VİDEOLU HERO ALANI DÜZELTMESİ (BİTİŞ)
   ========================================= */
   /* İKON KUTUSU TASARIMI - GÜNCELLENDİ */
.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(230, 85, 37, 0.1); /* Turuncunun çok açık tonu (Arkaplan) */
    border-radius: 50%; /* Tam yuvarlak yapar */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto; /* Ortalar ve alttan boşluk verir */
    transition: all 0.3s ease;
}

.icon-box i {
    font-size: 32px; /* İkon boyutu */
    color: var(--primary-color); /* İkonun kendi rengi (Turuncu) */
    transition: all 0.3s ease;
}

/* Kutuya mouse ile gelince (Hover) */
.service-box:hover .icon-box {
    background-color: var(--primary-color); /* Arkaplan turuncu olur */
    transform: scale(1.1); /* Hafif büyür */
    box-shadow: 0 10px 20px rgba(230, 85, 37, 0.4); /* Gölge ekler */
}

.service-box:hover .icon-box i {
    color: #ffffff; /* İkon beyaz olur */
}
/* ========================================= */
/* MOBİL MENÜ DÜZELTMESİ (SON HALİ)          */
/* ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. Menü Linklerini Başlangıçta GİZLE */
    .nav-links {
        display: none; /* Gizli olsun */
        position: absolute;
        top: 100%; /* Navbar'ın hemen altına insin */
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Arka plan beyaz olsun (Yazıların üstüne binmesin) */
        flex-direction: column; /* Alt alta dizilsin */
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Hafif gölge */
        z-index: 9999;
    }

    /* 2. JavaScript ile 'active' sınıfı eklenince GÖSTER */
    .nav-links.active {
        display: flex; /* Görünür yap */
    }

    /* 3. Linklerin duruşunu düzelt */
    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
        display: block;
        width: 100%;
        text-align: center; /* Ortala */
        color: #333; /* Yazı rengi siyah */
    }

    /* 4. Dropdown (Alt Menü) Mobilde Nasıl görünsün? */
    .dropdown-content {
        position: relative; /* Altına açılsın */
        box-shadow: none;
        background-color: #f9f9f9;
        width: 100%;
    }
}
/* ===============================
   GLOBAL FIX
================================ */

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ===============================
   MOBILE NAV FIX (JS UYUMLU)
================================ */

#mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    #mobile-menu {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
}

/* ===============================
   FLEX STACK FIX
================================ */

@media (max-width: 768px) {

    .header-flex,
    .section-flex,
    .home-projects,
    .content-flex {
        flex-direction: column !important;
        gap: 20px;
    }
}

/* ===============================
   HERO & PADDING FIX
================================ */

@media (max-width: 768px) {

    section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero,
    .home-projects {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    h1 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.3rem !important;
    }
}

/* ===============================
   SLIDER MOBILE FIX
================================ */

@media (max-width: 768px) {

    #kesin-slider {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    #kesin-slider .project-card {
        min-width: 85%;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ===============================
   BUTTON FIX
================================ */

@media (max-width: 768px) {
    button,
    .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-button {
        display: none !important;
    }
}
.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-toggle {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .submenu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .submenu-toggle {
        display: none;
    }
}
@media (max-width: 768px) {

    .dropdown-content {
    display: none;
}

.dropdown.active .dropdown-content {
    display: block;
}


}
@media (max-width: 768px) {
    .dropdown > a::after,
    .dropbtn::after {
        display: none !important;
        content: none !important;
    }
}
/* --- MOBİLDE TAŞMAYI VE KESİLMEYİ ÖNLEYEN KESİN ÇÖZÜM --- */
@media (max-width: 768px) {
    
    /* 1. Tüm ekran dışına taşan sabit kutuları serbest bırakıyoruz */
    #ikili-duzen .category-card,
    .service-box,
    .company-card,
    .corp-card,
    .project-card,
    .value-item {
        min-width: 100% !important; /* Ekranın %100'ünü kapla, dışarı taşma */
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. İkili düzenleri (örneğin faaliyet alanları) mobilde mecburen alt alta alıyoruz ki sığsınlar */
    #ikili-duzen, 
    .services-grid, 
    .companies-grid, 
    .corporate-grid {
        display: flex !important;
        flex-direction: column !important; /* Alt alta diz */
        width: 100% !important;
        padding: 0 15px !important; /* Kenarlardan nefes alsın */
        box-sizing: border-box !important;
    }

    /* 3. Sayfa geneli kapsayıcıların ekranı patlatmasını engelliyoruz */
    .container, 
    .hero-content, 
    section,
    .contact-container {
        width: 100% !important;
        max-width: 100vw !important; /* Ekran genişliğini asla geçme */
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 4. Yatay Slider Varsa (Onun kendi içinde kaymasını sağlıyoruz) */
    #kesin-slider {
        padding: 10px !important;
    }
    #kesin-slider .project-card {
        min-width: 85% !important; /* Sliderdaki kartlar %100 olmasın ki yanda başka kart olduğu anlaşılsın */
        width: 85% !important;
    }
}
/* --- VİZYON & MİSYON MOBİL TAŞMA DÜZELTMESİ --- */
@media (max-width: 768px) {
    .vm-container {
        flex-direction: column !important; /* Kutuları alt alta diz */
        gap: 20px !important; /* Aralarındaki boşluğu daralt */
        padding: 0 15px !important; /* Kenarlardan taşmasın */
    }
    
    .vm-box {
        width: 100% !important; /* Kutular ekranı tam kaplasın */
        box-sizing: border-box !important;
    }
}
/* --- HAKKIMIZDA SAYFASI MOBİL DÜZELTMESİ --- */
@media (max-width: 768px) {
    .about-detail {
        flex-direction: column !important; /* Yazı ve resmi alt alta diz */
        gap: 30px !important; /* Aralarındaki boşluğu mobilde biraz daralt */
    }
    
    .about-detail-text,
    .about-detail-img {
        width: 100% !important; /* İkisi de ekranın tamamını kaplasın */
        flex: none !important; /* Yan yana durma ısrarını iptal et */
    }
    
    .about-detail-img img {
        width: 100% !important; /* Resim, telefon ekranının genişliğine tam otursun */
        height: auto !important;
    }
}
/* --- MOBİL YAN MENÜ (TAMAMLANAN PROJELER) KESİN ÇÖZÜMÜ --- */
@media (max-width: 768px) {
    /* 1. Kapsayıcıyı YAN YANA değil, ALT ALTA dizilmeye zorluyoruz (Asıl sorunu çözen kod) */
    .nested-dropdown {
        display: flex !important;
        flex-direction: column !important; /* İçeriği alt alta atar */
        align-items: flex-start !important; /* Sola yaslar */
        width: 100% !important;
        height: auto !important; /* Yüksekliği serbest bırakır */
    }

    /* 2. Tıklanan yazının tam genişlikte olması */
    .nested-dropdown > a {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important; /* Yazı solda, ok sağda kalsın */
    }

    /* 3. Açılan alt menünün ayarları */
    .nested-dropdown-content {
        display: none !important; /* Başlangıçta kesinlikle kapalı */
        position: relative !important; /* Ekranda yer tutarak aşağı doğru insin */
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 20px !important; /* Alt menü olduğu anlaşılsın diye içe girintili */
        background-color: transparent !important;
    }
    
    /* 4. JS ile .active eklendiğinde menüyü aşağı doğru aç */
    .nested-dropdown.active .nested-dropdown-content {
        display: block !important;
        margin-top: 10px !important; /* Açılınca üstteki yazıyla arasına boşluk koy */
    }
    
    /* 5. Alt menü içindeki linklerin sıkışmasını önle */
    .nested-dropdown-content a {
        padding: 12px 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
}