
/* ============================================================== 
   # 3D Featured Carousel (GSAP Observer)
=================================================================== */

.featured-carousel {
    position: relative;
    padding: 120px 0 80px;
    perspective: 1400px;
}

.carousel {
    width: 100%;
    height: 840px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective-origin: center;
    transform: rotateX(-8deg) translateY(-10px);
    user-select: none;
    cursor: grab;
}

.carousel.is-grabbing {
    cursor: grabbing;
}

.carousel-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 820px;
    height: 560px;
    margin: -280px 0 0 -410px;
    border-radius: 44px;
    box-shadow: 0 40px 100px rgba(16, 17, 49, 0.45);
    transform-origin: 50% 50%;
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: var(--white);
    background: rgba(80, 82, 118, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.35);
    overflow: hidden;
    transition: opacity 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    pointer-events: none;
}

.carousel-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
    pointer-events: none;
}

.carousel-image:hover {
    box-shadow: 0 25px 60px rgba(9, 10, 32, 0.45);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-card {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
}

/* Image-heavy featured cards: remove glass blur & dark overlay (Jack's, Bozer, QR, Web) */
.carousel-image.card--jacks,
.carousel-image.card--bozer,
.carousel-image.card--qr,
.carousel-image.card--web{
    background-color: transparent !important;
}

.carousel-image.card--jacks::after,
.carousel-image.card--bozer::after,
.carousel-image.card--qr::after,
.carousel-image.card--web::after{
    background: none !important;
}

.carousel-image.card--jacks .carousel-card,
.carousel-image.card--bozer .carousel-card,
.carousel-image.card--qr .carousel-card,
.carousel-image.card--web .carousel-card{
    background: transparent !important;
    backdrop-filter: none !important;
}

.carousel-card .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.carousel-card h3 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.carousel-card .desc {
    font-size: 18px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.carousel-card .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.carousel-card .cta::after {
    content: "→";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.carousel-image:hover .cta::after {
    transform: translateX(6px);
}

/* Responsive tweaks */
@media (max-width: 1199px) {
    .carousel-image {
        width: 520px;
        height: 360px;
        margin: -180px 0 0 -260px;
    }

    .carousel-card {
        padding: 36px 40px;
    }

    .carousel-card h3 {
        font-size: 30px;
    }

    .carousel-card .desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .featured-carousel {
        padding: 40px 0 60px;
    }

    .carousel {
        height: 520px;
        transform: rotateX(-8deg) scale(0.75) translateY(-30px);
    }

    .carousel-image {
        width: 320px;
        height: 220px;
        margin: -110px 0 0 -160px;
    }

    .carousel-card {
        padding: 20px 24px;
    }

    .carousel-card h3 {
        font-size: 22px;
    }

    .carousel-card .desc {
        font-size: 13px;
    }
}
