:root {
    --color-bg: #0d0d0d;
    --video-bg: #0d0d0d;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-accent: #c4a173; /* Gold/Bronze */
    --color-accent-dark: #8c7353;
    --ui-overlay: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.8) 100%);
    --ui-surface: rgba(255,255,255,0.05);
    --ui-surface-hover: rgba(255,255,255,0.08);
    --ui-surface-strong: linear-gradient(to top, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.9) 55%, rgba(7,7,7,0.82) 100%);
    --ui-border: rgba(255,255,255,0.12);
    --ui-border-soft: rgba(255,255,255,0.08);
    --ui-border-strong: rgba(255,255,255,0.3);
    --ui-cta-bg: rgba(0,0,0,0.3);
    --ui-cta-hover: rgba(196,161,115,0.1);
    --ui-highlight-start: #e6c89e;
    --ui-highlight-end: #a38258;
    --ui-hero-text: #cccccc;
    
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body.light-theme {
    --color-bg: #f4ede4;
    --color-text: #201b16;
    --color-text-muted: #6f6357;
    --color-accent: #8f6b44;
    --color-accent-dark: #6c4e31;
    --ui-overlay: linear-gradient(to right, rgba(244,237,228,0.92) 0%, rgba(244,237,228,0.56) 50%, rgba(244,237,228,0.84) 100%);
    --ui-surface: rgba(244,237,228,0.55);
    --ui-surface-hover: rgba(32,27,22,0.08);
    --ui-surface-strong: linear-gradient(to top, rgba(244,237,228,0.98) 0%, rgba(244,237,228,0.94) 55%, rgba(244,237,228,0.86) 100%);
    --ui-border: rgba(32,27,22,0.14);
    --ui-border-soft: rgba(32,27,22,0.08);
    --ui-border-strong: rgba(32,27,22,0.3);
    --ui-cta-bg: rgba(244,237,228,0.7);
    --ui-cta-hover: rgba(32,27,22,0.06);
    --ui-highlight-start: #8f6b44;
    --ui-highlight-end: #6c4e31;
    --ui-hero-text: #5f554a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    /* We will make the body tall enough to scroll */
    height: 500vh; /* 5 screens of scrolling for the video */
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--video-bg);
}

#bg-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loading-logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: var(--color-text);
    font-family: var(--font-sans);
}

.loading-bar-container {
    width: 100%;
    height: 2px;
    background-color: var(--ui-border-soft);
    overflow: hidden;
    position: relative;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width 0.1s ease-out;
}

.loading-text {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.loading-percentage {
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 0.5rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ui-overlay);
}

.content-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 4rem;
    pointer-events: none; /* Let scroll pass through */
}

.content-wrapper > * {
    pointer-events: auto; /* Re-enable clicks for children */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    flex: 1;
}

.main-nav {
    display: flex;
    gap: 3rem;
    flex: 2;
    justify-content: center;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    color: var(--color-accent);
}

.contact div {
    display: flex;
    flex-direction: column;
}

.phone {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.1rem;
}

.call-now {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-text);
    transition: 0.3s;
}
.menu-btn span:nth-child(2) {
    width: 20px;
    margin-left: auto;
}

.theme-toggle-btn {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    border: 1px solid var(--ui-border);
    background: var(--ui-surface);
    color: var(--color-text);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

body.light-theme .theme-toggle-btn {
    background: var(--ui-surface);
    border-color: var(--ui-border);
    box-shadow: 0 14px 30px rgba(62, 47, 33, 0.1);
}

.theme-toggle-btn:hover {
    transform: translateY(-1px);
    background: var(--ui-surface-hover);
    border-color: var(--ui-border-strong);
}

body.light-theme .theme-toggle-btn:hover {
    background: var(--ui-surface-hover);
    border-color: var(--ui-border-strong);
}

.theme-toggle-btn:active,
.theme-toggle-btn.is-toggling {
    transform: scale(0.92);
}

.theme-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.theme-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
    opacity: 0;
    transform: rotate(-70deg) scale(0.65);
}

body.light-theme .theme-icon-sun {
    opacity: 0;
    transform: rotate(70deg) scale(0.65);
}

body.light-theme .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
}

.hero-content {
    max-width: 650px;
}

.hero-content .subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-content h1 .highlight {
    background: linear-gradient(to right, var(--ui-highlight-start), var(--ui-highlight-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ui-hero-text);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-accent);
    text-decoration: none;
    border: 1px solid var(--ui-border);
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    border-radius: 4px;
    transition: all 0.3s;
    background: var(--ui-cta-bg);
}

.cta-button:hover {
    background: var(--ui-cta-hover);
    border-color: var(--color-accent);
}

.section-panels {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: min(520px, 45vw);
    min-height: 480px;
    z-index: 10;
    pointer-events: none;
}

.section-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--ui-border-soft);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

body.light-theme .section-panel {
    background: linear-gradient(135deg, rgba(244, 237, 228, 0.75) 0%, rgba(244, 237, 228, 0.55) 100%);
    border-color: rgba(32, 27, 22, 0.08);
    box-shadow: 0 30px 60px rgba(62, 47, 33, 0.06);
}

.section-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--ui-border-strong);
    pointer-events: auto;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

body.light-theme .section-panel.is-active {
    box-shadow: 0 35px 70px rgba(62, 47, 33, 0.12);
}

.panel-watermark {
    position: absolute;
    right: 2rem;
    bottom: 0rem;
    font-family: var(--font-serif);
    font-size: 11rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
}

body.light-theme .panel-watermark {
    opacity: 0.05;
}

.panel-number {
    display: inline-block;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-panel h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-text) 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .section-panel h2 {
    background: linear-gradient(to right, var(--color-text) 50%, var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-panel p {
    color: var(--ui-hero-text);
    line-height: 1.6;
    font-size: 0.94rem;
    margin-bottom: 1.5rem;
}

/* Panel Content Elements */
.panel-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
    border-top: 1px solid var(--ui-border-soft);
    padding-top: 1.5rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-accent);
}

.metric-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.68rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ui-border-soft);
    color: var(--ui-hero-text);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

body.light-theme .tag {
    background: rgba(32, 27, 22, 0.04);
}

.tag:hover {
    background: rgba(196, 161, 115, 0.15);
    border-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-1px);
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.panel-link svg {
    transition: transform 0.3s ease;
}

.panel-link:hover {
    color: var(--color-text);
}

.panel-link:hover svg {
    transform: translateX(4px);
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-num {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 0.1rem;
}

.list-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.list-text strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.list-text span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.panel-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--ui-border-soft);
    padding-top: 1.25rem;
}

.contact-link, .contact-hours {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ui-hero-text);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s ease;
}

.contact-link svg, .contact-hours svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-link:hover {
    color: var(--color-accent);
}

.panel-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(140, 115, 83, 0.2);
    border: none;
    cursor: pointer;
    margin-top: auto;
    text-align: center;
}

body.light-theme .panel-cta-btn {
    box-shadow: 0 10px 20px rgba(108, 78, 49, 0.15);
}

.panel-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(140, 115, 83, 0.3);
    filter: brightness(1.1);
}

.panel-cta-btn:active {
    transform: translateY(0);
}

.panel-cta-btn svg {
    transition: transform 0.3s ease;
}

.panel-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.scroll-indicator .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
}

.scroll-indicator .steps .active {
    color: var(--color-accent);
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--ui-border-soft);
}

.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-prompt span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid var(--ui-border-strong);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--color-text-muted);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Footer Features */
.features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.25rem;
    border-top: 1px solid var(--ui-border-soft);
    padding: 2.25rem 4rem 2.35rem;
    background: var(--ui-surface-strong);
    margin: 0 -4rem -2.5rem;
    width: calc(100% + 8rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -20px 50px rgba(0,0,0,0.16);
}

body.light-theme .features {
    box-shadow: 0 -20px 50px rgba(62,47,33,0.08);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
    padding: 0 0.85rem;
    border-right: 1px solid var(--ui-border-soft);
}

.feature:last-child {
    border-right: none;
}

.feature .icon {
    color: var(--color-accent);
}

.feature h4 {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.scroll-anchors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.scroll-anchors > div {
    height: 100vh;
}

@media (max-width: 1300px) {
    .hero {
        align-items: flex-start;
    }

    .section-panels {
        width: min(420px, 44vw);
    }

    .features {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature {
        flex: 1 1 calc(50% - 0.5rem);
        border-right: none;
        border-bottom: 1px solid var(--ui-border-soft);
        padding-bottom: 0.75rem;
    }

    .feature:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 800px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .section-panels {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        min-height: 440px;
    }

    .section-panel {
        padding: 1.5rem 1.75rem;
        border-radius: 12px;
    }

    .section-panel h2 {
        font-size: 1.75rem;
    }

    .panel-watermark {
        font-size: 8rem;
        right: 1rem;
        bottom: -0.5rem;
    }
    
    .panel-metrics {
        gap: 0.75rem;
        padding-top: 1rem;
    }
    
    .metric-num {
        font-size: 1.5rem;
    }

    .features {
        padding: 1.6rem 1.2rem 1.8rem;
        margin: 0 -1.2rem -1.2rem;
        width: calc(100% + 2.4rem);
    }

    .feature {
        flex: 1 1 100%;
        padding: 0 0 0.85rem;
    }

    .feature:not(:last-child) {
        border-bottom: 1px solid var(--ui-border-soft);
    }
}
