/* assets/css/style.css - FINAL PREMIUM DESIGN */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Electric Blue & Deep Navy Paleti */
    --primary: #2563eb;       
    --primary-dark: #1e40af;  
    --accent: #06b6d4;        
    
    --bg-body: #f8fafc;       
    --bg-surface: #ffffff;    
    
    --text-main: #0f172a;     
    --text-muted: #64748b;    
    
    --radius: 20px;           
    
    --shadow-card: 0 4px 6px -1px rgba(148, 163, 184, 0.1), 0 2px 4px -1px rgba(148, 163, 184, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}
.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 10px;
}
.nav-link:hover { color: var(--primary) !important; background: rgba(37,99,235,0.05); }

/* --- HERO SECTION VE BOŞLUK DÜZELTMELERİ --- */

.hero-wrapper {
    /* Gradient, menünün arkasında da devam etsin diye margin-top yok */
    margin-top: 0 !important;
    
    /* Menü yüksekliği (yaklaşık 80px) + 20px boşluk */
    padding-top: 110px !important; 
    
    /* Alttaki boşluğu iyice kıstık (Search ile içerik arası) */
    padding-bottom: 1.5rem !important; 
    
    /* Alt kenar boşluğunu sıfırladık, içerikle bütünleşsin */
    margin-bottom: 0 !important; 
    
    /* Mevcut Gradientin */
    background: linear-gradient(
        180deg, 
        #e0f2fe 0%, 
        #ffffff 50%, 
        var(--bg-body) 100%
    );
}

/* Mobilde menü daha kısa olabilir, ayar çekelim */
@media (max-width: 768px) {
    .hero-wrapper {
        padding-top: 90px !important;
        padding-bottom: 1rem !important;
    }
}

/* Başlıkların Rengini Garantiye Alalım */
h2, .h2, .h4, .h5 {
    color: #1e293b; /* Koyu gri/lacivert (Siyah yerine daha şık) */
}

.hero-search {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    transition: transform 0.3s;
}
.hero-search:focus-within { transform: scale(1.02); border-color: var(--primary); }
.hero-search input { border: none; padding-left: 1.5rem; font-size: 0.95rem; }
.hero-search input:focus { box-shadow: none; }
.hero-search button {
    border-radius: 50px; padding: 0.6rem 2rem; background: var(--text-main); 
    color: white; border: none; font-weight: 600; font-size: 0.9rem;
}

/* --- PREMIUM BENTO GRID TASARIMI --- */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* KART YAPISI */
.bento-item-main, .bento-item-side {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); /* Daha derin gölge */
    text-decoration: none;
    background-color: #1e293b; /* Resim yoksa görünecek renk */
    display: block;
}

/* Büyük Kutu Konumu */
.bento-item-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* RESİM EFEKTLERİ */
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Zoom Efekti */
.bento-item-main:hover .bento-img, 
.bento-item-side:hover .bento-img {
    transform: scale(1.1); /* %10 büyüt */
}

/* KARARTMA (GRADIENT OVERLAY) */
.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aşağıdan yukarıya doğru koyulaşan profesyonel gradient */
    background: linear-gradient(
        to bottom, 
        rgba(15, 23, 42, 0) 0%, 
        rgba(15, 23, 42, 0.2) 50%, 
        rgba(15, 23, 42, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

/* Küçük kutularda padding daha az olsun */
.bento-item-side .bento-overlay {
    padding: 1.5rem;
}

/* BAŞLIKLAR */
.bento-title {
    color: #fff;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bento-item-main .bento-title { font-size: 2.2rem; }
.bento-item-side .bento-title { font-size: 1.25rem; }

/* AÇIKLAMA METNİ */
.bento-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
    display: block;
}

/* ROZET (Sol Üst) */
.bento-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px); /* Buzlu cam efekti */
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* PLAY IKONU (Hover'da Çıkan) */
.play-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: #3b82f6; /* Marka rengin neyse buraya koy (Primary) */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5); /* Glow efekti */
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 4;
}

.bento-item-main:hover .play-icon, 
.bento-item-side:hover .play-icon {
    transform: scale(1);
    opacity: 1;
}

/* MOBİL UYUM */
@media (max-width: 991px) {
    .bento-grid { 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto;
    }
    .bento-item-main {
        grid-column: 1 / 3;
        height: 320px;
    }
    .bento-item-side { height: 200px; }
}

@media (max-width: 576px) {
    .bento-grid { grid-template-columns: 1fr; gap: 1rem; }
    .bento-item-main { grid-column: 1 / 2; height: 280px; }
    .bento-item-side { height: 160px; }
    .bento-item-main .bento-title { font-size: 1.75rem; }
}


/* BLOG CARDS */
.blog-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-card); transition: 0.3s; border: none; height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-img-container { height: 200px; overflow: hidden; }
.blog-img-container img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-content { padding: 1.5rem; }
.blog-title { font-weight: 700; font-size: 1.1rem; line-height: 1.4; margin-bottom: 0; }
.blog-meta { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }

/* SIDEBAR */
.sidebar-widget {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    box-shadow: var(--shadow-card); margin-bottom: 2rem;
}
.country-item {
    display: flex; justify-content: space-between; padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9; color: var(--text-muted); font-weight: 500;
}
.country-item:last-child { border-bottom: none; }
.country-item:hover { color: var(--primary); padding-left: 5px; }
.count-badge { background: #f1f5f9; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }

/* FOOTER */
footer { background: #fff; margin-top: 5rem; padding: 4rem 0 2rem; border-top: 1px solid #e2e8f0; }

/* MOBİL UYUM */
@media (max-width: 991px) {
    .bento-grid { display: flex; flex-direction: column; height: auto; }
    .bento-item-main { height: 320px; }
    .bento-item-side { height: 200px; }
}

/* 1. MOOD CHIPS (Arama altı hızlı butonlar) */
.mood-chips {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.mood-chip {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    transition: 0.2s;
    backdrop-filter: blur(5px);
}
.mood-chip:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* 2. HORIZONTAL STATIONS RAIL (Yatay Kaydırıcı) */
.stations-rail-wrapper {
    position: relative;
    margin-bottom: 0rem;
}
.stations-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem 0.5rem; /* Alt boşluk gölge için */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox scrollbar gizle */
}
.stations-scroll-container::-webkit-scrollbar { display: none; /* Chrome gizle */ }

.station-circle-card {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    transition: 0.3s;
}
.station-circle-img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Yuvarlak Logo */
    background: #fff;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
}
.station-circle-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.station-circle-card:hover .station-circle-img {
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-hover);
}
.station-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.station-genre { font-size: 0.75rem; color: var(--text-muted); }

/* 3. PREMIUM FOOTER */
/* 3. PREMIUM FOOTER (GÜNCELLENMİŞ TAM HALİ) */
.footer-premium {
    background-color: #0f172a; /* Baz koyu renk */
    /* İSTEDİĞİN MAVİ IŞIK EFEKTİ */
    background-image: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.20), rgba(15, 23, 42, 1) 75%);
    background-size: cover;
    background-position: center;
    
    color: #94a3b8; /* Gri metin varsayılanı */
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-premium h5 {
    color: #fff; /* Başlıklar Beyaz */
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-premium a {
    color: #94a3b8; /* Linkler Gri */
    transition: 0.2s;
    display: block;
    margin-bottom: 0.8rem;
    text-decoration: none;
}

.footer-premium a:hover {
    color: var(--primary); /* Hover olunca Mavi */
    padding-left: 5px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* Sosyal Medya İkonları */
.social-links a {
    display: inline-block;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    color: #fff !important; /* İkon rengi hep beyaz kalsın */
    border: 1px solid transparent; /* Hover'da zıplamayı engellemek için */
}

.footer-premium .social-links a:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    padding-left: 0; /* Normal linklerdeki kaymayı burada iptal ediyoruz */
}

/* --- YENİ EKLENEN INPUT AYARLARI (Yazı Rengi & Mavi Çizgi İptali) --- */

/* Footer Newsletter Input */
.footer-premium input.form-control {
    background: rgba(255,255,255,0.05) !important; /* Hafif şeffaf zemin */
    color: #ffffff !important; /* YAZILAN YAZI BEYAZ */
    border: 1px solid rgba(255,255,255,0.1);
}

/* Placeholder (İpucu yazısı "Email address" vb.) rengi */
.footer-premium input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Footer buton ayarı */
.footer-premium .btn-primary {
    border-radius: 0 5px 5px 0 !important; /* Buton sağa yapışık olsun */
}

.footer-bottom a {
    display: inline-block !important; /* Blok olmayı iptal et */
    width: auto !important;
    margin-bottom: 0 !important; /* Alt boşluğu sıfırla */
}

/* 2. "A product of" kısmındaki linkin rengini ve hizasını koru */
.footer-bottom .text-decoration-none {
    display: inline !important; /* Metinle aynı hizada aksın */
}

/* 3. Sağ taraftaki Privacy ve Terms linklerinin arasını aç */
.footer-bottom .col-md-3 a {
    margin-left: 10px;
}

.footer-premium .footer-bottom a:hover {
    padding-left: 0 !important; /* Sağa kaymayı iptal et */
    transform: none !important; /* Varsa başka hareketleri durdur */
}

/* --- GLOBAL FOCUS AYARI (Mavi Çerçeveyi Her Yerden Kaldırır) --- */
input:focus, 
textarea:focus, 
select:focus, 
button:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: none !important; /* Mavi gölgeyi sil */
    outline: none !important;    /* Dış çizgiyi sil */
    border-color: rgba(255,255,255,0.3) !important; /* Tıklayınca hafif beyaz olsun, mavi değil */
}

/* Footer Alt Kısım */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.85rem;
    /* text-align center'ı sildik çünkü PHP'de satır ayarı yaptık */
}

/* --- GENRE TAGS (KUTU TASARIMI) --- */

.genre-tags-wrapper {
    /* Mobilde sığmazsa aşağı kaysın diye flex-wrap zaten HTML'de var */
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    /* Kutu Görünümü */
    background-color: #f8fafc; /* Çok açık gri/beyaz */
    border: 1px solid #e2e8f0; /* İnce çerçeve */
    border-radius: 12px; /* Hafif yuvarlatılmış köşeler (Hap gibi değil) */
    
    padding: 14px 24px;
    min-width: 120px; /* Hepsi en az bu kadar geniş olsun */
    
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* Çok hafif gölge */
}

/* İkon Rengi */
.genre-tag i {
    color: #94a3b8; /* Pasifken gri ikon */
    font-size: 1.1rem;
    transition: color 0.25s ease;
}

/* Hover (Üzerine Gelince) */
.genre-tag:hover {
    background-color: #ffffff;
    border-color: #3b82f6; /* Mavi çerçeve */
    color: #3b82f6; /* Mavi yazı */
    transform: translateY(-3px); /* Yukarı kalkma efekti */
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.15); /* Mavi gölge */
}

.genre-tag:hover i {
    color: #3b82f6; /* İkon da mavi olsun */
}

/* "Hepsini Gör" Kutusu */
.genre-tag-all {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.genre-tag-all i {
    color: #ffffff;
}

.genre-tag-all:hover {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Guide Sayfası İçin Ekstra Stiller */
.station-card:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }
.transition-hover { transition: all 0.2s; }
.transition-hover:hover { background-color: #f1f5f9; padding-left: 12px !important; }

/* Blog Kart Efektleri */
.group-hover-link:hover .transition-transform { transform: scale(1.05); }
.group-hover-link:hover .group-hover-text { color: var(--primary) !important; }
.group-hover-link:hover .hover-overlay { opacity: 0.1 !important; }


/* --- BLOG LIST & CARDS --- */
.hero-section-blog {
    background-color: var(--light-bg);
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    margin-top: 80px;
}

.blog-card-horizontal {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}
.blog-card-horizontal .card-img-left {
    height: 100%;
    object-fit: cover;
    min-height: 250px;
    transition: transform 0.5s ease;
}
.blog-card-horizontal:hover .card-img-left {
    transform: scale(1.05);
}
.blog-card-horizontal .card-title a {
    color: var(--text-main);
    transition: color 0.2s;
}
.blog-card-horizontal .card-title a:hover {
    color: var(--primary-color);
}

/* --- BLOG DETAIL --- */
.blog-header-meta {
    font-size: 0.9rem;
    color: #6c757d;
}
.blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
}
.blog-content h2 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}
.blog-content h3 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- CROSS-LINK CARDS (Guide <-> Blog) --- */
.cross-link-card {
    border: none;
    background-color: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s;
}
.cross-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.cross-link-img {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    width: 100%;
}
.play-overlay {
    background: rgba(0,0,0,0.2);
    transition: background 0.3s;
}
.cross-link-card:hover .play-overlay {
    background: rgba(0,0,0,0.4);
}

/* --- SIDEBAR WIDGETS --- */
.widget-list-group .list-group-item {
    border: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: padding-left 0.2s;
}
.widget-list-group .list-group-item:hover {
    padding-left: 10px;
    background: transparent;
    color: var(--primary-color);
}
.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px 8px 0;
    background: #f1f5f9;
    color: #555;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}
.tag-cloud a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- GENRES PAGE DESIGN (Spotify Style Cards) --- */

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.genre-card-premium {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    aspect-ratio: 1 / 1; /* Tam kare kutular */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.genre-card-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.genre-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.genre-card-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Büyük İkon (Sağ alt köşe dekoru) */
.genre-card-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
    transition: all 0.3s ease;
    z-index: 1;
}

.genre-card-premium:hover .genre-card-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(255, 255, 255, 0.3);
    bottom: 10px;
    right: 10px;
}


/* --- GENRE RENK PALETLERİ (Genişletilmiş) --- */
.bg-gradient-pop { background: linear-gradient(135deg, #ec4899, #8b5cf6); } /* Pembe-Mor */
.bg-gradient-rock { background: linear-gradient(135deg, #ef4444, #991b1b); } /* Kırmızı-Bordo */
.bg-gradient-jazz { background: linear-gradient(135deg, #d97706, #78350f); } /* Viski/Kahve Tonu */
.bg-gradient-electronic { background: linear-gradient(135deg, #06b6d4, #2563eb); } /* Camgöbeği-Mavi */
.bg-gradient-hiphop { background: linear-gradient(135deg, #f97316, #ea580c); } /* Turuncu */
.bg-gradient-classical { background: linear-gradient(135deg, #475569, #1e293b); } /* Gri-Siyah (Piyano) */
.bg-gradient-chill { background: linear-gradient(135deg, #10b981, #047857); } /* Yeşil (Doğa) */
.bg-gradient-latin { background: linear-gradient(135deg, #eab308, #ca8a04); } /* Sarı (Güneş) */
.bg-gradient-blues { background: linear-gradient(135deg, #3b82f6, #1e3a8a); } /* Koyu Mavi */
.bg-gradient-country { background: linear-gradient(135deg, #84cc16, #3f6212); } /* Çimen Yeşili */
.bg-gradient-retro { background: linear-gradient(135deg, #f43f5e, #be123c); } /* Retro Kırmızı */
.bg-gradient-spiritual { background: linear-gradient(135deg, #8b5cf6, #5b21b6); } /* Mistik Mor */
.bg-gradient-energy { background: linear-gradient(135deg, #e11d48, #9f1239); } /* Enerji Kırmızı */
.bg-gradient-gold { background: linear-gradient(135deg, #fbbf24, #b45309); } /* Altın */
.bg-gradient-dark { background: linear-gradient(135deg, #334155, #0f172a); } /* Koyu */
.bg-gradient-default { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.bg-gradient-metal { 
    background: linear-gradient(135deg, #334155 0%, #000000 100%); 
    /* Koyu Gri'den Tam Siyaha geçiş */
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .genre-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde yan yana 2 tane */
    }
    .genre-card-title { font-size: 1.1rem; }
    .genre-card-icon { font-size: 3.5rem; }
}


/* --- GLOBAL SEARCH INPUT FOCUS RESET --- */
/* Hem Genre (#genreFilter) hem Country (#countryFilter) için geçerli */

#genreFilter:focus,
#countryFilter:focus,
.hero-search input:focus {
    box-shadow: none !important; /* Mavi parlamayı kapat */
    outline: none !important;
    border-color: transparent !important; /* Varsa mavi kenarlığı sil */
}

/* Arama kutusuna tıklandığında dış çerçeve davranışı */
.input-group:focus-within,
.hero-search:focus-within {
    /* Mavi border yerine yumuşak bir gölge veya gri renk */
    border-color: #e2e8f0 !important; 
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important; /* Hafif bir derinlik ver */
}

/* --- DISCOVER MORE TAGS (Pill Design) --- */
.discover-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.genre-pill {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 50px; /* Tam yuvarlak köşeler */
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.genre-pill:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.genre-pill .count {
    background-color: rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    transition: all 0.2s;
}

.genre-pill:hover .count {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* --- COUNTRY CARDS --- */

/* VIP Kartlar (Büyük) */
.country-card-vip {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.country-card-vip:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.country-flag-vip {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Standart Kartlar (Küçük) */
.country-item-link {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.country-item-link:hover {
    background: #f8fafc;
    border-color: var(--primary);
    transform: translateX(5px);
}

.flag-icon {
    width: 28px;
    height: 21px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Kıtalar Menüsü (Tabs) */
.nav-pills-custom .nav-link {
    color: #64748b;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.nav-pills-custom .nav-link.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-pills-custom .nav-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: #0f172a;
}

/* --- COUNTRY DETAIL HERO --- */
.country-hero {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 6rem 0 4rem; /* Üst boşluk */
    margin-top: 53px; /* Navbar payı */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* Bulanık Arkaplan Bayrağı */
.country-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4); /* Bulanıklık ve Karartma */
    transform: scale(1.1); /* Kenarlarda beyazlık kalmasın diye büyütme */
    z-index: 0;
}

/* İçerik */
.country-hero-content {
    position: relative;
    z-index: 2;
}

/* Ortadaki Net Bayrak */
.country-hero-flag {
    width: 100px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.2);
}

/* --- SEO ARTICLE CONTENT --- */
.seo-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.seo-article-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* --- MUSIC AI STUDIO ÖZEL STİLLERİ --- */

/* 1. Hero Açıklama Metni (Siyah kalma sorununu çözer) */
.musicai-desc {
    color: rgba(255, 255, 255, 0.8) !important; /* Hafif şeffaf beyaz */
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Kart Hover Efektleri (MusicAI) */
.ai-card {
    display: block; /* Linkin blok davranmasını sağlar */
}

.ai-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-card:hover .card {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important; /* Gölgeyi biraz daha belirginleştirdim */
}

/* 3. Sidebar Liste Hover (Play ikonu çıkması için) */
.group-hover {
    position: relative; 
}
.group-hover:hover .group-hover-show { 
    opacity: 1 !important; 
}
.transition-opacity { 
    transition: opacity 0.3s ease; 
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- ANASAYFA AI HERO CARD (PREMIUM) --- */

.ai-hero-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: #0f172a; /* Yüklenirken görünecek renk */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    min-height: 380px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.ai-hero-wrapper:hover {
    transform: translateY(-5px);
}

/* Arkaplandaki Bulanık Resim */
.ai-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6); /* Bulanıklık ve Karartma */
    transform: scale(1.1); /* Kenar beyazlıklarını önlemek için zoom */
    z-index: 1;
}

/* Üzerindeki Karartma Gradyanı (Soldan sağa) */
.ai-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Eski: 0.9 -> 0.6 -> 0.2 idi */
    /* Yeni: 0.75 -> 0.4 -> 0.05 (Sağ taraf neredeyse tamamen şeffaf) */
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.05) 100%);
    z-index: 2;
}

/* İçerik Alanı */
.ai-hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    width: 100%;
    max-width: 800px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.ai-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.ai-hero-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .ai-hero-wrapper { min-height: auto; text-align: center; }
    .ai-hero-bg { filter: blur(4px) brightness(0.6); } /* Parlaklığı biraz artırdık */
    
    .ai-hero-overlay { 
        background: rgba(0,0,0,0.4); /* Eski: 0.6 idi, 0.4'e çektik */
    } 
    
    .ai-hero-content { padding: 2rem 1.5rem; margin: 0 auto; }
    .ai-hero-title { font-size: 2rem; }
    .ai-hero-meta { justify-content: center; font-size: 0.9rem; }
}

.navbar-nav .nav-link.active {
    font-weight: 700 !important; /* Kalın Font */
    color: var(--primary) !important; /* Mavi Yazı */
    background-color: rgba(37,99,235,0.05) !important; /* Açık Mavi Arkaplan */
    border-radius: 10px; /* Köşeleri yuvarla */
}

/* Hover durumunda da aynısı kalsın, değişmesin */
.navbar-nav .nav-link.active:hover {
    color: var(--primary) !important;
    background-color: rgba(37,99,235,0.05) !important;
}

/* --- BUTTON HOVER DÜZELTMESİ --- */

.btn-primary {
    /* 1. Kenarlık Kalınlığını Sabitle */
    border-width: 2px !important;
    border-style: solid !important;
    border-color: var(--primary) !important;
    
    /* Renk ve Geçiş Ayarları */
    background-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Hafif gölge */
}

/* Hover (Üzerine Gelince) Ayarları */
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    /* 2. Hover'da Kenarlık Boyutunu AYNI Tut (Daralmayı Önler) */
    border-width: 2px !important; 
    border-style: solid !important;
    
    /* Hover Rengi (Koyu Mavi) */
    border-color: #1e40af !important;
    background-color: #1e40af !important;
    
    /* Yazı Rengi (Beyaz Kalsın) */
    color: #ffffff !important;
    
    /* İstenmeyen efektleri sıfırla */
    transform: translateY(-2px); /* Çok hafif yukarı kalkma (küçülme değil) */
}

.footer-premium .social-links a {
    transition: all 0.3s ease;
    /* Varsayılan hali zaten footer.php içinde tanımlı */
}

/* Üzerine gelince (Hover) */
.footer-premium .social-links a:hover {
    background-color: var(--primary) !important; /* Arkaplan Mavi olsun */
    color: #ffffff !important; /* İkon Beyaz kalsın */
    border-color: var(--primary) !important; /* Kenarlık da Mavi olsun */
    transform: translateY(-3px); /* Hafif yukarı zıplasın */
}

/* --- PREMIUM TOAST NOTIFICATION (BİLDİRİM KARTI) --- */
.premium-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95); /* Sitenin koyu lacivert tonu */
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); /* Derin gölge */
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    
    /* Başlangıçta gizli (sağda) */
    transform: translateX(120%); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Sol tarafta renkli çizgi */
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(10px);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Görünür olma durumu */
.premium-toast.show {
    transform: translateX(0);
}

/* Başarı Durumu (Yeşil) */
.premium-toast.success {
    border-left-color: #22c55e;
}
.premium-toast.success i {
    color: #22c55e;
}

/* Hata Durumu (Kırmızı) */
.premium-toast.error {
    border-left-color: #ef4444;
}
.premium-toast.error i {
    color: #ef4444;
}

/* SEO Makale Alanı İyileştirmesi */
.seo-article-content {
    font-size: 0.95rem; /* Standarttan biraz daha küçük */
    line-height: 1.8;   /* Okuma kolaylığı için satır arası */
    color: #4b5563;     /* Göz yormayan gri tonu */
}

/* Makale içindeki başlıkları küçült (H1, H2 gelse bile devasa durmasın) */
.seo-article-content h1, 
.seo-article-content h2, 
.seo-article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.seo-article-content h4, 
.seo-article-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.2rem;
}

/* Paragraf boşlukları */
.seo-article-content p {
    margin-bottom: 1rem;
}

/* Liste düzeni */
.seo-article-content ul, 
.seo-article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.seo-article-content li {
    margin-bottom: 0.25rem;
}

/* Linkler */
.seo-article-content a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.seo-article-content a:hover {
    text-decoration: none;
}

/* 1. YAZI TİPİ VE BOYUTLANDIRMA */
    .guide-article-content {
        font-size: 1rem;       /* İdeal okuma boyutu */
        line-height: 1.8;      /* Ferah satır aralığı */
        color: #374151;        /* Koyu gri (Göz yormaz) */
    }

    /* 2. BAŞLIKLARI KÜÇÜLTME (Önemli Kısım) */
    /* İçerikten H1, H2 bile gelse devasa görünmeyecek */
    .guide-article-content h1, 
    .guide-article-content h2, 
    .guide-article-content h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #111827;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .guide-article-content h4, 
    .guide-article-content h5 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    /* 3. LİSTE VE PARAGRAFLAR */
    .guide-article-content p { margin-bottom: 1.2rem; }
    .guide-article-content ul, .guide-article-content ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
    .guide-article-content li { margin-bottom: 0.3rem; }

    /* 4. FAQ AKORDİYON STİLİ */
    .faq-accordion .accordion-item {
        border: 1px solid #e5e7eb;
        border-radius: 12px !important;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .faq-accordion .accordion-button {
        font-weight: 600;
        background-color: #f8fafc;
        color: #1e293b;
        box-shadow: none !important;
    }
    .faq-accordion .accordion-button:not(.collapsed) {
        background-color: #e0f2fe;
        color: #0369a1;
    }
    .faq-accordion .accordion-body {
        font-size: 0.95rem;
        color: #475569;
    }