/*
 * Featured Program Section Styles
 * ElshadaiFM Theme - Bold Radio Station Aesthetic
 * Design Philosophy: Sharp corners, white text, adaptive backgrounds, image support
 */

/* Base Section Styling */
.featured-program-section {
    position: relative;
    background: #ffffff;
    padding: 50px 0;
    overflow: hidden;
}

/* Animated Radio Wave Background */
.featured-program-section .schedule-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.featured-program-section .radio-wave {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0.1;
    animation: radioWavePulse 4s ease-in-out infinite;
}

.featured-program-section .radio-wave.wave-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -150px;
    border-color: #14539a;
    animation-delay: 0s;
}

.featured-program-section .radio-wave.wave-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -250px;
    border-color: #00ffff;
    animation-delay: 1.5s;
}

.featured-program-section .radio-wave.wave-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    border-color: #ffff00;
    animation-delay: 3s;
}

@keyframes radioWavePulse {
    0%, 100% { 
        transform: scale(0.8);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Container */
.featured-program-section .container {
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.upcoming-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333333;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.upcoming-accent {
    background: rgba(20, 83, 154, 1);
    color: #ffffff;
    padding: 5px 15px;
    margin-right: 10px;
}

/* Shows Container */
.shows-container-outer {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.shows-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.shows-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.shows-scroll-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shows-scroll-container::-webkit-scrollbar {
    display: none;
}

.shows-grid {
    display: flex;
    gap: 30px;
    padding: 30px 50px;
    width: max-content;
    box-sizing: border-box;
}

/* Navigation Arrows */
.schedule-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #14539a, #0d3a6b);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(20, 83, 154, 0.3);
}

.schedule-arrow:hover {
    background: linear-gradient(135deg, #0d3a6b, #14539a);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(20, 83, 154, 0.4);
}

.schedule-arrow.prev-arrow {
    left: -40px;
}

.schedule-arrow.next-arrow {
    right: -40px;
}

.schedule-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Show Cards */
.show-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    min-width: 300px;
    max-width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(20, 83, 154, 0.2);
    border-color: #14539a;
}

.show-card.live {
    border-color: #14539a;
    box-shadow: 0 4px 20px rgba(20, 83, 154, 0.4);
    animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(20, 83, 154, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(20, 83, 154, 0.6);
    }
}

/* Program Image */
.program-image-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.show-card:hover .program-image {
    transform: scale(1.05);
}

.program-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #999;
}

.program-image-placeholder svg {
    opacity: 0.5;
}

/* Show Content */
.show-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.show-time {
    margin-bottom: 10px;
}

.time-display {
    font-size: 0.9rem;
    font-weight: 600;
    color: #14539a;
    background: rgba(20, 83, 154, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.show-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.show-description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex: 1;
}

.show-status-badge {
    margin-top: auto;
}

.live-now-badge {
    display: inline-block;
    background: linear-gradient(135deg, #14539a, #0d3a6b);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: liveBadgePulse 2s ease-in-out infinite;
}

@keyframes liveBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(20, 83, 154, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(20, 83, 154, 0.6);
    }
}

.today-badge {
    display: inline-block;
    background: rgba(20, 83, 154, 0.1);
    color: #14539a;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Card Glow Effect */
.card-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 83, 154, 0.05), rgba(253, 208, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.show-card:hover .card-glow-effect {
    opacity: 1;
}

/* Program Type Colors */
.show-card.prayer {
    border-left: 4px solid #8b5cf6;
}

.show-card.worship {
    border-left: 4px solid #f59e0b;
}

.show-card.music {
    border-left: 4px solid #10b981;
}

.show-card.youth {
    border-left: 4px solid #ef4444;
}

.show-card.service {
    border-left: 4px solid #3b82f6;
}

/* No Programs Message */
.no-programs-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-programs-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shows-wrapper {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .shows-wrapper {
        height: 400px;
    }

    .shows-container-outer {
        margin: 15px 0;
    }

    .schedule-arrow {
        width: 40px;
        height: 40px;
    }

    .schedule-arrow.prev-arrow {
        left: -30px;
    }

    .schedule-arrow.next-arrow {
        right: -30px;
    }

    .show-card {
        min-width: 260px;
        max-width: 260px;
        padding: 18px;
        height: 380px;
    }

    .program-image-wrapper {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .shows-wrapper {
        height: 350px;
    }

    .shows-container-outer {
        margin: 10px 0;
    }

    .schedule-arrow {
        width: 35px;
        height: 35px;
    }

    .schedule-arrow.prev-arrow {
        left: -25px;
    }

    .schedule-arrow.next-arrow {
        right: -25px;
    }

    .show-card {
        min-width: 240px;
        max-width: 240px;
        padding: 15px;
        height: 360px;
    }

    .shows-grid {
        gap: 10px;
        padding: 5px 25px;
    }

    .program-image-wrapper {
        height: 100px;
    }
}

