/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-navy: #0a192f; /* Koyu Lacivert */
    --accent-gold: #d4af37;  /* Altın Sarısı */
    --light-bg: #f4f4f4;
    --text-dark: #333;
    --text-light: #fff;
}

body {
    background-color: #fff;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Başlık Stilleri */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

/* HEADER & NAVBAR */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-container {
    position: relative;
    width: 400px; 
    height: 70px; 
    align-items: center;
}

.logo-container img {
    height: 210px;      
    position: absolute; 
    top: -63px;        
    left: -20px;
    z-index: 1001;      
    transition: all 0.3s ease; 
}

.logo-dark { display: none; }
.logo-white { display: block; }

#main-header nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

#main-header nav ul li a {
    color: var(--text-light);
    font-weight: 500;
}

/* SCROLLED HEADER */
#main-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

#main-header.scrolled nav ul li a {
    color: var(--primary-navy);
}

#main-header.scrolled .logo-white { display: none; }
#main-header.scrolled .logo-dark { display: block; }

/* DROPDOWN MENU (Masaüstü) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1002;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--accent-gold);
    border-radius: 0 0 5px 5px;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--primary-navy) !important;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    padding-left: 25px;
    color: var(--accent-gold) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Butonlar */
.btn-nav {
    border: 2px solid var(--accent-gold);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--accent-gold) !important;
}

.btn-nav:hover {
    background-color: var(--accent-gold);
    color: #fff !important;
}

.btn-gold {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}

.btn-gold:hover {
    background-color: #b89628;
}

.btn-outline {
    display: inline-block;
    color: var(--primary-navy);
    font-weight: bold;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 5px;
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}

.btn-outline-light:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* HERO SECTION */
#hero {
    min-height: 100vh; /* Tam ekran */
    background: radial-gradient(circle at center, #112240 0%, #0a192f 100%); /* Derin lacivert degrade */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px; /* Header payı */
    padding-bottom: 50px;
    overflow: hidden;
}

/* Arka Plana Dünya Haritası Deseni */
.hero-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('img/World.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    opacity: 0.1; /* Eskiden 0.05'ti, şimdi daha belirgin (0.1) */
    pointer-events: none;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* --- SOL TARAF (YAZI) --- */
.hero-text {
    flex: 1;
    color: #fff;
}

/* Üstteki Küçük Etiket */
.badge-pill {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15); /* Altın renginin şeffaf hali */
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Sadece rengi altın, alt çizgi yok */
.hero-text .highlight {
    color: var(--accent-gold);
}

.hero-text p {
    font-size: 1.15rem;
    color: #b0b8c4; /* Hafif gri mavi */
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns i {
    margin-right: 8px;
}

/* --- SAĞ TARAF (RESİM) --- */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 2;
    /* Resmi ortalamak ve düzenlemek için flex */
    display: flex;
    justify-content: center;
}

.main-hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Derin gölge, havada duruyor hissi */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Çok ince zarif çerçeve */
    animation: floatImage 6s ease-in-out infinite; /* Hafif süzülme efekti kalabilir, çok şık durur */
}

/* Süzülme Animasyonu */
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
/* ABOUT */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* SERVICES */
.services-grid {
    display: grid;
    /* Mobilde 1, Tablette 2, PC'de 4 sütun */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-img {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.service-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

a.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.service-card:visited h3, 
a.service-card:visited p {
    color: inherit;
}

/* PROCESS SECTION */
#process {
    background-color: #fff;
}

.process-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}

.step:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-gold);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.step h4 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* STATS SECTION */
#stats {
    background: url('img/star.jpg') center/cover fixed;
    position: relative;
    padding: 100px 0;
    color: #fff;
    margin-top: 50px;
}

.section-separated {
    margin-bottom: 0;
    border-bottom: 5px solid var(--accent-gold);
}

.stats-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.85);
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-gold);
    display: inline-block;
}

.stat-item span {
    font-size: 3rem;
    color: var(--accent-gold);
}

.stat-item p {
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 500;
}

/* FOOTER */
footer {
    background-color: var(--primary-navy);
    color: #ccc;
    padding-top: 70px;
    padding-bottom: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.about-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--accent-gold);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #ccc;
}

.links-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-col i {
    color: var(--accent-gold);
    margin-top: 5px;
}

.working-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.working-hours h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-bottom-bar {
    background-color: #050d1a;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links a {
    color: #888;
    margin-left: 20px;
}

.legal-links a:hover {
    color: var(--accent-gold);
}




/* Başlangıçta Masaüstü görünümde hamburger gizli */
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

#main-header.scrolled .hamburger-menu {
    color: var(--primary-navy);
}

/* YAN PANEL (SIDEBAR) */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px; 
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease; /* Sadece right özelliği için geçiş */
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

/* Overlay (Arka Plan Karartma) */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Mobil Header (Logo ve Kapatma Butonu) */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 80px; /* Logo boyutu ideal */
}

.close-btn {
    font-size: 1.8rem; /* Çarpı biraz daha belirgin olsun */
    color: red;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1; /* Hizalama sorunu olmasın */
}

.close-btn:hover {
    transform: rotate(90deg);
}

/* LİNKLERİN DÜZENİ */
.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.mobile-links li {
    border-bottom: 1px solid #f1f1f1;
}

/* 1. Tek Başına Duran Linkler (Anasayfa, Bize Ulaşın) */
/* Sorun buradaydı: padding ekleyerek sola yapışmasını engelliyoruz */
.mobile-links > li > a.m-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
}

/* 2. Gruplanmış Linkler (Kurumsal, Hizmetlerimiz + İkon) */
.m-link-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Diğer linklerle aynı boşluk */
    cursor: pointer;
    width: 100%;
}

/* Grup içindeki link (Ekstra padding vermiyoruz ki hizası şaşmasın) */
.m-link-group .m-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    flex-grow: 1; /* Tüm boşluğu kaplasın */
    padding: 0; /* Sıfırla */
}

.toggle-submenu {
    color: #555;
    font-size: 0.9rem;
    transition: 0.3s;
    padding-left: 10px; /* İkon yazışa yapışmasın */
}

/* Alt Menüler (Açılınca Çıkanlar) */
.mobile-submenu {
    list-style: none;
    padding: 0;
    background-color: #f9f9f9;
    display: none;
}

.mobile-submenu li {
    border-bottom: 1px solid #e5e5e5;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 40px; /* Girintili olsun */
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Aktif Durumlar */
.m-link-group.open .toggle-submenu {
    transform: rotate(45deg);
}

/* --- MEDIA QUERIES (RESPONSIVE AYARLAR) --- */

/* 1. PC Ekranları (1024px ve üzeri) */
@media (min-width: 1024px) {
    /* Hizmetleri zorla 4 sütun yap */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 2. Tablet ve Mobil Ekranlar (992px ve altı) */
@media (max-width: 992px) {
    /* A. Masaüstü menüyü gizle, Hamburgeri göster */
    .desktop-nav {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }

    /* B. Hero Alanı Düzenlemesi */
    .hero-split {
        flex-direction: column; /* Alt alta al */
        text-align: center;
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem; /* Yazıyı biraz küçült */
    }
    
    .hero-text p {
        margin: 0 auto 30px; /* Ortala */
    }

    .hero-btns {
        justify-content: center; /* Butonları ortala */
    }

    .hero-image {
        width: 100%;
        margin-top: 30px;
    }
}

/* 3. Küçük Mobil Ekranlar (768px ve altı) */
@media (max-width: 768px) {
    /* Footer alt kısmını alt alta al */
    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    .legal-links a {
        margin: 0 10px;
    }
}


@media (max-width: 992px) {
    #hero {
        padding-top: 120px;
        text-align: center;
        height: auto;
    }

    .hero-split {
        flex-direction: column; /* Alt alta */
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
        font-size: 1rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    .hero-image-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }

    .main-hero-img {
        width: 90%; 
    }
}