/* style.css */
:root {
    --gold: #d4af37;
    --primary: #04351d;
    --dark: #0a0a0a;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--dark); color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.6; }

.main-bg {
    position: fixed; inset: 0;
    background: radial-gradient(circle at center, #064d2a 0%, #000 100%);
    z-index: -1;
}

/* NAVBAR - Tam Düzen */
/* style.css */

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%; /* Navbar yüksekliğine uyum sağlar */
}

.nav-logo img {
    height: 50px; /* Logonun navbar içindeki yüksekliği */
    width: auto;  /* Oran bozulmasın diye otomatik genişlik */
    transition: transform 0.3s ease;
}

/* Üstüne gelince çok hafif büyüme efekti (Opsiyonel) */
.nav-logo:hover img {
    transform: scale(1.05);
}

/* Mobil cihazlar için logoyu biraz daha küçültelim */
@media (max-width: 768px) {
    .nav-logo img {
        height: 40px;
    }
}
.glass-nav {
    position: fixed; top: 0; width: 100%; height: 80px; z-index: 1000;
    background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center;
}
.nav-wrapper {
    width: 90%; max-width: 1300px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.brand { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.brand span { color: #E30613; }

.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; text-transform: uppercase; transition: 0.3s; }
.nav-menu a:hover { color: var(--gold); }

.nav-cta-btn {
    background: var(--gold); color: #000; padding: 10px 25px;
    border-radius: 5px; text-decoration: none; font-weight: 700; font-size: 14px; transition: 0.3s;
}

/* HERO - Denge */
.hero-v2 { height: 100vh; display: flex; align-items: center; padding: 0 5%; text-align: center; justify-content: center; }
.hero-title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; margin: 20px 0; }
.hero-sub { max-width: 700px; margin: 0 auto 40px; color: #ccc; font-size: 1.1rem; }
.btn-gold {  padding: 15px 40px;  background: var(--gold); color: #fff; text-decoration: none; font-weight: 700; border-radius: 4px; display: inline-block; }

/* GRID - Eşit Boyutlu Kartlar */
.grid-section { padding: 100px 0; background: rgba(0,0,0,0.2); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.title-underline { width: 50px; height: 3px; background: var(--gold); margin: 15px auto; }

.equal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Eşit kolonlar */
    gap: 30px;
}

.info-card {
    background: var(--glass); border: 1px solid rgba(255,255,255,0.1);
    padding: 50px 30px; border-radius: 15px; text-align: center; transition: 0.4s;
}
.info-card:hover { border-color: var(--gold); transform: translateY(-10px); background: rgba(212, 175, 55, 0.05); }
.card-icon { font-size: 40px; color: var(--gold); margin-bottom: 25px; }
.info-card h3 { font-size: 20px; margin-bottom: 15px; }
.info-card p { font-size: 15px; color: #aaa; }

/* FOOTER - Düzenli ve Hizalı */
.modern-footer { padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; }
.footer-container {
    width: 90%; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px;
}
.footer-col h4 { color: var(--gold); margin-bottom: 20px; font-size: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-col ul a:hover { color: #fff; }
.footer-copyright { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 14px; color: #666; }
/* style.css */

.footer-logo {
    margin-bottom: 20px; /* Slogan ile arasındaki boşluk */
    display: block;
}

.footer-logo img {
    height: 65px; /* Footer logosu biraz daha tok durmalı */
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); /* Hafif derinlik */
    transition: 0.3s;
}

.footer-logo img:hover {
    transform: scale(1.03);
}

.footer-slogan {
    font-size: 14px;
    color: #aaa;
    max-width: 250px; /* Yazının çok yayılıp düzeni bozmasını engeller */
    line-height: 1.6;
}

/* Mobil uyum için */
@media (max-width: 768px) {
    .footer-col {
        text-align: center; /* Mobilde her şeyi ortalar */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* style.css içindeki loader kısmını bununla değiştir */
#loader {
    position: fixed;
    inset: 0;
    background: #000000; /* Koyu Kurumsal Yeşil */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo-img {
    width: 250px; /* Logo boyutu */
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-status {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%; /* JS ile artacak */
    background: #d4af37; /* Altın Sarısı */
    box-shadow: 0 0 10px #d4af37;
    transition: width 0.4s ease;
}

.loader-text {
    margin-top: 15px;
    color: #d4af37;
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Hafif nefes alma efekti */
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Mobil Hamburger (Standart) */
.menu-toggle { display: none; cursor: pointer; font-size: 24px; color: var(--gold); }

@media (max-width: 992px) {
    .nav-menu, .nav-cta-btn { display: none; }
    .menu-toggle { display: block; }
}
@media (max-width: 992px) {
    /* Hamburger ikonunu görünür yap */
    .menu-toggle { display: block !important; cursor: pointer; z-index: 1100; }

    /* Nav menüyü mobil panel yap */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekran dışında */
        width: 100%;
        height: 100vh;
        background: rgba(4, 53, 29, 0.98); /* Kurumsal Yeşil */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        gap: 30px;
        z-index: 1050;
    }

    /* JS active class'ını tetiklediğinde menü gelsin */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 20px;
        font-weight: 700;
    }
}
/* Mobil Menü İçin Temel Ayarlar */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Menü başta ekranın sağında gizli */
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.8); /* Kurumsal Yeşil */
        display: flex; /* Masaüstünde gizlenmiş olabilir, burada zorla aktif ediyoruz */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        gap: 30px;
    }

    /* JS Tarafından 'active' Sınıfı Eklendiğinde Menü Ekranın İçine Girer */
    .nav-menu.active {
        right: 0; 
    }

    /* Menü içindeki linklerin mobildeki duruşu */
    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        letter-spacing: 2px;
    }

    /* Hamburger butonunun her zaman menünün üstünde kalması için */
    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1100;
        cursor: pointer;
    }
}
/* Alt Sayfa Hero */
.sub-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 53, 29, 0.8), rgba(0,0,0,0.9)), url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Hizmet Blokları */
.service-block {
    padding: 100px 0;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

.alternate .flex-row {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-img img {
    width: 100%;
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-img:hover img {
    transform: scale(1.1);
}

.service-text {
    flex: 1;
}

.badge {
    color: #d4af37;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 12px;
}

.service-text h2 {
    font-size: 45px;
    margin: 15px 0 25px;
    font-weight: 800;
}

.service-text p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.8;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .flex-row, .alternate .flex-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .service-text h2 { font-size: 32px; }
}


/* ==========================================================================
   HAKKIMIZDA SAYFASI - GÜNCEL VE HATASIZ STİLLER
   ========================================================================== */

/* 1. Genel Bölüm Ayarları */
.about-clean-section {
    padding: 100px 0;
    background: transparent;
    overflow: hidden;
}

.about-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* 2. Logo Alanı (Masaüstü Sabitlenmiş) */
.about-image-side {
    flex: 0 0 380px; /* Logonun alanı sabitlendi, taşma yapamaz */
}

.logo-display-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 50px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-final-logo {
    width: 100%;
    max-width: 220px; /* Logonun devasa büyümesini engelleyen kritik sınır */
    height: auto;
    object-fit: contain;
    /* Hareketli animasyon kaldırıldı, kurumsal sabitlik eklendi */
}

/* 3. Metin İçerik Alanı */
.about-content-side {
    flex: 1;
}

.section-heading {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 15px 0 25px;
    color: #fff;
}

.rich-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

/* 4. Başarı Sayaçları (Stats) */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(212, 175, 55, 0.05);
    padding: 25px 15px;
    border-radius: 15px;
    border-bottom: 2px solid #d4af37;
    text-align: center;
    transition: 0.3s;
}

.stat-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.stat-num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
}

/* 5. Zaman Tüneli (Timeline) */
.milestones {
    padding: 100px 0;
    background: rgba(4, 53, 29, 0.15);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
}

.timeline-item {
    width: 22%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.year {
    display: inline-block;
    background: #d4af37;
    color: #04351d;
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 25px;
}

.timeline-item .content {
    font-size: 15px;
    color: #bbb;
    line-height: 1.6;
    padding: 0 10px;
}

/* 6. Sertifikalar Alanı */
.certificates-bar {
    padding: 80px 0;
    background: #021a0e;
}

.cert-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-box {
    font-size: 14px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.cert-box i {
    font-size: 20px;
    color: #d4af37;
}

/* 7. Responsive Ayarlar (Taşmaları Önleyen Çözümler) */
@media (max-width: 1024px) {
    .section-heading { font-size: 34px; }
    .about-image-side { flex: 0 0 300px; }
}

@media (max-width: 992px) {
    .about-flex-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-image-side {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .about-content-side {
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr; /* Mobilde sayaçlar alt alta */
    }

    .timeline {
        flex-direction: column;
        gap: 50px;
        margin-top: 50px;
    }

    .timeline::before {
        display: none; /* Mobilde çizgiyi kaldır */
    }

    .timeline-item {
        width: 100%;
    }

    .cert-wrapper {
        justify-content: center;
    }
}

/* --- İLETİŞİM SAYFASI ÖZEL --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Bilgi kartı ve Harita dengesi */
    gap: 40px;
    padding: 80px 0;
}

/* İletişim Kartı */
.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px;
    border-radius: 20px;
    color: #fff;
}

.info-list {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    color: #d4af37;
    font-size: 20px;
    margin-top: 5px;
}

.info-item span {
    display: block;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

.info-item p, .info-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.info-item a:hover { color: #d4af37; }

/* Vergi Bilgileri Alanı */
.official-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}

/* Google Maps */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Sol Sosyal Bar (Sticky) */
.side-social-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.side-icon {
    text-decoration: none !important; /* Alt çizgiyi siler */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.side-icon:hover {
    background: #d4af37;
    color: #000;
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        padding: 40px 20px;
    }

    .map-container {
        height: 350px;
    }

    .side-social-bar {
        left: 10px; /* Mobilde kenara çek */
    }

    .side-icon {
    text-decoration: none !important; /* Alt çizgiyi siler */
    border-bottom: none !important;  /* Eğer border varsa siler */
}
.side-icon i {
    text-decoration: none !important;
}
}