@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    --gold: #D4AF37;
    --dark-bg: #0f0f0f;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --backdrop: blur(15px);
    --nav-bg: rgba(0, 0, 0, 0.95); 
}

body.light-mode {
    --dark-bg: #f0f2f5;
    --text-color: #1a1a1a;
    --text-muted: #444;
    --glass: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(255, 255, 255, 0.98);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
    transition: 0.3s ease;
    padding-bottom: 45px;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; width: 100%; height: 90px;
    position: fixed; top: 0;
    background: var(--nav-bg); 
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    z-index: 10000;
}

.brand-container { display: flex; align-items: center; gap: 15px; }
.nav-logo-video { width: 130px; height: 85px; object-fit: cover; border-radius: 5px; border: 1px solid var(--gold); }
.brand-text { display: flex; flex-direction: column; }
.brand-main { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.brand-sub { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 1px; }

.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 0.85rem; font-weight: 700; color: var(--text-color); position: relative; padding: 5px 0; letter-spacing: 0.5px; }
.nav-links a.active, .nav-links a:hover { color: var(--gold); }

/* MOBİL MENÜ İKONU (BURGER) */
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 10001; }
.burger div { width: 28px; height: 3px; background-color: var(--gold); transition: all 0.3s ease; border-radius: 2px; }

/* Burger Animasyonu (X Şekli) */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* ARAÇLAR */
.nav-tools { display: flex; align-items: center; gap: 15px; }
.nav-tools button { color: var(--text-color); font-size: 1.2rem; background: none; border: none; cursor: pointer; transition: 0.3s; }
.nav-tools button:hover { color: var(--gold); transform: scale(1.1); }
.lang-selector { display: flex; gap: 5px; align-items: center; }
.lang-selector img { width: 22px !important; height: auto; cursor: pointer; transition: 0.2s; }
.lang-selector img:hover { transform: scale(1.2); }

/* ORTAK ALANLAR */
.page-header {
    height: 400px; display: flex; align-items: center; justify-content: center;
    margin-top: 90px;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    position: relative;
    text-align: center; border-bottom: 4px solid var(--gold);
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 1;
}
.header-content { position: relative; z-index: 2; width: 90%; }
.header-content h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--gold); margin-bottom: 10px; text-shadow: 2px 2px 10px #000; }
.breadcrumb { font-size: 1.1rem; color: #fff; background: rgba(0,0,0,0.7); padding: 8px 20px; border-radius: 20px; display: inline-block; border: 1px solid var(--gold); }

.main-content { padding: 80px 10%; min-height: 60vh; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

.glass-box {
    background: var(--glass); backdrop-filter: var(--backdrop);
    border: var(--glass-border); padding: 40px; border-radius: 15px;
    box-shadow: var(--glass-shadow); transition: 0.3s;
}
.glass-box:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2); }
.box-title { color: var(--gold); font-size: 1.5rem; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; font-weight: bold; }
.glass-box p, .glass-box li { color: var(--text-muted); margin-bottom: 10px; text-align: justify; font-size: 0.95rem; }

/* LİSTELER */
.glass-box ul li { list-style: none; padding-left: 20px; position: relative; }
.glass-box ul li::before { content: '➤'; color: var(--gold); position: absolute; left: 0; font-size: 0.8rem; top: 3px; }

/* FORMLAR */
form { display: flex; flex-direction: column; gap: 20px; width: 100%; }
input, select, textarea {
    width: 100%; padding: 15px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-color); font-size: 1rem; border-radius: 5px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; background: rgba(255, 255, 255, 0.1); }
.btn-gold {
    padding: 15px; background: linear-gradient(45deg, var(--gold), #b8860b); color: #000; font-weight: 800;
    border: none; border-radius: 50px; cursor: pointer; text-align: center; transition: 0.3s; width: 100%; display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-gold:hover { transform: scale(1.02); box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }

/* ARAMA PENCERESİ */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.98); backdrop-filter: blur(20px);
    z-index: 20001; display: flex; flex-direction: column; align-items: center; padding-top: 150px;
    opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out;
}
.search-overlay.active { opacity: 1 !important; visibility: visible !important; }
.search-content { width: 80%; max-width: 600px; position: relative; }
.search-content input { 
    width: 100%; padding: 20px; font-size: 1.8rem; background: transparent; 
    border: none; border-bottom: 3px solid var(--gold); color: #fff; text-align: center; 
}
#close-search { position: absolute; top: -80px; right: 0; font-size: 3rem; color: var(--gold); cursor: pointer; }

/* FOOTER TICKER */
.footer-ticker {
    position: fixed; bottom: 0; width: 100%; height: 40px;
    background: var(--gold); color: #000; z-index: 999;
    display: flex; align-items: center; overflow: hidden; font-weight: bold; letter-spacing: 1px;
}
.ticker-wrap { width: 100%; white-space: nowrap; animation: ticker 35s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* HERO BÖLÜMÜ */
.hero-section { width: 100%; height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* SABİT BUTONLAR (WHATSAPP & TELEFON DÜZELTME) */
.call-float, .whatsapp-float {
    position: fixed !important;
    right: 20px !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
    transition: transform 0.3s ease !important;
}

.call-float i, .whatsapp-float i {
    font-size: 24px !important;
    display: block !important;
}

.call-float { bottom: 135px !important; background: #D4AF37 !important; color: #000 !important; }
.whatsapp-float { bottom: 70px !important; background: #25d366 !important; color: #fff !important; }

.call-float:hover, .whatsapp-float:hover { transform: scale(1.1); }

/* --- RESPONSIVE / MOBİL AYARLAR (YENİLENMİŞ BÖLÜM) --- */
@media screen and (max-width: 1100px) {
    body { overflow-x: hidden; }

    /* Mobil Menü Yapısı */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%; /* Ekranın %70'ini kaplasın */
        background: #000; /* Arka plan siyah */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%); /* Başlangıçta gizli */
        transition: transform 0.4s ease-in-out;
        z-index: 9998; /* Burger'ın altında, içeriğin üstünde */
        border-left: 2px solid var(--gold);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    /* Menü Aktif Olunca (JS ile eklenen class) */
    .nav-links.nav-active {
        transform: translateX(0%);
    }

    /* Burger İkonunu Göster */
    .burger { display: flex; }

    /* Mobil Grid Yapısı (Tek Sütun) */
    .grid-container { grid-template-columns: 1fr !important; }
    
    /* Mobilde Kenar Boşluklarını Ayarla */
    .main-content { padding: 40px 5% !important; }
    
    /* Mobilde Başlıkları Küçült */
    .header-content h1 { font-size: 2rem !important; margin-bottom: 20px; }
    
    /* Mobilde Logo Altı Yazıyı Gizle (Yer kazanmak için) */
    .brand-sub { display: none; }
    
    /* Mobilde Video Logoyu Biraz Küçült */
    .nav-logo-video { width: 100px; height: 65px; }

    /* Mobilde Sayfa Başlık Resim Yüksekliği */
    .page-header { height: 300px; margin-top: 90px; }
}

@media screen and (max-width: 480px) {
    /* Çok küçük ekranlar için ekstra ayarlar */
    .call-float, .whatsapp-float { width: 50px !important; height: 50px !important; right: 15px !important; }
    .call-float { bottom: 120px !important; }
    .whatsapp-float { bottom: 60px !important; }
    
    .nav-links { width: 100%; } /* Telefonta menü tam ekran olsun */
}