:root {
    --black: #050505;
    --card-bg: #121212;
    --neon-green: #39ff14; 
    --neon-blue: #00f2fe;
    --text: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: '-apple-system', BlinkMacSystemFont, sans-serif; -webkit-tap-highlight-color: transparent; }
body { background-color: var(--black); color: var(--text); font-size: 16px; }

/* Üst Menü */
.app-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.8) 70%, transparent);
    padding: 15px 20px 5px 20px;
}
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.brand .title {
    font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.call-btn {
    background: var(--neon-green); color: #000; min-height: 35px; padding: 8px 15px; border-radius: 20px; font-weight: 700; text-decoration: none; font-size: 0.85rem; box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

/* İlçe Linkleri (Sayfalar Arası Geçiş) */
.district-nav { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.district-nav::-webkit-scrollbar { display: none; }
.nav-link, .nav-tab {
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; color: #ccc; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nav-link.active {
    background: var(--neon-green) !important;
    border-color: var(--neon-green) !important;
    color: #000 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.6) !important;
}
.nav-tab.active {
    background: linear-gradient(45deg, var(--neon-blue), rgba(0, 242, 254, 0.2));
    border-color: var(--neon-blue); color: #fff; box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Video / Görsel Akış Yuvası */
.vibe-container { width: 100%; height: 85vh; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.vibe-container::-webkit-scrollbar { display: none; }

.vibe-card {
    width: 100%; height: 100%; scroll-snap-align: start; position: relative; background-size: cover; background-position: center; display: flex; align-items: flex-end; background-color: #121212;
}
.vibe-card video, .vibe-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vibe-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 45%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); pointer-events: none; z-index: 2; }

.vibe-meta { position: absolute; bottom: 20px; left: 20px; z-index: 5; max-width: 70%; }
.vibe-meta h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.vibe-meta p { font-size: 0.85rem; color: #e0e0e0; line-height: 1.4; }
.district-tag { background: rgba(57, 255, 20, 0.15); border: 1px solid var(--neon-green); padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: bold; color: var(--neon-green); display: inline-block; margin-bottom: 5px; }

.vibe-actions { position: absolute; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 5; align-items: center; }
.action-container { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.action-container span { font-size: 0.75rem; color: #ccc; }
.action-btn {
    width: 45px; height: 45px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); color: #fff;
}
.action-btn.liked i { color: #ff2a74; }
.center-heart { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); font-size: 6rem; color: #ff2a74; pointer-events: none; z-index: 4; transition: transform 0.3s; }
.center-heart.pop { transform: translate(-50%, -50%) scale(1); }

/* Yorum ve Pop-up Alanları */
.comment-panel { position: fixed; bottom: -100%; left: 0; width: 100%; height: 60%; background: #121212; border-top-left-radius: 25px; border-top-right-radius: 25px; z-index: 100; transition: bottom 0.3s ease; padding: 20px; display: flex; flex-direction: column; }
.comment-panel.open { bottom: 0; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.comment-list { flex-grow: 1; overflow-y: auto; margin-bottom: 15px; }
.comment-item { font-size: 0.9rem; margin-bottom: 12px; }
.comment-item strong { color: var(--neon-blue); margin-right: 5px; }
.comment-input-area { display: flex; gap: 10px; }
.comment-input-area input { flex-grow: 1; background: #222; border: none; padding: 12px; border-radius: 12px; color: #fff; outline: none; }
.comment-input-area button { background: var(--neon-green); border: none; padding: 0 20px; border-radius: 12px; font-weight: bold; cursor: pointer; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; z-index: 99; }
.overlay.show { display: block; }

/* SEO MEGA CONTENT (İlçe Sayfaları İçin) */
.seo-mega-content { background-color: #0d0e12; padding: 50px 24px; border-top: 2px solid #1f2430; color: #b3c0d1; font-size: 0.95rem; line-height: 1.8; }
.seo-mega-content h1 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.seo-mega-content h2 { color: var(--neon-blue); font-size: 1.3rem; font-weight: 700; margin-top: 35px; margin-bottom: 15px; border-left: 3px solid var(--neon-green); padding-left: 10px; }
.seo-mega-content h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-top: 25px; margin-bottom: 10px; }
.seo-mega-content p { margin-bottom: 18px; text-align: justify; }
.seo-mega-content ul { margin-left: 20px; margin-bottom: 20px; list-style-type: square; }
.seo-mega-content ul li { margin-bottom: 8px; }
.seo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
@media(min-width: 768px) { .seo-grid { grid-template-columns: 1fr 1fr; } }
.seo-box { background: #161922; padding: 20px; border-radius: 12px; border: 1px solid #232936; }
.seo-box strong { color: var(--neon-green); }

/* SEO FOOTER (Ana Sayfa İçin) */
.seo-footer { background-color: #0b0c10; contain: layout; min-height: 100px padding: 40px 20px; border-top: 1px solid #1f2833; color: #a0aec0; }
.seo-footer h1, .seo-footer h2 { color: #fff; margin-bottom: 15px; font-size: 1.4rem; }
.seo-footer h2 { font-size: 1.1rem; margin-top: 20px; color: var(--neon-blue); }
.seo-footer p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 10px; }

/* MEGA MENÜ PANEL TASARIMI */
.mega-panel {
    position: fixed;
    top: 100%; /* Başlangıçta ekranın altında gizli */
    left: 0;
    width: 100%;
    height: 85vh; /* Ekranın %85'ini kaplar (Modern görünüm) */
    background: rgba(15, 15, 15, 0.98);
    border-top: 3px solid var(--neon-green);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 9999;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.mega-panel.open {
    top: 15vh; /* Açıldığında yukarı doğru kayar */
}

.mega-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.mega-panel-header h2 { font-size: 18px; color: white; letter-spacing: 1px; }
.close-panel-btn { background: none; border: none; color: #ff4444; font-size: 32px; cursor: pointer; }

/* Sekme Butonları */
.mega-tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    background: #222;
    border-radius: 8px;
    padding: 4px;
}

.mega-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: #aaa;
    padding: 10px 5px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    will-change: transform, opacity;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.mega-tab-btn.active {
    background: var(--neon-green);
    color: black;
}

/* İçerik Alanları */
.mega-panel-body { margin-top: 20px; height: calc(100% - 110px); overflow-y: auto; }
.mega-tab-content { display: none; }
.mega-tab-content.active { display: block; }

.mega-tab-content h3 { font-size: 16px; margin-bottom: 15px; color: var(--neon-green); }
.mega-tab-content label { display: block; font-size: 13px; margin-top: 10px; color: #ccc; margin-bottom: 5px; }

.mega-tab-content select, .mega-tab-content input {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: white;
    padding: 10px;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.hacim-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e1e1e;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}
.hacim-item input { width: 70px; text-align: center; padding: 5px; }

.calc-btn {
    width: 100%;
    background: var(--neon-green);
    color: black;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 15px;
}

.calc-result {
    margin-top: 15px;
    background: #222;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    border: 1px dashed var(--neon-green);
}

.contact-box { background: #1a1a1a; padding: 15px; border-radius: 8px; border-left: 4px solid var(--neon-green); }
.contact-box a { text-decoration: none; font-weight: bold; }

/* Menü Butonu Stili */
.menu-trigger {
    background: #00ff88 !important; /* Neon yeşil */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #000 !important;
    font-size: 20px !important;
    cursor: pointer;
    box-shadow: 0 0 10px #00ff88;
    margin-bottom: 5px;
}
/* İkonların yüklenmeden önce düzeni kaydırmasını engelleme */
.fa-solid, .fa-brands, .fa-regular, i[class*="fa-"] {
    display: inline-block;
    width: 1.25em; /* İkonların ortalama genişliği */
    height: 1em;    /* İkonların ortalama yüksekliği */
    text-align: center;
    vertical-align: middle;
    content-visibility: auto; /* Ekran dışındaki ikonların işlem yükünü azaltır */
}

/* ==========================================================================
   CLS DÜZELTME: Font Awesome İkon Alanlarını Önceden Rezerve Etme
   ========================================================================== */

/* İkonlar yüklenmeden önce tarayıcıda yerlerini rezerve ediyoruz, böylece sayfa oynamıyor */
.fa-solid, .fa-brands, .fa-regular, i[class*="fa-"] {
    display: inline-block;
    width: 1.25em;  /* İkon genişliğini sabitler */
    height: 1em;    /* İkon yüksekliğini sabitler */
    text-align: center;
    vertical-align: middle;
    content-visibility: auto; /* Ekran dışındaki ikonların işlem yükünü hafifletir */
}

/* Rapordaki "Yazı tipi görüntüleme (font-display)" uyarısının çözümü */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: block; /* İkonların yüklenirken harf gibi görünüp kayma yapmasını engeller */
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: block;
}