/* 🎬 LATEST WORK 2026 - Charlie / Club León Featured Section */

.latest-work-2026 {
    position: relative;
    background: var(--bg);
    padding: 60px 40px 80px 40px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp2026 0.8s ease forwards;
    animation-delay: 0.2s;
}

/* 🖼️ CASE IMAGE - Match video card styling */
.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
    transition: transform 0.6s ease;
}

.card.case:hover .case-image {
    transform: scale(1.03);
}

@keyframes fadeInUp2026 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🏷️ BADGE - "LATEST 2026" */
.latest-work-2026 .latest-badge-2026 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.latest-work-2026 .badge-text-2026 {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.latest-work-2026 .badge-year-2026 {
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 🖼️ TRIPLE IMAGE GALLERY */
.charlie-gallery {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    align-items: stretch;
}

.charlie-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.charlie-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.45),
        0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Center frame (logo) - slightly larger emphasis */
.charlie-frame--hero {
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.charlie-frame--hero:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Images */
.charlie-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.charlie-frame:hover img {
    transform: scale(1.03);
}

/* Subtle cinematic overlay */
.charlie-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.02) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.charlie-frame:hover::before {
    opacity: 0.1;
}

/* Light accent glow on hover */
.charlie-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 201, 255, 0.08) 0%,
        transparent 70%
    );
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.charlie-frame:hover::after {
    opacity: 1;
}

/* 📝 INFO SECTION */
.latest-info-2026 {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.latest-info-2026 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.latest-subtitle-2026 {
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .latest-work-2026 {
        padding: 40px 20px 60px 20px;
    }

    .latest-work-2026 .latest-badge-2026 {
        margin-bottom: 30px;
    }

    .charlie-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    /* Reorder: logo image first on mobile */
    .charlie-frame--hero {
        order: -1;
    }

    .charlie-frame {
        border-radius: 8px;
    }

    .charlie-frame img {
        aspect-ratio: 16/9;
    }

    .latest-info-2026 h2 {
        font-size: 36px;
    }

    .latest-subtitle-2026 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .latest-info-2026 h2 {
        font-size: 28px;
    }
}
