/* 106.3 FM Public Site Design System */
:root {
    --brand-blue: #0092E0;
    --brand-red: #ED2939;
    --brand-green: #00A859;
    --bg-page: #F4F7FB;
    --surface: #FFFFFF;
    --text-dark: #0F172A;
    --text-gray: #64748B;
    --border: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-page); color: var(--text-dark); line-height: 1.6; background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 30px 30px; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Page Header */
.page-header { text-align: center; padding: 80px 0 40px; }
.page-header h1 { font-family: 'MuseoModerno', sans-serif; font-size: 3.5rem; letter-spacing: -2px; color: var(--text-dark); margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.page-header p { color: var(--text-gray); font-size: 1.1rem; font-weight: 500; max-width: 700px; margin: 0 auto; }

/* Podcast & List Cards */
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 60px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 30px; overflow: hidden; transition: 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: var(--brand-blue); }

.card-img { height: 220px; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 25px; }
.card-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: 10px; display: block; }
.card-title { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.card-desc { font-size: 0.95rem; color: var(--text-gray); font-weight: 500; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Horizontal Cards (Podcasts) */
.h-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 20px; display: flex; align-items: center; gap: 25px; margin-bottom: 20px; transition: 0.3s; }
.h-card:hover { border-color: var(--brand-blue); transform: translateX(5px); }
.h-card-img { width: 100px; height: 100px; border-radius: 16px; object-fit: cover; }
.h-card-content { flex: 1; }
.h-card-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 5px; }
.h-card-meta { font-size: 0.75rem; font-weight: 700; color: var(--text-gray); display: flex; gap: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 16px; font-weight: 800; cursor: pointer; transition: 0.3s; font-family: 'Outfit'; border: none; font-size: 0.95rem; }
.btn-primary { background: var(--brand-blue); color: white; box-shadow: 0 10px 20px rgba(0, 146, 224, 0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 146, 224, 0.3); }

/* Icon-only action buttons (archive cards, hit10 etc.) */
.btn-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    font-size: 0.95rem;
    text-decoration: none;
}
.btn-icon-play {
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 146, 224, 0.3);
}
.btn-icon-play:hover {
    background: #007bbd;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 146, 224, 0.4);
    color: white;
}
.btn-icon-ghost {
    background: var(--bg-page);
    color: var(--text-gray);
    border: 1px solid var(--border);
}
.btn-icon-ghost:hover {
    background: var(--surface);
    color: var(--text-dark);
    border-color: #CBD5E1;
    transform: scale(1.05);
}
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .card-actions { flex-direction: row; justify-content: center; }
}

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 80px 0 140px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; }
.footer-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 25px; color: var(--text-dark); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--brand-blue); }

.social-circle { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-page); display: inline-flex; align-items: center; justify-content: center; color: var(--text-gray); font-size: 1.1rem; transition: 0.3s; margin-right: 10px; }
.social-circle:hover { background: var(--text-dark); color: white; transform: translateY(-3px); }

/* Global Player Bar */
.player-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 100px; background: var(--text-dark); color: white; z-index: 2000; display: flex; align-items: center; box-shadow: 0 -10px 40px rgba(0,0,0,0.4); border-top: 1px solid rgba(255,255,255,0.08); }
.player-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.p-track-info { display: flex; align-items: center; gap: 15px; flex: 1; }
.p-track-img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: #1E293B; }
.p-track-text h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.p-track-text p { font-size: 0.8rem; color: #94A3B8; font-weight: 600; }

.p-controls { flex: 1; display: flex; justify-content: center; align-items: center; gap: 20px; }
.p-play-btn { width: 55px; height: 55px; border-radius: 50%; background: var(--brand-blue); border: none; color: white; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 146, 224, 0.4); padding-left: 5px; }
.p-play-btn:hover { transform: scale(1.1); background: #007BBD; }

.p-volume { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 15px; color: #94A3B8; }
.v-slider { width: 100px; height: 4px; background: #334155; border-radius: 2px; position: relative; }
.v-level { position: absolute; left: 0; top: 0; height: 100%; width: 70%; background: var(--brand-blue); border-radius: 2px; }

/* Schedule Table */
.schedule-container { background: var(--surface); border-radius: 35px; border: 1px solid var(--border); padding: 40px; box-shadow: 0 15px 50px rgba(0,0,0,0.03); }
.schedule-row { display: grid; grid-template-columns: 120px 1fr 200px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: center; }
.schedule-row:last-child { border-bottom: none; }
.schedule-time { font-family: 'MuseoModerno', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--brand-red); }
.schedule-info h4 { font-size: 1.2rem; font-weight: 800; }
.schedule-host { color: var(--text-gray); font-weight: 600; font-size: 0.9rem; }

/* Filter Tabs */
.filter-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-tab { padding: 10px 25px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; cursor: pointer; transition: 0.3s; color: var(--text-gray); }
.filter-tab.active { background: var(--text-dark); color: white; border-color: var(--text-dark); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .container { padding: 0 4%; }
}

@media (max-width: 991px) {
    .nav-links { display: none; } /* Mobile menu needed */
    .ticker-item { padding: 0 20px; font-size: 0.75rem; }
}

@media (max-width: 768px) {
    .page-header h1 { font-size: 2.5rem; }
    .list-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { margin: 0 auto 30px; font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-about { align-items: center; display: flex; flex-direction: column; }
    .footer-links { margin-bottom: 20px; }
    
    .player-inner { padding: 0 15px; }
    .p-volume { display: none; } /* Hide volume on mobile to save space */
    .p-track-text h4 { font-size: 0.95rem; }
    .p-track-text p { font-size: 0.7rem; }
    
    .index-sections .container { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .btn { width: 100%; justify-content: center; }
    .hero { padding: 60px 0 40px; }
    .player-bar { height: 80px; }
    .p-track-img { width: 45px; height: 45px; }
}

/* Mobile Menu Toggle (Simplified) */
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }
@media (max-width: 991px) {
    .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
    article { margin: 20px auto 60px !important; }
    article h1 { font-size: 2rem !important; line-height: 1.2 !important; }
    article div[style*="font-size: 1.25rem"] { font-size: 1.05rem !important; line-height: 1.7 !important; }
    article .social-circle { width: 40px; height: 40px; }
    .page-header p { font-size: 0.95rem; }
    
    /* Post Detail Footer Share Bar */
    article div[style*="display: flex; justify-content: space-between"] {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Horizontal Card Responsiveness (Podcasts & Hit 10) */
@media (max-width: 768px) {
    .h-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 15px;
    }
    .h-card-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .h-card-content {
        margin-bottom: 10px;
    }
    .h-card-meta {
        justify-content: center;
        margin-bottom: 10px;
    }
    .h-card div[style*="display: flex; gap: 10px"] {
        justify-content: center;
        width: 100%;
    }
    
    /* Specific for Hit 10 Page */
    .h-card span[style*="font-size: 2.2rem"] {
        width: 100% !important;
        margin-bottom: 10px;
        font-size: 3rem !important;
    }
    .h-card div[style*="position: relative; width: 80px"] {
        margin: 0 auto 15px;
        width: 100px !important;
        height: 100px !important;
    }
    .h-card div[style*="text-align: right"] {
        text-align: center !important;
        margin-bottom: 15px;
    }
    .h-card div[style*="display: flex; align-items: center; gap: 20px"] {
        flex-direction: column;
        gap: 10px;
    }
}

/* Programs & Schedule Responsiveness */
@media (max-width: 991px) {
    .day-switcher-wrap { top: 80px !important; }
    .filter-tab { padding: 8px 15px; font-size: 0.85rem; }
}

@media (max-width: 768px) {
    .timeline-row { flex-direction: column !important; min-height: auto !important; }
    .time-col { 
        width: 100% !important; 
        text-align: left !important; 
        padding-right: 0 !important; 
        padding-bottom: 10px !important;
        font-size: 1.2rem !important;
    }
    .axis-col { display: none !important; } /* Hide timeline axis on mobile */
    .content-col { padding-left: 0 !important; padding-bottom: 30px !important; }
    
    .prog-card {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 20px !important;
        gap: 15px !important;
    }
    .prog-card img {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto;
    }
    .prog-host { justify-content: center; }
    
    .live-label { width: fit-content; margin: 0 auto; }
}

/* Hosts Grid Tweaks */
@media (max-width: 480px) {
    .hosts-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .host-card { padding: 40px 20px !important; }
    .host-img-wrapper { width: 140px !important; height: 140px !important; }
}

/* Contact & Live Page Responsiveness */
@media (max-width: 991px) {
    /* Contact Page */
    div[style*="display: grid; grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    #contact-form-container { padding: 30px !important; border-radius: 24px !important; }
    
    /* Live Page */
    div[style*="display: grid; grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .page-header[style*="display: flex; justify-content: space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left;
    }
    .page-header h1 { font-size: 2.2rem !important; }
}

@media (max-width: 768px) {
    #contactForm div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    #contactForm input, #contactForm textarea { padding: 12px !important; }
    #chat-box { height: 300px !important; }
}

/* Header & Logo Responsiveness */
@media (max-width: 991px) {
    .nav-inner { height: 70px; }
    .logo-horizontal .vector-wave { height: 30px; gap: 4px; }
    .logo-num { font-size: 1.5rem !important; }
    .logo-fm { font-size: 0.6rem !important; padding: 2px 5px !important; }
    .logo-slogan { display: none !important; } /* Hide slogan on mobile header */
    
    header { top: 40px !important; }
}

@media (max-width: 480px) {
    .logo-num { font-size: 1.3rem !important; }
    .logo-horizontal { gap: 10px !important; }
    header .btn-primary { padding: 8px 12px !important; font-size: 0.8rem !important; }
    header .btn-primary i { margin-right: 0; }
}

/* Footer Refinements */
@media (max-width: 768px) {
    footer { padding: 60px 0 120px !important; }
    .footer-title { margin-bottom: 15px !important; font-size: 1rem !important; margin-top: 20px; }
    .footer-links li { margin-bottom: 8px !important; }
    .footer-grid { gap: 20px !important; }
}
