/* =============================================
   radyo.gen.tr — Tasarım Sistemi
   ============================================= */

/* ---- Genel ---- */
body {
    background-color: #f4f6f9;
    padding-top: 60px;
    padding-bottom: 70px;
    color: #2d2d2d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Navbar ---- */
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

/* ---- Radio Kartı ---- */
.rlist {
    margin-bottom: 16px;
    padding: 0 8px;
}

.rlist a {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8ef;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rlist a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

/* Görsel Sarmalayıcı */
.rlist-img {
    position: relative;
    overflow: hidden;
}

.rlist-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.22s ease;
}

.rlist a:hover .rlist-img img {
    transform: scale(1.08);
}

/* Üzerine gelince çıkan play ikonlu overlay */
.rlist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 110, 253, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.rlist a:hover .rlist-overlay {
    opacity: 1;
}

/* Radyo Adı */
.rlist-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    text-align: center;
    padding: 7px 8px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Favori Butonu */
.fav-btn {
    position: absolute;
    top: 6px;
    right: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    font-size: 13px;
    line-height: 1;
    z-index: 2;
}

.fav-btn:hover {
    background: #fff;
    transform: scale(1.15);
}

/* ---- Bölüm Başlıkları ---- */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #0d6efd33, transparent);
    border-radius: 2px;
    margin-left: 8px;
}

/* ---- Kategori Butonları ---- */
.cat-btn {
    border-radius: 22px !important;
    font-weight: 500;
    font-size: 13.5px;
    padding: 9px 18px;
    border: none !important;
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
    transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s !important;
    letter-spacing: 0.2px;
}

.cat-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.35) !important;
    opacity: 0.92;
}

/* ---- SEO / Tanıtım Metni ---- */
.seo-section {
    font-size: 13.5px;
    color: #6c757d;
    line-height: 1.75;
    border-top: 1px solid #dee2e6;
    padding-top: 24px;
    margin-top: 8px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    background: transparent;
    padding-left: 0;
    font-size: 13px;
    margin-bottom: 0;
}

.breadcrumb li {
    list-style-type: none;
    display: inline;
}

.breadcrumb a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- Radyo Player Kartı ---- */
.player-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

.player-card .card-body {
    padding: 16px;
    background: linear-gradient(160deg, #fff 60%, #f0f4ff);
}

.player-radio-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.player-radio-img img {
    width: 100%;
    display: block;
}

/* Volume slider */
#vol-slider {
    accent-color: #0d6efd;
}

/* ---- Sosyal Paylaşım Butonları ---- */
.btn-facebook {
    background-color: #354c8c;
    color: #fff;
    border: none;
}
.btn-facebook:hover {
    background-color: #2e4179;
    color: #fff;
}

.btn-twitter {
    background-color: #1da1f2;
    color: #fff;
    border: none;
}
.btn-twitter:hover {
    background-color: #1a91da;
    color: #fff;
}

.btn-hata {
    background-color: #198754;
    color: #fff;
    border: none;
}
.btn-hata:hover {
    background-color: #157347;
    color: #fff;
}

/* ---- İlgili Radyolar ---- */
.related-radio-btn {
    margin-bottom: 6px;
    font-size: 13px;
    text-align: left;
    border-radius: 8px !important;
}

/* ---- Kullanıcı Favorileri Bölümü ---- */
#kullanici-favorileri {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e4e8ef;
    margin-bottom: 8px;
}

/* ---- 404 Sayfası ---- */
.page-404 {
    text-align: center;
    padding: 60px 20px;
}

.page-404 .icon-404 {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.page-404 h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

/* ---- Arama Sayfası ---- */
.search-result-count {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 16px;
}

/* ---- Kategori Sayfası ---- */
.kategori-header {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #e4e8ef;
    margin-bottom: 20px;
}

/* ---- Listitems ---- */
.listitems {
    margin-bottom: 8px;
}

/* ---- Sayfa Üst Boşluk ---- */
.page-top {
    margin-top: 60px;
}

/* ---- Arama Formu (Navbar) ---- */
.search-form {
    position: relative;
    width: 320px;
}

/* ---- Arama Dropdown ---- */
#search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dde2ea;
    border-radius: 6px;
    list-style: none;
    margin: 4px 0 0;
    padding: 4px 0;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    min-width: 220px;
}

#search-dropdown li a {
    display: block;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-size: 13.5px;
    transition: background 0.12s;
}

#search-dropdown li a:hover {
    background: #f0f4ff;
    color: #0d6efd;
}

.search-no-result {
    padding: 10px 14px;
    color: #999;
    font-size: 13px;
}

/* ---- Mobil ---- */
@media (max-width: 767px) {
    h1 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .rlist { padding: 0 4px; }
    .search-form { width: 100%; }
    .page-top { margin-top: 50px; }
}

/* ---- Mobil dokunma hedefleri ---- */
@media (max-width: 991px) {
    .fav-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}
