/* Kolskoot Radio - Main Stylesheet */
:root {
    --primary: #1a5276;
    --primary-dark: #0e2f44;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #27ae60;
    --danger: #c0392b;
    --border-radius: 0.5rem;
    --shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f4f6f9;
    color: var(--dark);
    padding-bottom: 80px; /* space for sticky player */
}

/* Header */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
}
.navbar {
    box-shadow: var(--shadow);
    background: #fff !important;
}

/* Hero / Player */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 3rem 0;
    border-radius: 0 0 1.5rem 1.5rem;
}
.hero-section h1 {
    font-weight: 800;
    font-size: 2.2rem;
}
.stream-player {
    background: rgba(255,255,255,0.15);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}
.stream-player audio {
    width: 100%;
}

/* Sticky mobile player */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sticky-player audio {
    flex: 1;
    height: 36px;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-3px);
}
.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    object-fit: cover;
    height: 180px;
}

/* Ad slots */
.ad-slot {
    text-align: center;
    margin: 1.5rem 0;
}
.ad-slot img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

/* Section titles */
.section-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Classifieds */
.price-badge {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 2.5rem 0 1rem;
    margin-top: 3rem;
}
footer a {
    color: #aed6f1;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}

/* Admin specific */
.admin-sidebar {
    min-height: 100vh;
    background: var(--primary-dark);
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    border-radius: 0.35rem;
    margin-bottom: 0.25rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.stat-card {
    border-left: 4px solid var(--primary);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }
    .sticky-player {
        padding: 0.5rem;
    }
}

/* Logo */
.navbar-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Social icons in nav */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.15rem;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
}
.social-icon.whatsapp { background: #25D366; color: #fff !important; }
.social-icon.facebook { background: #1877F2; color: #fff !important; }
.social-icon:hover { transform: scale(1.1); color: #fff !important; }

.social-icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.15s;
}
.social-icon-lg.whatsapp { background: #25D366; color: #fff !important; }
.social-icon-lg.facebook { background: #1877F2; color: #fff !important; }
.social-icon-lg:hover { transform: scale(1.1); color: #fff !important; }

/* Sponsors strip */
.sponsors-section {
    background: #fff;
    border-top: 1px solid #e9ecef;
}
.sponsor-logo {
    display: inline-block;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s, transform 0.2s;
}
.sponsor-logo img {
    max-height: 64px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
}
.sponsor-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}
.sponsor-logo:hover img { filter: none; }

/* Lemons footer image */
.lemons-img {
    max-height: 100px;
    width: auto;
}

/* Presenters */
.presenter-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}
.presenter-card {
    text-align: center;
}

/* Schedule table */
.schedule-day {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.schedule-item {
    border-left: 4px solid var(--accent);
    padding: 0.75rem 1rem;
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 0 0.35rem 0.35rem 0;
    box-shadow: var(--shadow);
}
.schedule-time {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* Contact page cards */
.contact-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: var(--shadow);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.12);
}
.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin: 0 auto;
}
.contact-icon.whatsapp { background: #25D366; }
.contact-icon.phone { background: var(--primary); }
.contact-icon.email { background: var(--accent); }
.contact-icon.web { background: #0d6efd; }

/* Classifieds search */
.classifieds-search .form-control:focus {
    box-shadow: none;
    border-color: var(--primary, #1a5276);
}
.classifieds-search .input-group-text {
    border-right: 0;
}
.classifieds-search .form-control {
    border-left: 0;
}


/* Shows – fit images, keep aspect ratio (no crop) */
.show-card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #f0f2f5;
}
.show-card-img-sm {
    height: 160px;
}
.show-card-img-placeholder {
    height: 220px;
}
.show-detail-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    object-position: center center;
    background: #f0f2f5;
}


/* Now playing on stream player */
.now-playing {
    background: rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    padding: 0.65rem 0.85rem;
    text-align: left;
}
.now-playing-title {
    font-size: 0.95rem;
    line-height: 1.3;
    word-break: break-word;
}
.sticky-player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sticky-player-meta {
    min-width: 0;
}
