:root {
    /* APPLE PRO AESTHETIC - CREAM TITANIUM (WAVERLEY EDITION) */

    /* Palette - Warm, Premium, "Cream Pro" */
    --bg-color: #F9F7F2;
    /* Rich Cream */
    --surface-color: #ffffff;
    /* Crisp White Cards */
    --nav-bg: rgba(249, 247, 242, 0.85);
    /* Glassy Cream */

    --text-primary: #1a1a1a;
    /* Sharp Black */
    --text-secondary: #5d5d5d;
    /* Warm Grey */

    --accent-color: #c5a059;
    /* Antique Gold */
    --brand-green: #1a472a;
    /* Deep Green */

    /* Typography - San Francisco / System */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Pro Dimensions */
    --nav-height: 70px;
    --radius-l: 32px;
    --radius-m: 20px;

    --shadow-soft: 0 10px 40px rgba(197, 160, 89, 0.08);
    /* Gold-tinted shadow */
    --shadow-hover: 0 20px 60px rgba(197, 160, 89, 0.15);

    /* Blur */
    --glass: blur(25px) saturate(140%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.4;
    padding-top: var(--nav-height);
    overflow-x: hidden;
}

/* TYPOGRAPHY - MASSIVE & GOLDEN */
h1 {
    font-size: 80px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.2em;
    /* White text for video overlay */
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 56px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

p {
    font-size: 21px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}


/* NAVBAR - CREAM GLASS */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.navbar::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    /* Widened slightly for new logo */
    height: 70px;
    /* Deeper dip */
    background: var(--nav-bg);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-top: none;
    box-shadow: var(--shadow-soft);
    z-index: 999;
}

.nav-container {
    height: 100%;
    max-width: 1200px;
    /* Wider container for more space */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Logo */
.nav-logo {
    position: absolute;
    top: 5px;
    /* Slight push down */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    height: 130px;
    /* Taller container */
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-logo .logo-img {
    height: 110px;
    /* Slightly larger logo */
    width: auto;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}


/* Menu - Clean Text */
.nav-menu {
    display: flex;
    height: 100%;
    align-items: center;
    list-style: none;
    margin: 0;
}

/* INCREASED SPACING FOR LOGO */
.nav-left {
    margin-right: 160px;
    /* Was 90px */
}

.nav-right {
    margin-left: 160px;
    /* Was 90px */
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 15px;
    letter-spacing: -0.01em;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-color);
}


/* HERO - CINEMATIC "MOVING PICTURE" */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: black;
    overflow: hidden;
    margin-top: -70px;
    /* Pull behind transparent header */
    padding-top: 70px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Crucial: Makes it unclickable like an image */
    overflow: hidden;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures it fills screen without distortion */
    opacity: 0.9;
    /* Slight dim for text readability */
    transform: scale(1.02);
    /* Slight zoom to avoid edge artifacts */
}

/* Apple-style Gradient Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from clear to the page background color (Cream) at the bottom */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0) 50%,
            var(--bg-color) 95%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    animation: heroFade 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Button - The "Buy" Button Vibe */
.btn-primary {
    background: var(--brand-green);
    color: white;
    padding: 14px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(26, 71, 42, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(26, 71, 42, 0.3);
}

/* Opening Hours Panel - Floating Glass */
.opening-hours-panel {
    background: rgba(255, 255, 255, 0.1);
    /* Frosted Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Positioning */
    padding: 30px;
    border-radius: 24px;
    width: 300px;
    position: absolute;
    right: 5%;
    bottom: -50px;
    z-index: 3;
    text-align: left;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.opening-hours-panel h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent-color);
}


/* BENTO GRIDS - WHITE on CREAM */
.info-cards-section {
    padding: 120px 0;
    background: var(--bg-color);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.info-card {
    background: white;
    border-radius: var(--radius-l);
    height: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.info-card.wide {
    grid-column: span 2;
    height: 550px;
    flex-direction: row;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.info-card-content {
    padding: 50px;
    z-index: 2;
    position: relative;
}

.info-card-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.info-card:hover .info-card-image img {
    transform: scale(1.05);
}


/* ADMIN - CREAM GLASS PANEL */
#themeEditorPanel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    font-family: var(--font-stack);
    border: 1px solid rgba(197, 160, 89, 0.2);
    display: block !important;
}

.edit-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-green);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(26, 71, 42, 0.3);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.admin-mode .edit-btn {
    opacity: 1;
    pointer-events: auto;
}

.admin-mode *:hover>.edit-btn {
    transform: scale(1.1);
}

/* FOOTER */
.footer {
    background: #f0ede6;
    padding: 100px 0 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer p,
.footer a {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

/* ERROR */
#loginError {
    color: #d32f2f;
    margin-top: 10px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-card.wide {
        grid-column: auto;
        height: 500px;
        flex-direction: column;
    }

    .info-card {
        height: 500px;
    }

    .opening-hours-panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 20px;
    }
}