/* ===== Accordion Gallery ===== */
.accord-gallery-wrapper {
    width: 100%;
    padding: var(--space-block) 1.5vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.accord-gallery {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 560px;
    box-sizing: border-box;
    overflow: hidden;
}

.accord-item {
    position: relative;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                min-width 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.accord-item.active {
    box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}

.accord-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.accord-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 2;
}

.accord-item-caption {
    position: absolute;
    z-index: 3;
    color: #fff;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    pointer-events: none;
    left: 50%;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1),
                bottom 0.45s cubic-bezier(0.4,0,0.2,1),
                opacity 0.3s;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.accord-item.active .accord-item-caption {
    transform: translateX(-50%) rotate(0deg);
    bottom: 26px;
}

.accord-item:not(.active) .accord-item-caption {
    transform: translateX(-50%) rotate(90deg);
    bottom: 96px;
}

/* Mobile gallery styles are in mobile-redesign.css */

.gallery-cta-container {
    margin-top: 3rem;
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
    z-index: 10;
}

.gallery-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: 0.02em;
}

.gallery-download-btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(42, 79, 217, 0.35);
    border: 1px solid rgba(95, 120, 252, 0.4);
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(26, 18, 64, 0.1);
}

.gallery-download-btn:hover {
    background: rgba(95, 120, 252, 0.25);
    border-color: rgba(95, 120, 252, 0.8);
    box-shadow: 0 4px 20px rgba(95, 120, 252, 0.2);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .gallery-cta-text {
        flex-direction: column;
        gap: 0.6rem;
        font-size: 1.05rem;
    }
    .gallery-download-btn {
        padding: 0.5rem 1.4rem;
        font-size: 1rem;
    }
    .gallery-cta-container {
        margin-top: 2rem;
    }
}
