/* ================================
   FEATURED CAROUSEL SECTION
   Your style - modern, clean design
   ================================ */

.featured-section {
    padding: 120px 60px 100px;
    background: #FDF6E3;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .featured-section {
        padding: 110px 20px 40px;
    }
}

.featured-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .featured-header {
        margin-bottom: 30px;
    }
}

.featured-header h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #2C3E50;
    margin-bottom: 15px;
}

.featured-header p {
    font-size: 1.1rem;
    color: #5D6D7E;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Container */
.featured-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-carousel {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 20px 0;
}

/* Carousel Items */
.featured-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}

/* Active slide */
.featured-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0s;
    z-index: 2;
}

/* Inactive slides */
.featured-item.inactive {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95);
    z-index: 1;
}

.featured-item.active:hover {
    transform: scale(1) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Image */
.featured-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-item:hover .featured-image {
    transform: scale(1.05);
}

/* Play Button Overlay */
.featured-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(232, 93, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}

.featured-item:hover .featured-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-play-overlay svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
    margin-left: 5px;
}

/* Featured Content */
.featured-content {
    padding: 20px;
}

.featured-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #E85D44, #d44a31);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-left: 12px;
    text-transform: uppercase;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.featured-content h3 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.featured-content p {
    font-size: 1.1rem;
    color: #5D6D7E;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Featured Links */
.featured-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #E85D44;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 93, 68, 0.3);
    min-width: 160px;
    flex: 0 0 auto;
}

.featured-btn.secondary {
    min-width: 160px;
    flex: 0 0 auto;
}

.featured-btn:hover {
    background: #d44a31;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 68, 0.4);
}

.featured-btn.secondary {
    background: transparent;
    color: #E85D44;
    border: 2px solid #E85D44;
    box-shadow: none;
}

.featured-btn.secondary:hover {
    background: #E85D44;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(232, 93, 68, 0.3);
}

/* Navigation Arrows */
.featured-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0.8;
}

.featured-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.featured-nav.prev {
    left: 20px;
}

.featured-nav.next {
    right: 20px;
}

.featured-nav svg {
    width: 20px;
    height: 20px;
    fill: #E85D44;
}

/* Carousel Indicators */
.featured-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.featured-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.2);
    cursor: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-indicator.active {
    width: 40px;
    border-radius: 6px;
    background: #E85D44;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .featured-item {
        padding: 20px;
        gap: 15px;
    }

    .featured-content {
        padding: 5px;
    }

    .featured-content h3 {
        font-size: 1.5rem;
    }

    .featured-tag {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-left: 8px;
    }

    .featured-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .featured-image-container {
        aspect-ratio: 4 / 3;
    }

    .featured-nav {
        width: 40px;
        height: 40px;
    }

    .featured-nav.prev {
        left: 10px;
    }

    .featured-nav.next {
        right: 10px;
    }

    .featured-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .featured-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        min-width: 130px;
        flex: 0 0 auto;
    }

    .featured-btn.secondary {
        min-width: 130px;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .featured-section {
        padding: 50px 20px 60px;
    }

    .featured-play-overlay {
        width: 60px;
        height: 60px;
    }

    .featured-play-overlay svg {
        width: 20px;
        height: 20px;
    }

    .featured-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-width: 110px;
    }

    .featured-btn.secondary {
        min-width: 110px;
    }
}
