/* Upscale Museum/Gallery Homepage Styles - Theatre & Classical Dance */

/* Elegant Theatrical Hero Section (Taller Full-Screen Height) */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    background-color: #0b0707;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    padding-top: 80px; /* Account for fixed navigation header */
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding-top: 80px;
        padding-bottom: 90px;
    }
}

/* Hero Slider Backgrounds with Ken Burns zoom effect */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.1, 0.9, 0.2, 1);
    will-change: opacity, transform;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Cinematic Multi-layered Dark Vignette & Gradient for maximum quote readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(8, 5, 6, 0.7) 100%),
        linear-gradient(180deg, rgba(8, 5, 6, 0.5) 0%, transparent 25%, transparent 60%, rgba(8, 5, 6, 0.9) 100%);
}

/* Centered Pure Dynamic Typography & Quotes (No Box / No Border) */
.hero-container {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: clamp(20px, 4vw, 60px);
    padding-right: clamp(20px, 4vw, 60px);
    padding-bottom: 120px; /* Room for centered bottom button */
}

.hero-quotes-wrapper {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 150px;
    }
    .hero-quotes-wrapper {
        min-height: 260px;
    }
}

/* Individual Slide Quote Item (Centered) */
.hero-quote-item {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(25px);
    max-width: 880px;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    pointer-events: none;
}

.hero-quote-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Attractive Clean Centered Quote Typography */
.hero-quote-text {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.6vw, 3.1rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.01em;
}

@media (max-width: 576px) {
    .hero-quote-text {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
        line-height: 1.4;
    }
}

/* Centered Bottom CTA Button */
.hero-bottom-cta {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: max-content;
    max-width: 90%;
}

.hero-bottom-cta .btn-accent {
    padding: 16px 46px;
    font-size: 1.15rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #F9A01B 0%, #D48810 100%);
    color: #111111;
    border: 1px solid #F9A01B;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
}

.hero-bottom-cta .btn-accent:hover {
    background: linear-gradient(135deg, #ffb338 0%, #F9A01B 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 160, 27, 0.6);
    color: #111111;
}

@media (max-width: 576px) {
    .hero-bottom-cta {
        bottom: 50px;
        width: calc(100% - 40px);
    }
    .hero-bottom-cta .btn-accent {
        padding: 14px 28px;
        font-size: 1.02rem;
        width: 100%;
    }
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 12, 14, 0.65);
    border: 1px solid rgba(249, 160, 27, 0.4);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.slider-arrow:hover {
    background: var(--color-gold);
    color: #111;
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(249, 160, 27, 0.6);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.slider-prev {
    left: 24px;
}

.slider-arrow.slider-next {
    right: 24px;
}

@media (max-width: 992px) {
    .slider-arrow {
        display: none;
    }
}

.slider-dot {
    background: transparent;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-base);
}

.slider-dot .dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: var(--transition-base);
}

.slider-dot:hover {
    color: rgba(255, 255, 255, 0.9);
}

.slider-dot:hover .dot-indicator {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    color: var(--color-gold);
}

.slider-dot.active .dot-indicator {
    background: var(--color-gold);
    width: 22px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(249, 160, 27, 0.7);
}

/* Editorial Layout for other sections */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: center;
}

@media (min-width: 768px) {
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.editorial-text h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-4);
    font-weight: 400;
}

.editorial-text p {
    color: var(--color-gray-mid);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

/* Museum Cards overrides */
.card-museum {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: var(--space-4);
    transition: var(--transition-base);
}

.card-museum:hover {
    box-shadow: none;
    transform: translateY(-5px);
    border-bottom-color: var(--color-accent);
}

.card-museum .card-image {
    border-radius: 0;
    height: 300px;
    margin-bottom: var(--space-3);
}

.card-museum .card-content {
    padding: 0;
}

.card-museum h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.newsletter-form {
    flex-direction: column;
}

@media (min-width: 480px) {
    .newsletter-form {
        flex-direction: row;
    }
}

/* Home Page Gallery Grid (Equal Sized Images, 2 per row on Mobile) */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 24px);
    width: 100%;
}

@media (max-width: 991px) {
    .home-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

.home-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-gallery-item:hover img {
    transform: scale(1.06);
}

