/* ==========================================================================
   NEREYE GİTSEM - PROFESSIONAL STYLESHEET (v5.8 - Compact Hero Height)
   ========================================================================== */

/* =========================================
   1. RENK PALETİ VE DEĞİŞKENLER
   ========================================= */
:root {
    /* --- MARKA RENKLERİ --- */
    --primary: #ff6600;
    --primary-hover: #e65c00;
    --primary-light: rgba(255, 102, 0, 0.1);
    --primary-focus: rgba(255, 102, 0, 0.4); 
    
    --success: #10b981; 
    --warning: #fbbf24;
    --danger: #ef4444;
    
    /* --- LIGHT MODE (VARSAYILAN) --- */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.90);
    --bg-bottom-nav: #ffffff;
    
    /* Input & Footer */
    --bg-footer: #f8fafc;
    --bg-input: #f1f5f9;      
    --border-color: #e2e8f0;  
    
    /* Metin Renkleri */
    --text-main: #1e293b;     
    --text-muted: #64748b;    
    --text-title: #0f172a;    
    
    /* Footer Metinleri */
    --text-footer-title: #0f172a;
    --text-footer-text: #475569;
    --text-footer-link: #64748b;
    
    /* Efektler */
    --hero-overlay: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, #0f172a 100%);
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- DARK MODE --- */
body.dark-mode {
    --bg-body: #0f172a;        
    --bg-card: #0f172a;        
    --bg-header: rgba(15, 23, 42, 0.90); 
    --bg-bottom-nav: #0f172a;
    
    --bg-footer: #0f172a;
    --bg-input: #1e293b;      
    --border-color: #334155;  

    --text-main: #f8fafc;     
    --text-muted: #94a3b8;    
    --text-title: #ffffff;    
    
    --text-footer-title: #ffffff;
    --text-footer-text: #94a3b8;
    --text-footer-link: #cbd5e1;

    --hero-overlay: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, #0f172a 100%);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7); 
}

/* =========================================
   2. TEMEL AYARLAR
   ========================================= */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    margin: 0; padding: 0;
}

::selection { background-color: var(--primary); color: #ffffff; }

a { text-decoration: none; transition: 0.3s; color: var(--text-main); }

/* .mobile-fab hariç diğer linkler hover olunca turuncu olsun */
a:not(.btn):not(.social-icon):not(.btn-android):not(.mobile-fab):hover { color: var(--primary) !important; }

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
body.dark-mode p, body.dark-mode span, body.dark-mode li { color: var(--text-main); }
body.dark-mode .text-muted { color: var(--text-muted) !important; }

/* =========================================
   3. BİLEŞENLER (BUTONLAR)
   ========================================= */
.btn-primary {
    background-color: var(--primary) !important; 
    border: 1px solid var(--primary) !important;
    color: #ffffff !important; 
    font-weight: 600; 
    padding: 10px 20px; 
    border-radius: 10px; 
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:active {
    background-color: var(--primary-hover) !important; 
    border-color: var(--primary-hover) !important;
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
}

.btn-outline-primary {
    color: var(--primary) !important; 
    border: 1px solid var(--primary) !important; 
    background: transparent !important;
    border-radius: 10px; 
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--primary) !important; 
    color: #ffffff !important;
}

.text-primary { color: var(--primary) !important; }

/* =========================================
   4. NAVBAR
   ========================================= */
.navbar {
    background-color: var(--bg-header) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0; z-index: 1000; transition: all 0.3s ease;
}
.navbar-brand span { font-weight: 700; color: var(--text-title); }
.nav-link { color: var(--text-main) !important; font-weight: 500; margin: 0 8px; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* Tema Butonu */
.theme-switch {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color);
    background: transparent; color: var(--text-main); display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.3s;
}
.theme-switch:hover {
    background-color: var(--primary); color: #ffffff; border-color: var(--primary);
    transform: rotate(180deg);
}
.navbar-toggler { border-color: var(--border-color); }
body.dark-mode .navbar-toggler-icon { filter: invert(1); }

/* =========================================
   5. HERO & ARAMA KUTUSU
   ========================================= */
.hero-wrapper {
    position: relative; width: 100%; height: auto; 
    
    /* GÜNCELLEME: Yükseklik 85vh'den 60vh'ye düşürüldü */
    min-height: 60vh; 
    
    background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex; 
    
    /* Ortaya hizalama */
    align-items: center; 
    justify-content: center; 
    
    margin-top: -86px; 
    
    /* GÜNCELLEME: Navbar payı bırakılarak boşluklar azaltıldı */
    padding-top: 120px; 
    padding-bottom: 80px; 
}

/* Overlay sabit koyu renk */
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--hero-overlay); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 800px; padding: 0 20px; }
.hero-content h1, .hero-content p { color: #ffffff !important; }

/* Arama Kapsülü (Mobilde Gizlenecek) */
.hero-search-wrapper {
    position: relative; max-width: 600px; width: 100%; margin: 30px auto 0 auto;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    padding: 8px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center;
    transition: all 0.3s ease;
}
.hero-search-wrapper:focus-within {
    border-color: var(--primary); background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}
.hero-search-input {
    border: none !important; background: transparent !important; box-shadow: none !important;
    height: 50px; padding-left: 20px; font-size: 1rem; color: white !important; width: 100%; outline: none;
}
.hero-search-input::placeholder { color: rgba(255, 255, 255, 0.8); }
.hero-search-btn {
    width: 50px; height: 50px; min-width: 50px; border-radius: 50%;
    background: var(--primary); color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; transition: transform 0.2s, background 0.2s;
    margin-left: 10px;
}
.hero-search-btn:hover { transform: scale(1.05); background-color: #e65100; }
.hero-search-btn:active { transform: scale(0.95); }

/* =========================================
   6. İÇERİK KARTLARI
   ========================================= */
.main-content { 
    position: relative; 
    z-index: 5; 
    margin-top: 0; 
    padding-top: 50px; 
    padding-bottom: 50px; 
}

.section-header {
    background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px 20px; margin-bottom: 25px;
    display: flex; justify-content: space-between; align-items: center;
}
.section-header h5 { margin: 0; color: var(--text-title); }
.venue-card {
    background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; margin-bottom: 25px;
    box-shadow: var(--shadow); transition: transform 0.3s ease, border-color 0.3s ease;
}
.venue-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.venue-img-wrapper { height: 240px; position: relative; }
.venue-img { width: 100%; height: 100%; object-fit: cover; }
.badge-rating { position: absolute; top:15px; left:15px; background:rgba(0,0,0,0.8); color:var(--warning); padding:5px 10px; border-radius:8px; font-weight:bold; }
.badge-status { position: absolute; bottom:15px; left:15px; background:var(--success); color:white; padding:4px 10px; border-radius:6px; font-size:0.75rem; font-weight:bold; }
.category-list { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; margin-top: 25px; }
.cat-item { padding: 14px 20px; border-bottom: 1px solid var(--border-color); display:flex; justify-content:space-between; color: var(--text-main); cursor: pointer; }
.cat-item:hover { background-color: var(--primary-light); color: var(--primary); padding-left: 25px; }
.cta-box { background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-body) 100%); border: 1px solid var(--border-color); border-radius: 16px; padding: 35px 25px; text-align: center; }

/* =========================================
   7. MODAL & FORMLAR
   ========================================= */
.modal-content {
    background-color: var(--bg-card); color: var(--text-main);
    border: 1px solid var(--border-color); border-radius: 24px; box-shadow: var(--shadow-lg);
}
.modal-header { border-bottom: 1px solid var(--border-color); padding: 20px 30px; }
.modal-title { font-weight: 700; font-size: 1.3rem; color: var(--text-title); }
.modal-body { padding: 30px; }
.btn-close { opacity: 0.7; }
body.dark-mode .btn-close { filter: invert(1); }
.input-group { background-color: var(--bg-input) !important; border: 1px solid var(--border-color) !important; border-radius: 12px; overflow: hidden; }
.input-group-text { background-color: transparent !important; border: none !important; color: var(--primary); padding-left: 15px; }
.form-control { background-color: transparent !important; border: none !important; color: var(--text-main) !important; padding: 14px 10px; }
.form-control::placeholder { color: var(--text-muted); opacity: 0.8; }
.input-group:focus-within { border-color: var(--primary) !important; box-shadow: 0 0 0 4px var(--primary-focus) !important; }
.form-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; margin-left: 4px; }
.form-check-label { color: var(--text-muted); font-size: 0.9rem; cursor: pointer; }
.form-check-input { background-color: var(--bg-input); border-color: var(--border-color); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.modal-link { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.modal-link:hover { color: var(--primary); }

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background-color: var(--bg-footer);
    border-top: 1px dashed var(--primary);
    padding: 70px 0 30px 0; margin-top: 40px;
    color: var(--text-footer-text);
}
.footer-title { color: var(--text-footer-title); font-weight: 700; margin-bottom: 25px; }
.footer-link { color: var(--text-footer-link); display: block; margin-bottom: 15px; transition: 0.2s; }
.footer-link:hover { color: var(--primary) !important; padding-left: 5px; }

.social-icons { display: flex; gap: 12px; margin-top: 25px; }
.social-icon {
    width: 42px; height: 42px; background-color: var(--bg-input); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    color: var(--text-footer-text); border: 1px solid var(--border-color); text-decoration: none;
}
.social-icon:hover { 
    background-color: var(--primary) !important; border-color: var(--primary) !important; color: white !important; transform: translateY(-3px); 
}

/* --- BÜLTEN KUTUSU (MOBİL DÜZELTMESİ) --- */
.newsletter-box { 
    display: flex; border: 1px solid var(--border-footer); border-radius: 8px; overflow: hidden;
    transition: all 0.3s ease;
}
.newsletter-box:focus-within { border-color: var(--primary) !important; box-shadow: 0 0 10px var(--primary-focus) !important; }

/* Input: Mobilde küçülebilmesi için min-width: 0 şart */
.newsletter-box input {
    background-color: var(--bg-input); 
    border: none; 
    color: var(--text-footer-title); 
    padding: 14px; 
    flex-grow: 1; 
    min-width: 0; 
    outline: none;
}

/* Buton: Asla küçülmesin, sabit kalsın */
.newsletter-box button { 
    background-color: var(--primary) !important; 
    color: white !important; 
    border: none; 
    padding: 0 20px; 
    font-weight: 600; 
    flex-shrink: 0; 
    white-space: nowrap; 
}
.newsletter-box button:hover { background-color: var(--primary-hover) !important; }

.footer-bottom { 
    margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); 
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; 
}
.copyright { font-size: 0.95rem; color: var(--text-footer-text); }

/* --- PAYMENT ICONS HOVER --- */
.payment-icons { display: flex; gap: 15px; align-items: center; justify-content: flex-end; font-size: 2rem; color: var(--text-footer-text); opacity: 0.7; }
.payment-icons i { transition: all 0.3s ease; cursor: pointer; }
.payment-icons i:hover { opacity: 1; transform: translateY(-5px) scale(1.1); color: var(--text-title); }
.payment-icons .fa-lock { color: var(--success) !important; font-size: 1.4rem; opacity: 0.9; }

/* --- ULTRA PREMİUM ANDROID BUTONU --- */
.btn-android {
    display: flex; align-items: center; justify-content: flex-start; gap: 16px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-input) 100%);
    border: 1px solid var(--border-color); border-radius: 16px; padding: 12px 24px;
    text-decoration: none; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative; overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow);
}
.btn-android:hover {
    border-color: #3DDC84; transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(61, 220, 132, 0.3);
}
.btn-android i {
    font-size: 2.4rem; background: -webkit-linear-gradient(45deg, #3DDC84, #1b5e20);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    transition: transform 0.4s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.btn-android:hover i { transform: scale(1.15) rotate(10deg); }
.btn-android div { text-align: left; }
.btn-android small { display: block; font-size: 0.65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.btn-android span { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text-title); line-height: 1.1; }

/* =========================================
   9. MOBİL ALT MENÜ (FIXED FLOATING BUTTON)
   ========================================= */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 75px;
    background-color: var(--bg-bottom-nav); border-top: 1px solid var(--border-color);
    justify-content: space-around; align-items: center; z-index: 9999; padding-bottom: 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; width: 60px;
    position: relative; z-index: 10002; cursor: pointer;
}
.mobile-nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--primary) !important; }

/* ORTA BUTON (GÖMÜLÜ EFEKT & RENK DÜZELTMESİ) */
.mobile-fab-wrapper {
    position: relative; top: -25px; width: 65px; height: 65px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10001; pointer-events: none; 
}
.mobile-fab {
    width: 60px; height: 60px; background: var(--primary) !important; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; 
    color: white !important; 
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    border: 6px solid var(--bg-body); transition: transform 0.2s; text-decoration: none;
    pointer-events: auto; 
}
.mobile-fab:hover, .mobile-fab:active, .mobile-fab:focus {
    color: white !important;
    background-color: var(--primary-hover) !important;
    transform: scale(0.95);
}

/* =========================================
   10. MEDYA SORGULARI (DÜZELTİLDİ: PADDING ARTIRILDI)
   ========================================= */
@media (max-width: 991px) {
    .desktop-menu-area { display: none !important; }
    
    /* GÜNCELLEME: Hero Alanı Yüksekliği Düşürüldü */
    .hero-wrapper { 
        height: auto; 
        min-height: 50vh; /* Mobilde çok daha kısa ve kompakt */
        padding-top: 180px !important; 
        padding-bottom: 60px !important; 
        align-items: center; /* Ortala */
        background-position: center bottom; 
    }
    .hero-content h1 { font-size: 2.2rem; }
    
    /* GÜNCELLEME: Hero Arama Kutusu Mobilde Gizlendi */
    .hero-search-wrapper { display: none !important; }

    .main-content { 
        margin-top: 0 !important; 
        padding-top: 30px; 
    }
    
    .mobile-bottom-nav { display: flex; } 
    body { padding-bottom: 90px; } 
    footer { text-align: center; }
    .social-icons, .footer-bottom { justify-content: center; }
    .btn-android { justify-content: center; }
}
@media (min-width: 992px) { 
    .mobile-bottom-nav { display: none !important; } 
}