/**
 * Layout Styles: Hero, Sections, Asymmetric Compositions & Media Queries
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 95vh;
    min-height: 95svh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 4rem;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg-wrapper picture, .hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.52) 0%,
        rgba(0, 0, 0, 0.32) 45%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    color: rgba(247, 242, 233, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Quote Section
   ========================================================================== */
.quote-section {
    padding: 5rem 0;
    text-align: center;
}
.quote-box {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}
.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.3;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}
.quote-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

/* ==========================================================================
   Asymmetric Story Section
   ========================================================================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-images {
    position: relative;
    min-height: 520px;
}
.story-img-main {
    width: 75%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.story-img-main picture, .story-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.story-img-secondary {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 55%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 8px solid var(--color-surface);
}
.story-img-secondary picture, .story-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-content {
    padding-left: 2rem;
}

/* ==========================================================================
   Atmospheric Banner Section
   ========================================================================== */
.atmosphere-banner {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}
.atmosphere-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.atmosphere-bg picture, .atmosphere-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.atmosphere-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 22, 20, 0.45);
    z-index: 2;
}
.atmosphere-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
}

/* ==========================================================================
   Visit Us Split Screen Section
   ========================================================================== */
.visit-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--color-surface);
    overflow: hidden;
    align-items: stretch;
}
.visit-image-side {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: 100%;
}
.visit-image-side picture, .visit-image-side img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.visit-info-side {
    padding: clamp(2.5rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}
.visit-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.visit-detail-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .topbar-info {
        gap: 1rem;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .story-content {
        padding-left: 0;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .visit-split-grid {
        grid-template-columns: 1fr;
    }
    .visit-image-side {
        min-height: 350px;
        aspect-ratio: 16 / 10;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .gallery-item.col-span-8, .gallery-item.col-span-4, .gallery-item.col-span-6 {
        grid-column: span 12;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .header-topbar {
        display: none;
    }
    .hero-section {
        min-height: 82vh;
        min-height: 82svh;
        padding-top: 4rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .story-images {
        min-height: 340px;
    }
    .story-img-main {
        width: 85%;
    }
    .story-img-secondary {
        width: 60%;
        bottom: -20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .mobile-action-bar {
        display: block;
    }
    body {
        padding-bottom: 70px; /* Offset for sticky bar */
    }
}
