:root {
    --bg-dark: #070d19; /* Daha da derin gece mavisi */
    --box-bg: rgba(255, 255, 255, 0.04); 
    --border: rgba(255, 255, 255, 0.12);
    
    /* 🔥 TÜRKMEN BAYRAĞI GÖK MAVİSİ TONLARI */
    --primary: #0ea5e9; 
    --accent: #38bdf8; 
    
    --text-main: #f8fafc;
    --text-light: #e2e8f0; /* Aydınlık yazılar */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Kufi Arabic', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: white !important; 
}

/* --- SAYFA DÜZENİ VE YAZI RENKLERİ --- */
.page-content { padding-top: 160px !important; } /* Başlığın menü altında kalmasını engeller */
.page-title { font-family: 'Playfair Display', serif; }

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted, p, li, small { color: var(--text-light) !important; } /* Karanlık yazıları aydınlatır */

.border-primary-left { border-left: 5px solid var(--primary) !important; }
.border-accent-left { border-left: 5px solid var(--accent) !important; }

/* --- RESİM SINIFLARI --- */
.bento-img { object-fit: cover; height: 120px; width: 100%; }
.bento-yemek-container { height: 150px; overflow: hidden; }
.bento-yemek-img { width: 100%; height: 100%; object-fit: cover; }
.cover-img { height: 250px; object-fit: cover; }
.news-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); }

/* --- TÜRKMEN MAVİSİ ARKA PLAN IŞIKLARI --- */
.bg-glow {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(140px); z-index: -1; opacity: 0.35;
    animation: pulse 8s infinite alternate ease-in-out;
}
.mavi-1 { background: #0284c7; top: -15%; left: -10%; }
.mavi-2 { background: #0ea5e9; bottom: -20%; right: -10%; opacity: 0.25; }
.mavi-3 { background: #38bdf8; top: 30%; left: 40%; width: 400px; height: 400px; opacity: 0.20; }

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, 20px); }
}

/* --- MENÜ VE KUSURSUZ DİL SEÇİCİ --- */
.navbar { transition: all 0.3s ease; padding: 20px 0; }
.navbar.scrolled { 
    background: rgba(7, 13, 25, 0.95) !important; 
    -webkit-backdrop-filter: blur(15px); /* Safari Düzeltmesi */
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid var(--border); 
    padding: 15px 0; 
}

.lang-btn {
    border: 1px solid var(--primary);
    border-radius: 20px !important;
    padding: 6px 18px !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}
.custom-dropdown {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px); /* Safari Düzeltmesi */
    backdrop-filter: blur(10px);
}
.custom-dropdown .dropdown-item { color: var(--text-light); font-weight: 500; }
.custom-dropdown .dropdown-item:hover { background: var(--primary); color: white; }

/* ==========================================================================
   🔥 GOOGLE TRANSLATE'İ KÖKÜNDEN YOK EDEN NÜKLEER CSS 🔥
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.skiptranslate > iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, 
.VIpgJd-ZVi9od-ORHb,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -10000 !important;
}

body { 
    top: 0px !important; 
    position: static !important; 
    min-height: 100vh !important;
}

html {
    top: 0px !important;
    margin-top: 0px !important; 
    height: 100% !important;
}

.goog-text-highlight { 
    background-color: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
}
.goog-tooltip, .goog-tooltip:hover { 
    display: none !important; 
}

#google_translate_element { 
    display: none !important; 
    height: 0 !important;
}

/* --- BENTO BOX --- */
.bento-box {
    background: var(--box-bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 30px; 
    -webkit-backdrop-filter: blur(20px); /* Safari Düzeltmesi */
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative; overflow: hidden; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.bento-box:hover { border-color: var(--primary); background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); }

.bento-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle 250px at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.06), transparent 80%);
    opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1;
}
.bento-box:hover::before { opacity: 1; }
.bento-box * { position: relative; z-index: 2; }

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    height: 90vh; display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--bg-dark)), url('resimler/kapak.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-title { font-size: 4rem; text-shadow: 0 0 30px rgba(0,0,0,0.8); }

/* --- FORM & BUTONLAR --- */
.form-control {
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
    color: white; border-radius: 12px; padding: 15px;
}
.form-control::placeholder { color: #aaa; }
.form-control:focus { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); color: white; box-shadow: none; }

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7); color: white;
    border: 1px solid rgba(255,255,255,0.2); font-weight: 700; letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9); transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5); color: white;
}

.hover-effect { transition: transform 0.3s, color 0.3s; }
.hover-effect:hover { color: var(--accent) !important; transform: translateY(-3px); }

/* --- FOOTER & SABİT BUTONLAR --- */
.custom-footer {
    background: rgba(7, 13, 25, 0.95);
    -webkit-backdrop-filter: blur(10px); /* Safari Düzeltmesi */
    backdrop-filter: blur(10px);
}

#scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--primary); color: white; display: none;
    justify-content: center; align-items: center; border-radius: 50%; z-index: 998;
    text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: transform 0.3s;
}
#scroll-top:hover { transform: translateY(-5px); background: white; color: var(--primary); }

#whatsapp-btn {
    position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
    background-color: #25d366; color: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 999;
    transition: transform 0.3s; animation: pulse-green 2s infinite; text-decoration: none;
}
#whatsapp-btn:hover { transform: scale(1.1); color: white; }

/* --- YÜKLEME EKRANI (PRELOADER) --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark); z-index: 9999; display: flex;
    justify-content: center; align-items: center; transition: opacity 0.5s ease;
}
.spinner {
    width: 60px; height: 60px; border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070d19; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::selection { background-color: var(--primary); color: #000000; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; line-height: 1.2; word-wrap: break-word; }
    .hero-section { height: auto; min-height: 90vh; padding-top: 100px; padding-bottom: 50px; }
}