@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    color: white;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .hero-section {
        height: 65vh;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: 
        linear-gradient(to bottom, rgba(1, 3, 76, 0.6) 0%, rgba(1, 3, 76, 0.1) 20%, rgba(0,0,0,0) 50%, rgba(1, 3, 76, 0.7) 100%), 
        url('https://yenikafa.com.tr/rfr/rfr1.jpg');
    background-size: cover;
    background-position: center;
    transition: opacity 0.4s ease-in-out;
}

/* Glassmorphism Butonlar */
.glass-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.top-action-btn {
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    gap: 6px;
    letter-spacing: 0.5px;
}

.top-icon-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
}

.lang-btn {
    width: 38px;
    height: 38px;
    font-size: 13px;
    font-weight: 800;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: opacity 0.3s;
}
.nav-link:hover {
    opacity: 0.7;
}

.hizli-menu-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

/* Yan Küçük Resimler (Thumbnails) */
.side-thumbnails-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 40;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 15px;
    border-radius: 40px 0 0 40px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
}
@media (max-width: 1024px) {
    .side-thumbnails-wrapper {
        padding: 10px 5px;
        border-radius: 0;
        gap: 12px;
        background: transparent;
        box-shadow: none;
    }
}

.thumb-item {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-thumb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@media (max-width: 1024px) {
    .side-thumb { width: 38px; height: 38px; }
}

.thumb-item.active .side-thumb {
    transform: scale(1.15);
    border-color: #100587; /* Yeni Buton Rengi */
    box-shadow: 0 6px 15px rgba(16, 5, 135, 0.4);
}

.thumb-item:hover .side-thumb { transform: scale(1.1); }
.thumb-item.active:hover .side-thumb { transform: scale(1.15); }

/* Slider Kontrolleri */
.slider-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-indicator {
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 6px;
    cursor: pointer;
}

.slider-indicator.active {
    width: 50px;
    background: white;
}

/* Mouse Scroll İkonu */
.discover-area {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 30;
}
@media (max-width: 1024px) {
    .discover-area {
        bottom: 25px;
    }
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid white;
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
}
.mouse-icon::after {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
    border-radius: 2px;
    animation: scroll-anim 1.5s infinite;
}

@keyframes scroll-anim {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* --- SCROLLBAR ÖZELLEŞTİRMELER --- */
.custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.03); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(1, 3, 76, 0.3); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(16, 5, 135, 0.6); }

.menu-scrollbar::-webkit-scrollbar { width: 6px; }
.menu-scrollbar::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
.menu-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.6); border-radius: 10px; }
.menu-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.9); }
.menu-scrollbar { scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.1); scrollbar-width: thin; }

/* --- HIZLI MENÜ (SOL PANEL) --- */
.left-menu-btn {
    background: white;
    color: #01034C; /* Yeni Hakim Renk */
    padding: 0 1.5rem;
    height: 54px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    display: flex;
    align-items: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-transform: uppercase;
}
.left-menu-btn:hover { background: #eef7fb; color: #100587; }
.left-menu-btn.active {
    background: #100587; /* Yeni Buton Rengi */
    color: white;
    box-shadow: 0 4px 12px rgba(16, 5, 135, 0.4);
}

/* Footer Background - Orijinal Hali Korundu */
.footer-bg {
    background-image: linear-gradient(to right, rgba(11, 27, 48, 0.98), rgba(27, 61, 109, 0.96)), url('https://images.unsplash.com/photo-1541339907198-e08756ebafe3?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

/* Haberler Aktif Çerçeve Glow Efekti - Yeni Buton Rengi İle */
.news-active-glow {
    border: 2px solid rgba(16, 5, 135, 0.6) !important;
    box-shadow: 0 0 18px rgba(16, 5, 135, 0.3) !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* --- MOBİL SABİT ALT BAR CSS --- */
:root {
    --mobile-bg-color: #ffffff;
    --mobile-menu-height: 75px; 
}
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(var(--mobile-menu-height) + 15px);
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}
.nav-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--mobile-menu-height);
    filter: drop-shadow(0 -4px 10px rgba(0,0,0,0.15));
}
.nav-background svg {
    width: 100%;
    height: 100%;
    display: block;
}
.search-button-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    z-index: 20;
}
.search-button-mobile {
    width: 64px;
    height: 64px;
    background-color: #100587; /* Yeni Buton Rengi */
    border-radius: 50%;
    border: 5px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 5, 135, 0.3);
    transition: transform 0.2s ease, background-color 0.3s ease;
    outline: none;
    color: #ffffff;
    font-size: 20px;
}
.search-button-mobile:active { 
    transform: scale(0.9); 
    background-color: #1C0BB8;
}

.menu-items-mobile {
    position: absolute;
    bottom: 15px; 
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 5px;
    z-index: 10;
}
.menu-item-mobile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #100587; /* Burası #01034C iken yeni mavi buton rengi ile değiştirildi */
    transition: color 0.2s, opacity 0.2s;
    opacity: 1;
    gap: 6px;
}
.menu-item-mobile:active { opacity: 0.6; }
.menu-item-mobile.active { 
    font-weight: 800;
    color: #100587; /* Yeni Buton Rengi */
}
.menu-item-mobile i { font-size: 22px; }
.menu-item-mobile span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}
.menu-spacer-mobile { width: 80px; flex-shrink: 0; }
.safe-area-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 15px;
    background-color: var(--mobile-bg-color);
}

/* Mobil Hızlı Menü Akordeon Özelleştirmeleri (Sağ Menü) */
.mobile-acc-btn {
    background-color: #100587; /* Yeni Buton Rengi */
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 800;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 10px rgba(16, 5, 135, 0.2);
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}
.mobile-acc-btn:hover {
    background-color: #1C0BB8;
}
.mobile-acc-content {
    display: none;
    padding: 0.5rem 0 1rem 0;
}
.mobile-acc-content.open {
    display: grid;
}