/* 1. DEĞİŞKENLER VE GENEL AYARLAR */
:root {
    --bg-main: #0b0d12;
    --bg-card: #161920;
    --accent-cyan: #00d4ff;
    --accent-pink: #ff2d75;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --grad-neon: linear-gradient(90deg, #00d4ff, #ff2d75);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 2. HERO BÖLÜMÜ */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/layout/dj-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.highlight { color: var(--accent-cyan); }

.btn-listen {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    margin-top: 20px;
    transition: 0.3s;
    cursor: pointer;
    font-weight: bold;
}

.btn-listen:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 3. BÖLÜM BAŞLIKLARI */
.section-title {
    margin: 60px 0 30px;
    font-size: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i { color: var(--accent-cyan); }

/* 4. PROGRAMCILAR */
.programmers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.programmer-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.03);
}

.programmer-card:hover { transform: translateY(-10px); border-color: var(--accent-cyan); }

.hex-container {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    position: relative;
}

.hex-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    border: 2px solid var(--accent-cyan);
}

/* 5. HABERLER */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.news-card:hover { transform: scale(1.02); }

.news-thumb {
    position: relative;
    height: 220px; /* Görsel yüksekliği sabitlendi */
    width: 100%;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.85);
    padding: 8px 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent-cyan);
    z-index: 2;
}

.news-body { padding: 20px; background: var(--bg-card); }
.news-body h4 { font-size: 1.1rem; line-height: 1.4; color: #eee; }

/* 6. YAYIN AKIŞI (DÜZELTİLDİ) */
.schedule-list {
    display: flex;
    overflow-x: auto; /* Kutular sığmazsa sağa kayar */
    gap: 20px;
    padding: 20px 5px 40px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-main);
}

/* Kaydırma çubuğu tasarımı */
.schedule-list::-webkit-scrollbar { height: 6px; }
.schedule-list::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 10px; }

.schedule-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    min-width: 280px; /* Kutuların ezilmesini engeller */
    flex-shrink: 0;   /* Kutuların yan yana kalmasını sağlar */
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.schedule-item.now-playing {
    border: 1px solid var(--accent-pink);
    background: rgba(255, 45, 117, 0.05);
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.15);
}

.live-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent-pink);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-item .time { 
    color: var(--accent-cyan); 
    font-size: 0.9rem; 
    font-weight: bold;
    display: block; 
    margin-bottom: 10px; 
}

.schedule-item h5 { font-size: 1.2rem; margin-bottom: 5px; }
.schedule-item p { color: var(--text-gray); font-size: 0.9rem; }

/* 7. SPONSORLAR */
.sponsor-wrapper {
    background: var(--bg-card);
    padding: 50px 0;
    margin-top: 60px;
    border-radius: 20px;
}

.sponsor-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.sponsor-item img {
    height: 120px;
    filter: grayscale(1) brightness(0.8);
    transition: 0.4s;
    opacity: 0.6;
}

.sponsor-item img:hover { filter: none; opacity: 1; transform: scale(1.1); }

/* MOBİL AYARLAR */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.2rem; }
    .schedule-item { min-width: 240px; }
}

/* GENEL FOOTER TASARIMI */
.modern-footer {
    background: #0b0d12;
    padding: 60px 0 120px; /* Player için altta boşluk bıraktık */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: var(--accent-cyan); margin-bottom: 15px; }
.footer-brand p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 20px; }

.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { 
    color: var(--text-gray); 
    text-decoration: none; 
    transition: 0.3s; 
}
.footer-links a:hover { color: var(--accent-cyan); padding-left: 5px; }

.footer-contact p { color: var(--text-gray); margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact i { width: 25px; color: var(--accent-cyan); }

/* SABİT MODERN PLAYER */
.modern-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(22, 25, 32, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 15px 0;
    z-index: 1000;
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Player Sol Kısım (Bilgi) */
.now-playing-info { display: flex; align-items: center; gap: 15px; }
.playing-visual { display: flex; gap: 3px; height: 20px; align-items: flex-end; }
.playing-visual span { width: 3px; background: var(--accent-cyan); border-radius: 3px; }
.playing-visual.active span { animation: bounce 0.5s ease infinite alternate; }

.track-details h6 { margin: 0; font-size: 1rem; color: #fff; }
.live-label { font-size: 0.7rem; background: var(--accent-pink); color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: bold; }

/* Player Orta Kısım (Kontroller) */
.player-controls { display: flex; align-items: center; gap: 20px; }
.play-trigger { 
    width: 45px; height: 45px; border-radius: 50%; border: none; 
    background: var(--accent-cyan); color: #000; cursor: pointer; transition: 0.3s;
}
.play-trigger:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--accent-cyan); }

.volume-box { display: flex; align-items: center; gap: 10px; }
input[type=range] { accent-color: var(--accent-cyan); cursor: pointer; }

/* WhatsApp Butonu */
.action-btn.wa {
    background: #25d366;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Header Genel Tasarımı */
.main-header {
    background: rgba(11, 13, 18, 0.7); /* Transparan koyu arka plan */
    backdrop-filter: blur(15px); /* Cam efekti */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigasyon Linkleri */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 20px !important;
    transition: 0.3s all ease;
    border-bottom: 2px solid transparent;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #00d4ff !important; /* Cyan rengi */
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid #00d4ff;
}

/* Canlı Yayın Butonu (image_ad9667'deki neon gradyan) */
.btn-live {
    background: linear-gradient(90deg, #00d4ff 0%, #ff2d75 100%);
    color: white !important;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: 0.3s;
}

.btn-live:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 45, 117, 0.4);
}

/* Logo Metin Ayarları */
.logo-text span {
    line-height: 1;
    color: white;
}

/* Modern Ses Slider Tasarımı */
.modern-slider {
    -webkit-appearance: none;
    width: 150px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #00d4ff; /* Admin panelindeki buton rengiyle uyumlu */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.modern-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: pointer;
}

.sidebar-menu .list-group-item {
    transition: 0.3s all;
    border-left: 3px solid transparent;
}

.sidebar-menu .list-group-item:hover {
    background: #1a1d24 !important;
    border-left: 3px solid #00d4ff;
    padding-left: 25px;
}

.card-admin {
    background: #161920;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
}

.form-control { 
    background: #0b0d12; 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 8px; 
    padding: 10px;
}
.form-control:focus { 
    background: #0b0d12; 
    color: #fff; 
    border-color: #00d4ff; 
    box-shadow: none; 
}

<style>
    .card-admin {
        background: #161920;
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 15px;
    }
    .form-control {
        background: #0b0d12 !important;
        border: 1px solid #2a2e35 !important;
        color: white !important;
        padding: 12px;
    }
    .form-control:focus {
        border-color: #00d4ff !important;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.2) !important;
    }
    .btn-info {
        background-color: #00d4ff;
        border: none;
    }
</style>