/* ==========================================================================
   TV Programmas Page Styles
   ========================================================================== */

/* Featured Program Section */
.featured-program {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

.featured-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}


.program-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.program-category, .program-duration {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.program-category {
    background-color: var(--primary-color);
    color: white;
}

.program-duration {
    background-color: var(--background-dark);
    color: var(--text-primary);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Programs Grid Section */
.programs {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 0;
    background: transparent;
}

.carousel {
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: stretch;
}

.program-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image {
    position: relative;
    height: 200px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.program-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
}


.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}


.program-footer {
    margin-top: auto;
    align-self: flex-start;
    padding-top: 1rem;
    display: flex;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-banner.tv-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,123,255,0.12) 0%, rgba(102,16,242,0.12) 100%);
    margin-bottom: 0;
}

.hero-banner.tv-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6) saturate(1.1);
}

.hero-banner.tv-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-banner.tv-hero h1 {
    font-size: 2.8rem;
    font-family: var(--ff-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.hero-banner.tv-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

@media (max-width: 900px) {
    .hero-banner.tv-hero {
        height: 200px;
    }
    .hero-banner.tv-hero h1 {
        font-size: 2rem;
    }
    .hero-banner.tv-hero p {
        font-size: 1rem;
    }
}

