:root {
    --gold: #c5a059;
    --dark: #0f0f0f;
    --cream: #f9f8f4;
    --text-main: #1a1a1a;
    --transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    --container-padding: 4%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

h1,
h2,
h3,
.serif {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
    line-height: 1.1;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem var(--container-padding);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled,
.navbar.page-active {
    background: rgba(249, 248, 244, 0.9);
    padding: 1.2rem var(--container-padding);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
}

.nav-group {
    display: flex;
    gap: 30px;
    list-style: none;
    flex: 1;
}

.nav-group.right {
    justify-content: flex-end;
}

.nav-group a {
    text-decoration: none;
    color: white;
    font-family: 'Tenor Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.navbar.scrolled .nav-group a,
.navbar.page-active .nav-group a {
    color: var(--text-main);
}

.nav-group a:hover,
.nav-group a.active {
    color: var(--gold);
}

.logo {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: white;
    letter-spacing: 6px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    flex: 0 0 auto;
    margin: 0 20px;
}

.navbar.scrolled .logo,
.navbar.page-active .logo {
    color: var(--text-main);
    letter-spacing: 4px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 1px;
    background: white;
    transition: 0.4s;
}

.navbar.scrolled .mobile-toggle span,
.navbar.page-active .mobile-toggle span {
    background: var(--text-main);
}

/* --- VIEW CONTROLLER --- */
.view {
    display: none;
    min-height: 100vh;
    width: 100%;
}

.view.active {
    display: block;
}

/* --- SCROLLYTELLING HERO --- */
.scrolly-container {
    position: relative;
    height: 140vh;
    /* Minimized black space: Reduced from 220vh to 140vh */
    background: var(--dark);
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrolly-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 5%;
    pointer-events: none;
}

.hero-overlay-content h1 {
    font-size: clamp(2.2rem, 10vw, 6.5rem);
    margin-bottom: 20px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
}

.hero-overlay-content .menu-bubble {
    pointer-events: auto;
    margin-top: 40px;
}

/* --- SHARED COMPONENTS --- */
section {
    padding: clamp(80px, 12vh, 120px) var(--container-padding);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.text-center {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.section-tag {
    font-family: 'Tenor Sans';
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.large-serif {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    margin-bottom: 25px;
    line-height: 1.1;
}

.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.arch-container {
    border-radius: 50% 50% 0 0 / 25% 25% 0 0;
    /* More organic arch shape */
    overflow: hidden;
    height: clamp(350px, 70vh, 700px);
    position: relative;
    width: 100%;
}

.arch-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

.arch-container:hover img {
    transform: scale(1.05);
}

.menu-bubble {
    width: clamp(100px, 12vw, 120px);
    height: clamp(100px, 12vw, 120px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
}

.menu-bubble:hover {
    background: white;
    color: black;
    transform: scale(1.1);
    border-color: white;
}

/* --- PHILOSOPHY SECTION (Bridge Content) --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 60px;
}

.phil-item h3 {
    font-family: 'Tenor Sans';
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--gold);
}

.phil-item p {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.6;
    font-weight: 300;
}

/* --- MENU & OTHER PAGES --- */
.menu-header {
    padding-top: 160px;
    text-align: center;
    background: #f2f1ec;
    padding-bottom: 40px;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    list-style: none;
    overflow-x: auto;
    padding: 10px 5%;
    scrollbar-width: none;
}

.menu-categories::-webkit-scrollbar {
    display: none;
}

.menu-categories li {
    font-family: 'Tenor Sans';
    font-size: 0.7rem;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.4s;
    white-space: nowrap;
}

.menu-categories li.active {
    opacity: 1;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px 60px;
    margin-top: 40px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.menu-price {
    font-family: 'Bodoni Moda';
    color: var(--gold);
    font-size: 1.2rem;
}

footer {
    background: white;
    padding: 100px var(--container-padding) 60px;
    border-top: 1px solid #eee;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

@media (max-width: 900px) {
    .navbar {
        padding: 1.5rem var(--container-padding);
    }

    .nav-group {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .responsive-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .arch-container {
        margin: 0 auto;
        max-width: 500px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    transform: translateY(-100%);
    transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    color: white;
    font-family: 'Bodoni Moda';
    font-size: 2.5rem;
    text-decoration: none;
    cursor: pointer;
}

/* --- GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    height: clamp(350px, 65vh, 600px) !important;
    cursor: pointer;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.img-overlay span {
    color: white;
    font-family: 'Tenor Sans';
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .img-overlay span {
    transform: translateY(0);
}

/* Enhancing existing arch-container for interaction */
.interactive-img img {
    will-change: transform;
}

/* --- ADDED IMPROVEMENTS --- */
.submit-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: 'Tenor Sans';
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--gold);
}

.error-message {
    color: #e74c3c;
    font-size: 0.7rem;
    margin-top: 5px;
    display: none;
}

input.invalid {
    border-bottom: 1px solid #e74c3c !important;
}

/* --- BRAND MARQUEE --- */
.marquee {
    display: flex;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 30s linear infinite;
    padding-right: 60px;
}

.marquee-content span {
    font-family: 'Tenor Sans';
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 6px;
    color: white;
    opacity: 0.8;
}

.marquee-content .dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.google-rating {
    margin-bottom: 40px;
}

.google-rating .stars {
    color: #fbbc04;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.google-rating .rating-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.6;
}

.reviews-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 320px;
    background: white;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    flex-shrink: 0;
}

.review-text {
    font-style: italic;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.review-author {
    font-family: 'Tenor Sans';
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .marquee-content {
        gap: 40px;
        animation-duration: 20s;
    }

    .review-card {
        min-width: 280px;
        padding: 30px;
    }
}