/* ===================================
   CAPRICE & BAR GROTTA
   Sexy, Flowing, Mobile-First
   =================================== */

:root {
    /* Primary - Bar Grotta */
    --baritone-blue: #262735;

    /* Primary - Caprice */
    --chai-tea: #b38330;
    --birch: #ded5c8;

    /* Secondary */
    --mink: #734c42;
    --cedar-wood: #a2665b;
    --rose-dust: #ceb2a5;
    --chocolate-torte: #392e2d;

    /* Aliases for ease of use */
    --gold: #b38330;
    --navy: #262735;
    --navy-deep: #1a1a24;
    --cream: #faf9f7;
    --cream-dark: #f0eeeb;
    --dark-brown: #392e2d;
    --tan: #ceb2a5;
    --terracotta: #a2665b;

    --font-elegant: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Darker Grotesque', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-brown);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gold);
    color: var(--navy);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
}

h1, h2, h3 {
    font-family: var(--font-elegant);
    font-weight: 400;
}

em {
    font-family: var(--font-elegant);
    font-style: italic;
    color: var(--gold);
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 40px;
    transition: all 0.5s var(--ease);
}

.nav.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 40px;
}

.nav-logo img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.nav.scrolled .nav-links a {
    color: var(--navy);
}

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

.nav-reserve {
    position: absolute;
    right: 40px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 14px 28px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.nav-reserve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.5s var(--ease);
    z-index: -1;
}

.nav-reserve:hover {
    color: var(--navy);
}

.nav-reserve:hover::before {
    left: 0;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--dark-brown) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 30%, rgba(217, 161, 68, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 70%, rgba(168, 111, 82, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero-logo {
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.4s forwards;
}

.hero-logo img {
    max-width: 500px;
    width: 80vw;
    height: auto;
}

.hero-tagline {
    font-family: var(--font-elegant);
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    font-weight: 300;
    color: var(--cream);
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold);
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-cta:hover {
    color: var(--cream);
    border-color: var(--cream);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tan);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===================================
   STORY
   =================================== */

.story {
    padding: 140px 24px;
    display: flex;
    justify-content: center;
}

.story-content {
    max-width: 680px;
    text-align: center;
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.story h2 {
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 48px;
}

.story-text {
    margin-bottom: 48px;
}

.story-text p {
    font-family: var(--font-elegant);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-brown);
    margin-bottom: 24px;
}

.story-quote {
    font-family: var(--font-elegant);
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    color: var(--gold);
}

/* ===================================
   CAPRICE
   =================================== */

.caprice {
    padding: 140px 24px;
    background: var(--cream-dark);
    display: flex;
    justify-content: center;
}

.caprice-content {
    max-width: 680px;
    text-align: center;
}

.caprice h2 {
    font-size: clamp(48px, 10vw, 100px);
    font-style: italic;
    color: var(--navy);
    margin-bottom: 16px;
}

.caprice-logo {
    margin-bottom: 24px;
}

.caprice-logo img {
    max-width: 320px;
    width: 70vw;
    height: auto;
}

.venue-tagline {
    font-family: var(--font-elegant);
    font-size: 20px;
    font-style: italic;
    color: var(--terracotta);
    letter-spacing: 0.1em;
    margin-bottom: 48px;
}

.venue-text {
    margin-bottom: 48px;
}

.venue-text p {
    font-family: var(--font-elegant);
    font-size: clamp(18px, 2.5vw, 21px);
    font-weight: 300;
    line-height: 1.85;
    color: var(--dark-brown);
    margin-bottom: 24px;
}

.btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 18px 48px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.5s var(--ease);
    z-index: -1;
}

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

.btn:hover::before {
    left: 0;
}

/* ===================================
   BAR GROTTA
   =================================== */

.grotta {
    padding: 160px 24px;
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.grotta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(217, 161, 68, 0.06) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: glow 6s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.grotta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-align: center;
}

.eyebrow-light {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 24px;
}

.grotta-title {
    font-size: clamp(48px, 12vw, 120px);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 16px;
    line-height: 0.95;
}

.grotta-logo {
    margin-bottom: 24px;
}

.grotta-logo img {
    max-width: 480px;
    width: 85vw;
    height: auto;
}

.venue-tagline-light {
    font-family: var(--font-elegant);
    font-size: 20px;
    font-style: italic;
    color: var(--tan);
    letter-spacing: 0.05em;
    margin-bottom: 48px;
}

.venue-text-light {
    margin-bottom: 48px;
}

.venue-text-light p {
    font-family: var(--font-elegant);
    font-size: clamp(18px, 2.5vw, 21px);
    font-weight: 300;
    line-height: 1.85;
    color: var(--tan);
    margin-bottom: 24px;
}

.grotta-quote {
    font-family: var(--font-elegant);
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 48px;
    opacity: 0.9;
}

.btn-light {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 18px 48px;
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(179, 131, 48, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.btn-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.5s var(--ease);
    z-index: -1;
}

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

.btn-light:hover::before {
    left: 0;
}

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

.taste {
    padding: 140px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.taste-header {
    text-align: center;
    margin-bottom: 60px;
}

.taste-header h2 {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--navy);
}

.menu-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 48px;
}

.menu-divider {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--terracotta);
    opacity: 0.4;
    font-weight: 200;
}

.arrow-down {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--terracotta);
    line-height: 1;
}

.stairs-icon {
    width: clamp(28px, 5vw, 42px);
    height: clamp(28px, 5vw, 42px);
    color: var(--terracotta);
}

.menu-link {
    font-family: var(--font-elegant);
    font-size: clamp(28px, 5vw, 42px);
    font-style: italic;
    color: var(--navy);
    position: relative;
    transition: color 0.4s var(--ease);
    background: none;
    border: none;
    cursor: pointer;
}

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

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

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

.menu-link-grotta {
    color: var(--terracotta);
}

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

/* Menu Panel */
.menu-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--cream);
    z-index: 200;
    padding: 80px 40px 40px;
    overflow-y: auto;
    transition: right 0.5s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.menu-panel.active {
    right: 0;
}

.menu-panel-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--navy);
    cursor: pointer;
    transition: color 0.3s;
}

.menu-panel-close:hover {
    color: var(--gold);
}

.menu-panel-section {
    display: none;
}

.menu-panel-section.active {
    display: block;
}

.menu-panel-section h3 {
    font-family: var(--font-elegant);
    font-size: 32px;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gold);
}

.panel-item {
    margin-bottom: 24px;
}

.panel-item-name {
    display: block;
    font-family: var(--font-elegant);
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 4px;
}

.panel-item-desc {
    font-size: 14px;
    color: var(--terracotta);
    font-style: italic;
}

/* Grotta panel dark theme */
.menu-panel-grotta h3 {
    color: var(--gold);
}

.menu-panel.grotta-theme {
    background: var(--navy);
}

.menu-panel.grotta-theme .menu-panel-close {
    color: var(--cream);
}

.menu-panel.grotta-theme .menu-panel-close:hover {
    color: var(--gold);
}

.menu-panel.grotta-theme .panel-item-name {
    color: var(--cream);
}

.menu-panel.grotta-theme .panel-item-desc {
    color: var(--tan);
}

/* Overlay */
.menu-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease);
}

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

.taste-menu h3 {
    font-size: 24px;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gold);
}

.taste-menu-dark {
    background: var(--navy);
    padding: 40px;
    margin: -20px;
}

.taste-menu-dark h3 {
    color: var(--gold);
    border-color: rgba(217, 161, 68, 0.3);
}

.menu-item {
    margin-bottom: 24px;
}

.item-name {
    display: block;
    font-family: var(--font-elegant);
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 4px;
}

.taste-menu-dark .item-name {
    color: var(--cream);
}

.item-desc {
    font-size: 14px;
    color: var(--terracotta);
    font-style: italic;
}

.taste-menu-dark .item-desc {
    color: var(--tan);
}

/* ===================================
   RESERVATIONS
   =================================== */

.reservations {
    padding: 140px 24px;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--dark-brown) 100%);
    display: flex;
    justify-content: center;
}

.reservations-content {
    max-width: 900px;
    text-align: center;
}

.reservations-title {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--cream);
    margin-bottom: 16px;
}

.reservations-title em {
    display: block;
}

.reservations-tagline {
    font-family: var(--font-elegant);
    font-size: 20px;
    font-style: italic;
    color: var(--tan);
    margin-bottom: 64px;
}

.reservations-venues {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.res-venue {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: center;
    padding: 48px 40px;
    border: 1px solid rgba(217, 161, 68, 0.2);
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.res-btn {
    margin-top: auto;
}

.res-venue:hover {
    border-color: rgba(217, 161, 68, 0.5);
    background: rgba(255,255,255,0.02);
}

.res-venue h3 {
    font-size: 32px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 16px;
}

.res-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 24px;
}

.res-venue p {
    font-family: var(--font-elegant);
    font-size: 17px;
    font-weight: 300;
    color: var(--cream);
    line-height: 1.7;
    margin-bottom: 20px;
}

.res-venue .hours {
    display: block;
    font-size: 13px;
    color: var(--tan);
    margin-bottom: 32px;
}

.res-venue-grotta {
    background: rgba(0,0,0,0.2);
}

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

.footer {
    background: var(--dark-brown);
    padding: 80px 24px 40px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    display: block;
    height: 56px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo-grotta {
    height: 36px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-family: var(--font-elegant);
    font-size: 18px;
    color: var(--tan);
}

.footer-brand span {
    font-size: 13px;
    color: var(--tan);
    opacity: 0.6;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    color: var(--tan);
    line-height: 1.8;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(200, 177, 140, 0.15);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--tan);
    opacity: 0.5;
}

.footer-credit {
    display: block;
    font-size: 11px;
    color: var(--tan);
    opacity: 0.3;
    margin-top: 12px;
    transition: opacity 0.3s;
}

.footer-credit:hover {
    opacity: 0.6;
    color: var(--gold);
}

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

@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
        justify-content: flex-end;
    }

    .nav.scrolled {
        padding: 20px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo img {
        height: 36px;
    }

    .nav-reserve {
        position: static;
        padding: 10px 16px;
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .hero-scroll {
        display: none;
    }

    .story,
    .caprice,
    .grotta,
    .taste,
    .reservations {
        padding: 100px 24px;
    }

    .taste-menus {
        gap: 48px;
    }

    .taste-menu-dark {
        padding: 32px 24px;
        margin: 0;
    }

    .reservations-venues {
        gap: 24px;
    }

    .res-venue {
        padding: 40px 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-info {
        justify-content: center;
        text-align: center;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
