/* =========================================
   Salon Vibes Section (Cinematic Expansion)
   ========================================= */

.vibes-section {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-black);
    /* overflow: hidden;  <-- REMOVED: This breaks position: sticky on mobile */
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.vibes-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    /* Keep header above expansion adjustments if any */
}

.vibes-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.vibes-subtitle {
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* The Grid Container */
.vibes-grid {
    display: flex;
    height: 600px;
    /* Tall cinematic feel */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
    /* Seamless */
}

/* Individual Panel */
.vibe-panel {
    flex: 1;
    /* All share equal space initially */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.vibe-panel:last-child {
    border-right: none;
}

/* The Image */
.vibe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Dimmed by default */
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    filter: grayscale(80%);
    /* Artistic B&W default */
}

/* Hover State - Expansion */
.vibe-panel:hover {
    flex: 3;
    /* Expands to take 3x space */
}

.vibe-panel:hover .vibe-img {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%);
    /* Full color on active */
}

/* The "Vibe" Text Overlay */
.vibe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.6s 0.1s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.vibe-panel:hover .vibe-overlay {
    transform: translateY(0);
}

.vibe-label {
    color: white;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.vibe-desc {
    color: var(--accent-orange);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.3s ease;
}

.vibe-panel:hover .vibe-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness (Option 3: Sticky Parallax Stack) */
@media (max-width: 900px) {
    .vibes-section {
        padding-bottom: 0;
        /* Let images go to edge */
    }

    .vibes-grid {
        display: block;
        /* Standard block for scrolling */
        height: auto;
        padding-bottom: 50px;
        /* Space at end */
    }

    .vibe-panel {
        /* "Sticky Stacking" Effect */
        position: sticky;
        top: 80px;
        /* Offset for header */
        width: 100%;
        height: 80vh;
        /* Full viewport height impact */
        border-right: none;

        /* Stronger Separation */
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
        /* Much stronger shadow */
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        /* Glass edge highlight */

        margin-bottom: 0;
    }

    /* Ensure they stack properly with explicit Z-Index */
    .vibe-panel:nth-child(1) {
        top: 80px;
        z-index: 1;
    }

    .vibe-panel:nth-child(2) {
        top: 90px;
        z-index: 2;
    }

    .vibe-panel:nth-child(3) {
        top: 100px;
        z-index: 3;
    }

    .vibe-panel:nth-child(4) {
        top: 110px;
        z-index: 4;
    }

    .vibe-img {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1);
    }

    .vibe-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
        /* Stronger gradient */
        padding: 30px;
        justify-content: flex-end;
    }

    .vibe-label {
        font-size: 2.5rem;
        /* Larger on mobile for impact */
        margin-bottom: 0;
    }

    .vibe-desc {
        opacity: 1;
        transform: translateY(0);
        margin-top: 5px;
        font-size: 0.9rem;
        margin-bottom: 40px;
        /* Ensure text isn't cut off */
    }
}