:root {
    --bg-dark: #1A120B;
    --bg-fallback: #1a1a1a;
    --forest: #2C3E2D;
    --forest-dark: #1E2B1F;
    --gold: #E3CA8A;
    --cream: #FAF4E8;
    --cream-hover: #EFE4CE;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-fallback);
}

/* Header */
.site-header {
    text-align: center;
    padding: 16px 20px 12px;
    flex-shrink: 0;
    z-index: 10;
    background-color: var(--bg-dark);
    border-bottom: 2px solid var(--gold);
}

.site-title {
    font-family: 'Playfair Display SC', serif;
    color: var(--gold);
    font-size: clamp(2.1rem, 6vw, 4.8rem);
    margin: 0;
    line-height: 1.05;
}

.site-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--gold);
    margin: 4px 0 0;
}

/* Layout */
.layout-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 200px;
    padding: 20px 15px;
    background-color: var(--forest);
    border-right: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 10;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav-btn {
    text-decoration: none;
    color: var(--forest);
    font-size: 1.05rem;
    font-weight: bold;
    padding: 10px 12px;
    border-radius: 5px;
    background-color: var(--cream);
    text-align: center;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--cream-hover);
    transform: translateY(-1px);
}

.nav-btn--external {
    background-color: var(--forest-dark);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 0.95rem;
}

.nav-btn--external:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.nav-divider {
    width: 80%;
    border: none;
    border-top: 2px solid var(--gold);
    margin: 8px auto;
}

/* Main Content & Hero Slideshow */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.hero-gallery {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-fallback);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.hero-heading {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    text-align: center;
    padding: 0 24px;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    padding: 12px 20px;
    text-align: center;
    border-top: 2px solid var(--gold);
    flex-shrink: 0;
    z-index: 10;
}

.site-footer p {
    color: var(--gold);
    font-size: 0.95rem;
    margin: 0;
}

.site-footer a {
    color: var(--gold);
    text-decoration: underline;
    font-weight: bold;
}

.site-footer a:hover {
    color: var(--cream);
}

/* Mobile Layout */
@media (max-width: 768px) {
    .layout-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 12px;
        border-right: none;
        border-bottom: 2px solid var(--gold);
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    .nav-divider {
        display: none;
    }
}