/* ============================================
   ZOS RADIO - Modern Radio Website
   Designed for 40+ audience - Clear, Bold, Accessible
   ============================================ */

:root {
    /* Colors */
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --dark: #0d1b2a;
    --light: #f1faee;
    --gray: #a8dadc;
    --text: #1d3557;
    --text-light: #457b9d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Typography */
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 18px;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    
    /* Spacing */
    --spacing: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Border radius */
    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.logo-text h1 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Navigation */
.nav-main {
    display: flex;
    gap: 0.5rem;
}

.nav-main a {
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-main a:hover,
.nav-main a.active {
    background: var(--primary);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION - LIVE PLAYER
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: var(--spacing-xl) 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e63946" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Live Player */
.live-player {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.album-art {
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.track-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.track-info .artist {
    font-size: 1.1rem;
    opacity: 0.8;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

.live-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px #fff;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
}

/* Song Request Feature */
.song-request {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.song-request h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.song-request-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.song-request-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.song-request-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.song-request-form button {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.song-request-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.song-request-form button:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

/* Play Button & Volume Control */
.play-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.play-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.play-btn.playing {
    background: var(--gray);
    color: var(--dark);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}

.volume-control i {
    color: var(--white);
    font-size: 1.1rem;
    min-width: 24px;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.volume-value {
    color: var(--white);
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
}

/* ============================================
   CURRENT SHOW
   ============================================ */
.current-show {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-show-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-show-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: var(--spacing-xl) 0;
}

.section-alt {
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: var(--font-size-2xl);
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============================================
   PROGRAM GRID
   ============================================ */
.program-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.program-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-tab:hover,
.program-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.program-grid {
    display: grid;
    gap: 1.5rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.program-time {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    min-width: 100px;
}

.program-time .start {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.program-time .end {
    font-size: 0.9rem;
    opacity: 0.8;
}

.program-info h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.program-info .dj-name {
    color: var(--text-light);
    font-size: 1rem;
}

.program-info .description {
    color: var(--text);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* ============================================
   DJ CARDS
   ============================================ */
.dj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.dj-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.dj-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dj-photo {
    height: 250px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
}

.dj-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dj-info {
    padding: 1.5rem;
}

.dj-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.dj-info p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dj-social {
    display: flex;
    gap: 0.75rem;
}

.dj-social a {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.dj-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   EPISODES (Uitzending Gemist)
   ============================================ */
.episode-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.episode-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.episode-card:hover {
    box-shadow: var(--shadow-lg);
}

.episode-play {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.episode-play:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.episode-info h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.episode-info .show-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.episode-info .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.episode-duration {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: var(--dark);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: var(--gray);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   AUDIO PLAYER BAR (Fixed bottom)
   ============================================ */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.player-bar.active {
    transform: translateY(0);
}

.player-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.player-info {
    flex: 1;
}

.player-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.player-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-main.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .program-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .program-time {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .now-playing {
        flex-direction: column;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .dj-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .episode-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
