/* style.css - GÜNCEL TAM VERSİYON */

/* 1. GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

/* 2. HEADER (ÜST MENÜ) */
.site-header {
    background-color: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    width: 100%;
    /* Sidebar ile görsel hizayı tutturmak için kenar boşlukları */
    padding: 0 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Ayarları */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    letter-spacing: -1px;
}

.logo-icon {
    font-size: 20px;
    color: #ff3b30;
    margin-top: 4px;
}

/* Navigasyon */
.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #ff3b30;
}

.btn-iletisim {
    background-color: #000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-iletisim:hover {
    background-color: #333;
    color: #fff;
}

/* 3. SAYFA DÜZENİ (LAYOUT) */
.page-container {
    display: flex; /* Yan yana dizilim */
    width: 100%;
    margin: 0;
    align-items: flex-start;
}

/* 4. SIDEBAR (SOL MENÜ) - SABİT VE SOLA YAPIŞIK */
.sidebar-left {
    width: 280px;      /* Sabit Genişlik */
    flex-shrink: 0;    /* Asla daralma */
    background-color: #fff;
    border-right: 1px solid #eee;
    
    /* Sticky Özelliği */
    position: sticky;
    top: 80px;         /* Header altı */
    height: calc(100vh - 80px); /* Ekranın kalanı */
    overflow-y: auto;
    z-index: 90;
}

.sidebar-left::-webkit-scrollbar {
    width: 5px;
}
.sidebar-left::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

/* Sidebar Sekmeleri */
.sidebar-tabs {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
    flex: 1;
    border: none;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background-color: #f1f3f5;
    color: #333;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #ff3b30;
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: #e2e6ea;
}

/* İstasyon Listesi */
.station-list {
    padding: 10px 0;
}

.station-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    transition: background 0.2s;
}

.station-item:hover {
    background-color: #f8f8f8;
}

.station-logo {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Logo Renkleri */
.logo-joyturk { background: linear-gradient(to right, #ec407a, #d81b60); }
.logo-superfm { background-color: #fb8c00; }
.logo-virgin { background-color: #d50000; }
.logo-metro { background-color: #00b0ff; }
.logo-joyfm { background-color: #1a237e; }
.logo-joyakustik { background-color: #d4a017; }
.logo-pop90 { background-color: #212121; }

.station-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}
.station-info .song { font-size: 13px; color: #444; }
.station-info .artist { font-size: 12px; color: #999; margin-top: 1px; }


/* 5. ANA İÇERİK - SAĞ TARAF */
.main-content {
    flex: 1; /* Kalan tüm alanı kapla */
    padding: 30px 40px;
    background-color: #f4f4f4;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    /* ÖNEMLİ: Burada align-items center YAPMIYORUZ, yoksa kartlar küçülür */
}

/* KRİTİK NOKTA: İçerik Bölümlerini Ortala */
/* Bu kod hero-section, content-section gibi ana blokları ortalar */
.main-content > section {
    width: 100%;
    max-width: 1250px; /* İçerik çok yayılmasın diye sınır */
    margin-left: auto; /* Sol boşluğu otomatik ayarla */
    margin-right: auto; /* Sağ boşluğu otomatik ayarla */
}

/* Manşet (Hero) */
.hero-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px; /* Alttaki bölüme boşluk */
}

.hero-image {
    flex: 2;
    background-color: #333;
    min-height: 280px;
    position: relative;
    background-image: linear-gradient(45deg, #444, #666);
}

.hero-image .tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff3b30;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.hero-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #000;
}

.hero-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-dinle {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.2s;
}

.btn-dinle:hover {
    transform: scale(1.05);
    background-color: #ff3b30;
}

/* Kart Gridleri */
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid #ff3b30;
    padding-left: 10px;
}

.content-section {
    margin-bottom: 50px; /* Bölümler arası boşluk */
}

.card-grid {
    display: grid;
    /* Kartların boyutunu ekrana göre ayarla */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.program-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-img-top {
    height: 140px;
    background-color: #ffebee;
}

.card-body { padding: 15px; }
.card-body h3 { font-size: 16px; margin-bottom: 5px; color: #000; }
.card-body .desc { font-size: 13px; color: #777; margin-bottom: 10px; }
.card-body .time { font-size: 11px; background-color: #f5f5f5; padding: 4px 8px; border-radius: 4px; color: #333; font-weight: 600; }

/* 6. MOBİL UYUM (RESPONSIVE) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span { width: 25px; height: 3px; background-color: #000; border-radius: 2px; }
#menu-toggle { display: none; }

@media (max-width: 900px) {
    /* Sidebar'ı Gizle */
    .sidebar-left { display: none; }
    
    /* Sayfa yapısını dikey yap */
    .page-container { flex-direction: column; }
    
    .header-container { padding: 0 20px; }
    
    .main-content { width: 100%; padding: 20px; }

    /* Mobilde menüyü aç */
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute; top: 80px; left: 0; width: 100%;
        background-color: #fff; flex-direction: column; padding: 20px 0;
        border-top: 1px solid #eee; display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-menu li { margin: 10px 0; }
    #menu-toggle:checked ~ .nav-menu { display: flex; }
    
    /* Hero kartı mobilde alt alta */
    .hero-card { flex-direction: column; }
    .hero-image { min-height: 200px; }
}
/* --- HAKKIMIZDA SAYFASI ÖZEL --- */

/* Hakkımızda Başlık Alanı */
.about-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.about-header h1 {
    font-size: 32px;
    color: #000;
    margin-bottom: 10px;
}

.about-header p {
    font-size: 16px;
    color: #666;
}

/* Metin Kutusu */
.about-text-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    line-height: 1.8; /* Yazıların okunabilirliğini artırır */
    color: #444;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.about-text-box p {
    margin-bottom: 20px;
}

/* Hakkımızda İkonlu Kartlar */
.about-card {
    text-align: center;
    padding: 20px 0;
    border: none;
    box-shadow: none; /* Gölgeyi kaldırıp daha düz yapalım */
    background-color: transparent; /* Arka plan şeffaf */
}

.about-card .card-body {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    border: 1px solid #eee;
    transition: 0.3s;
}

.about-card:hover .card-body {
    border-color: #ff3b30;
    transform: translateY(-5px);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
/* --- PROGRAMCILAR SAYFASI ÖZEL --- */

/* Basit Sayfa Başlığı */
.page-header-simple {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.page-header-simple h1 {
    font-size: 28px;
    color: #000;
    margin-bottom: 5px;
}

.page-header-simple p {
    color: #666;
    font-size: 15px;
}

/* DJ Kartı Özelleştirmesi */
.dj-card .dj-img {
    height: 250px; /* Programcı fotoğrafları daha uzun/dik olur */
    position: relative; /* Overlay için */
}

/* Program İsmi Rengi */
.dj-program-name {
    color: #ff3b30 !important; /* Program adını kırmızı yap */
    font-weight: 600;
    margin-bottom: 5px !important;
}

/* Hover Efekti (Overlay) */
.dj-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* Siyah transparan */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Başlangıçta gizli */
    transition: opacity 0.3s;
}

.dj-card:hover .dj-overlay {
    opacity: 1; /* Üzerine gelince göster */
}

.btn-profile {
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.dj-card:hover .btn-profile {
    transform: translateY(0);
}
/* --- PROGRAMLAR SAYFASI (FİLTRELEME) --- */

.filter-container {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    border: none;
    outline: none;
    padding: 10px 24px;
    background-color: #fff;
    cursor: pointer;
    border-radius: 30px; /* Hap şeklinde buton */
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    border: 1px solid #eee;
}

/* Aktif buton veya üzerine gelince */
.filter-btn:hover, .filter-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* Program üzerindeki küçük etiket */
.program-badge {
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-top-right-radius: 8px;
    margin-bottom: 0;
    width: 100%;
    backdrop-filter: blur(2px);
}

/* FİLTRELEME ANİMASYONU */
.filter-item {
    display: none; /* Varsayılan olarak gizli */
}

.filter-item.show {
    display: block; /* JS ile 'show' classı eklenince görünür */
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- YAYIN AKIŞI SAYFASI --- */

/* Gün Sekmeleri (Tabs) */
.days-tab-container {
    display: flex;
    overflow-x: auto; /* Mobilde taşarsa kaydırılabilsin */
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.day-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap; /* Yazı alt satıra inmesin */
}

.day-btn:hover {
    color: #333;
}

.day-btn.active {
    color: #000;
    border-bottom-color: #ff3b30; /* Aktif günün altı kırmızı */
}

/* Gün Başlığı */
.day-title {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

/* Timeline (Zaman Çizelgesi) Yapısı */
.schedule-row {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

/* Sol Taraf: Saat */
.time-col {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    position: relative;
    flex-shrink: 0;
}

.time-text {
    font-size: 16px;
    font-weight: 800;
    color: #333;
    background-color: #f4f4f4; /* Arka plan rengiyle aynı olsun ki çizgi üstüne binmesin */
    z-index: 2;
    padding: 5px;
}

/* Dikey Çizgi */
.time-col .line {
    position: absolute;
    top: 0;
    bottom: -20px; /* Aşağıya uzansın */
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Son elemanın çizgisini gizle (Opsiyonel) */
.schedule-row:last-child .time-col .line {
    display: none;
}

/* Sağ Taraf: Program Bilgisi */
.info-col {
    flex: 1;
    padding-left: 20px;
}

.prog-card-mini {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.prog-card-mini:hover {
    transform: translateX(5px);
}

.mini-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
    background-color: #ddd;
    flex-shrink: 0;
}

.mini-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #000;
}

.mini-info p {
    font-size: 13px;
    color: #777;
}

/* CANLI YAYIN EFEKTLERİ */
.schedule-row.live-now .time-text {
    color: #ff3b30; /* Saati kırmızı yap */
}

.schedule-row.live-now .prog-card-mini {
    border: 1px solid #ff3b30; /* Kartın çerçevesi kırmızı */
    background-color: #fff5f5; /* Hafif kırmızı arka plan */
}

.live-badge {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    animation: pulse 2s infinite;
}

/* Canlı Yayında yazısının yanıp sönmesi */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Mobilde Badge'i alta al */
@media (max-width: 600px) {
    .prog-card-mini {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .mini-img { margin-bottom: 10px; }
    .live-badge {
        position: static;
        margin-top: 10px;
        transform: none;
        display: inline-block;
    }
}
/* --- İLETİŞİM SAYFASI ÖZEL --- */

/* Kart Yapısı */
.contact-card {
    border: none !important; /* Standart kenarlığı kaldır */
    transition: transform 0.3s ease;
}

.centered-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px !important;
}

/* İkon Alanları */
.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Renk Temaları */
/* WhatsApp Yeşili */
.whatsapp-box .contact-icon { background-color: #25D366; }
.btn-whatsapp { color: #25D366; background-color: rgba(37, 211, 102, 0.1); }
.btn-whatsapp:hover { background-color: #25D366; color: #fff; }

/* Email Mavisi */
.email-box .contact-icon { background-color: #007bff; }
.btn-email { color: #007bff; background-color: rgba(0, 123, 255, 0.1); }
.btn-email:hover { background-color: #007bff; color: #fff; }

/* Konum Grisi */
.location-box .contact-icon { background-color: #333; }
.btn-location { color: #333; background-color: rgba(51, 51, 51, 0.1); }
.btn-location:hover { background-color: #333; color: #fff; }

/* Kart Butonları */
.btn-contact {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* --- İLETİŞİM FORMU --- */
.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

/* Mobilde formu tek sütun yap */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 20px; }
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input, 
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: #000;
    background-color: #fff;
}

.btn-submit {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    align-self: flex-start; /* Butonu sola yasla */
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ff3b30; /* Hoverda kırmızı olsun */
}

.hero-section {
    padding: 20px;
    margin-bottom: 30px;
}

.hero-card {
    display: flex; /* Yan yana dizilim sağlar */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-height: 300px; /* Kutunun yüksekliği */
}

/* Sol taraf: Görsel Kutusu */
.hero-image-container {
    flex: 1.2; /* Görsel alanına daha fazla yer veriyoruz */
    position: relative;
    background: #333; /* Resim yüklenene kadar boş durmasın */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya tam yayar ve kesmez */
    display: block;
}

.tag-live {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
}

/* Sağ taraf: Metin Alanı */
.hero-info-content {
    flex: 1; /* Yazı alanı */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortalar */
    background: #fff;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text {
    font-size: 16px;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-play-hero {
    align-self: flex-start; /* Butonu sola dayalı tutar */
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play-hero:hover {
    background: #e74c3c;
    transform: scale(1.05);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hero-card {
        flex-direction: column; /* Mobilde alt alta geçer */
    }
    .hero-image-container {
        height: 200px;
    }
    .hero-info-content {
        padding: 25px;
    }
    .hero-title {
        font-size: 24px;
    }
}
