/* ============================================
   OTIS CAFE — Clean Minimalist Design System
   Deep Navy (#0f1c2e) + Warm Gold (#c8a45e)
   ============================================ */

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

:root {
    --navy: #0f1c2e;
    --navy-light: #1a2d45;
    --navy-dark: #09111a;
    --gold: #c8a45e;
    --gold-light: #d4b76f;
    --gold-dark: #b8933f;
    --cream: #f8f6f1;
    --cream-dark: #f0ece4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --text-light: #f8f6f1;
    --border: rgba(15, 28, 46, 0.12);
    --border-gold: rgba(200, 164, 94, 0.3);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.section-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 520px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border: 1.5px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200, 164, 94, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-small {
    padding: 0.75rem 1.6rem;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(15, 28, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.7rem 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-mark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--white);
}

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

.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(200, 164, 94, 0.4);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: rgba(200, 164, 94, 0.12);
    border-color: var(--gold);
}

.nav-toggle {
    display: none;
    color: var(--white);
    padding: 0.5rem;
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-inner {
    text-align: center;
}

.nav-overlay-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    color: var(--white);
    padding: 0.5rem;
    transition: transform var(--transition);
}

.nav-overlay-close:hover {
    transform: rotate(90deg);
}

.nav-overlay-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nav-overlay-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.nav-overlay-links a:hover {
    color: var(--gold);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(9, 17, 26, 0.82) 0%,
        rgba(15, 28, 46, 0.72) 50%,
        rgba(15, 28, 46, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 var(--space-md);
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   SECTION DIVIDER
   ============================================ */

.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 200px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

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

/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.about-text {
    padding: var(--space-md) 0;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
}

.about-signature svg {
    opacity: 0.5;
}

/* ============================================
   MENU
   ============================================ */

.menu {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.menu-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.menu-intro {
    margin: 0 auto;
    text-align: center;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.menu-tab {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1.5px solid transparent;
    margin-bottom: -1px;
    transition: all var(--transition);
}

.menu-tab:hover {
    color: var(--navy);
}

.menu-tab.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.menu-item:hover {
    background: rgba(200, 164, 94, 0.03);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: 0.4rem;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--navy);
}

.menu-item-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   HOURS
   ============================================ */

.hours {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.hours-table {
    margin-top: var(--space-md);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

.hours-day {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 400;
}

.hours-time {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hours-note {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hours-map {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-placeholder {
    background: var(--navy);
    padding: var(--space-lg);
    text-align: center;
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.map-placeholder svg {
    color: var(--gold);
    opacity: 0.7;
}

.map-address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.map-address strong {
    color: var(--white);
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    padding: var(--space-2xl) 0;
    background: var(--navy);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-text .section-title {
    color: var(--white);
}

.contact-text .section-body {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    transition: all var(--transition);
    width: 100%;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: rgba(200, 164, 94, 0.1);
    border: 1px solid rgba(200, 164, 94, 0.3);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: var(--space-xs);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--navy-dark);
    padding: var(--space-lg) 0 var(--space-md);
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.04em;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .about-grid,
    .hours-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        aspect-ratio: 16/9;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-headline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .menu-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0;
        border-bottom: none;
    }
    
    .menu-tab {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
        margin-bottom: 0;
    }
    
    .menu-tab.active {
        border-bottom: 1px solid var(--border);
        border-left: 3px solid var(--gold);
        border-right: 3px solid var(--gold);
        border-top: none;
        border-bottom: none;
        background: rgba(200, 164, 94, 0.05);
    }
    
    .footer-top {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-sm);
    }
    
    .btn {
        max-width: 100%;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll {
        animation: none;
    }
}

/* ============================================
   PROGRESSIVE ENHANCEMENT — scroll reveals
   (JS-only, hidden by default for no-JS)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}
