/* ============================================
   China Buffet — Clean Minimalist Design
   Palette: Deep Navy (#0f1c3f) + Warm Gold (#c9a84c)
   Fonts: Cormorant Garamond (headings) + Inter (body)
============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f1c3f;
    --navy-light: #1a2744;
    --navy-lighter: #243456;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-pale: #f5e6b8;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Navigation
============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 28, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

/* ============================================
   Mobile Menu
============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gold);
    padding: 0.5rem;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 2rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.mobile-link:hover {
    color: var(--gold);
}

.mobile-cta {
    margin-top: 1rem;
    color: var(--gold) !important;
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 0.75rem 2.5rem;
}

/* ============================================
   Hero
============================================ */
.hero {
    min-height: 100vh;
    background: var(--navy);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
    padding-top: 72px;
    padding-bottom: 4rem;
}

.hero-content {
    padding-right: 1rem;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.5rem;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    color: var(--gold);
    font-style: italic;
}

.hero-subheadline {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-light:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 0.875rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame:hover img {
    transform: scale(1.02);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 2px;
    z-index: -1;
}

/* Hero Scroll */
.hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem 2rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(201, 168, 76, 0.4);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.5); opacity: 0.5; }
}

/* ============================================
   Section Divider
============================================ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 2rem;
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: rgba(15, 28, 63, 0.15);
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   Section Headers
============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   Menu Section
============================================ */
.menu {
    padding: 7rem 0;
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.menu-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(15, 28, 63, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 28, 63, 0.08);
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.menu-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.2);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.menu-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.menu-card-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu-cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 2px;
    border: 1px solid rgba(15, 28, 63, 0.06);
}

.menu-cta-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* ============================================
   About Section
============================================ */
.about {
    padding: 7rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 28, 63, 0.85), transparent);
    border-radius: 0 0 2px 2px;
}

.about-image-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    font-style: italic;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 28, 63, 0.08);
}

.stat {
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(15, 28, 63, 0.12);
}

/* ============================================
   Visit Section
============================================ */
.visit {
    padding: 7rem 0;
    background: var(--cream);
}

.visit-header {
    text-align: center;
    margin-bottom: 4rem;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit-card {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(15, 28, 63, 0.06);
    transition: var(--transition);
}

.visit-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 30px rgba(15, 28, 63, 0.06);
}

.visit-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 1rem;
}

.visit-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.visit-card-text {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.visit-card-text a {
    color: var(--navy);
    border-bottom: 1px solid rgba(201, 168, 76, 0.4);
    transition: var(--transition);
}

.visit-card-text a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 350px;
    border: 1px solid rgba(15, 28, 63, 0.06);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* ============================================
   CTA Section
============================================ */
.cta {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--navy-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Scroll Reveal
============================================ */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progressive enhancement — only animate if reduced motion is not preferred */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
        order: 1;
    }
    
    .hero-image {
        order: 2;
        min-height: 350px;
        height: 350px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .menu-card {
        padding: 1.75rem;
    }
    
    .visit-card {
        padding: 1.5rem;
    }
}
