/* ═══════════════════════════════════════════════
   FANTÔME — Stylesheet
   Dark French aesthetic · Geelong VIC
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

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

:root {
    --black:       #090909;
    --dark:        #101010;
    --dark-mid:    #181818;
    --dark-card:   #141414;
    --cream:       #e6d9c5;
    --cream-light: #f3ede4;
    --cream-dim:   rgba(230, 217, 197, 0.65);
    --gold:        #c8a96a;
    --gold-dim:    rgba(200, 169, 106, 0.35);
    --rule:        rgba(200, 169, 106, 0.18);

    --serif: 'Playfair Display', Georgia, serif;
    --sans:  'Jost', system-ui, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nav-h: 80px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--cream);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Fade-in on scroll ── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
    height: var(--nav-h);
    transition: background 0.5s var(--ease), border-color 0.5s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(9, 9, 9, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--rule);
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cream);
    opacity: 0.75;
    transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 1; }

.nav-book {
    border: 1px solid var(--gold) !important;
    padding: 9px 22px !important;
    opacity: 1 !important;
    color: var(--gold) !important;
    transition: background 0.3s, color 0.3s !important;
    border-radius: 0;
}
.nav-book:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--cream);
    transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 190;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--cream);
    letter-spacing: 0.04em;
    transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--gold); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1c1510;
    background-image: linear-gradient(135deg, #1c1208 0%, #2a1a0a 50%, #0f0c08 100%);
    transform: scale(1.04);
    transition: transform 10s ease;
}
.hero:hover .hero-image { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9,9,9,0.2) 0%,
        rgba(9,9,9,0.45) 55%,
        rgba(9,9,9,0.88) 100%
    );
}

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

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

h1.hero-title {
    font-family: var(--serif);
    font-size: clamp(5rem, 16vw, 14rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.65;
    margin-bottom: 52px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.hero-scroll span {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.4;
}
.hero-scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s var(--ease);
}
.btn-outline {
    border: 1px solid var(--cream);
    color: var(--cream);
    padding: 16px 44px;
}
.btn-outline:hover {
    background: var(--cream);
    color: var(--black);
}
.btn-text {
    color: var(--gold);
    padding-bottom: 3px;
    border-bottom: 1px solid var(--gold);
}
.btn-text:hover {
    color: var(--cream-light);
    border-color: var(--cream-light);
}
.btn-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 16px 44px;
}
.btn-gold:hover {
    background: var(--gold);
    color: var(--black);
}

/* ══════════════════════════════
   LAYOUT UTILITIES
══════════════════════════════ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 64px;
}

.label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

/* ══════════════════════════════
   INTRO
══════════════════════════════ */
.intro { padding: 130px 0; }

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.intro-text h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4.5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 28px;
}
.intro-text h2 em { font-style: italic; color: var(--gold); }

.intro-text p {
    color: var(--cream-dim);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 18px;
}
.intro-text .btn { margin-top: 20px; }

.img-fill {
    width: 100%;
    height: 520px;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-mid);
    background-image: linear-gradient(135deg, var(--dark-mid) 0%, #201a10 100%);
}

/* ══════════════════════════════
   SPLIT SECTIONS
══════════════════════════════ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
    background-size: cover;
    background-position: center;
    background-color: var(--dark-mid);
    background-image: linear-gradient(135deg, var(--dark-mid) 0%, #201a10 100%);
    min-height: 480px;
}

.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 72px;
    background: var(--dark);
}
.split-content h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 22px;
}
.split-content p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.85;
    margin-bottom: 38px;
    max-width: 420px;
}

/* ══════════════════════════════
   FULL-BLEED SECTION
══════════════════════════════ */
.fullbleed {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fullbleed-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-mid);
    background-image: linear-gradient(135deg, #1a1208 0%, #0f0c06 100%);
}
.fullbleed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9,9,9,0.62);
}
.fullbleed-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px;
    max-width: 620px;
}
.fullbleed-content h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.fullbleed-content p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.85;
    margin-bottom: 40px;
}

/* ══════════════════════════════
   INFO STRIP
══════════════════════════════ */
.info-strip {
    padding: 64px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.info-label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.info-value {
    font-size: 0.88rem;
    color: var(--cream-dim);
}
.info-link {
    font-size: 0.88rem;
    color: var(--cream-dim);
    text-decoration: none;
    transition: color 0.3s;
}
.info-link:hover { color: var(--cream-light); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
    padding: 90px 0 40px;
    background: var(--dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
.footer-logo {
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 14px;
}
.footer-col > p {
    font-size: 0.84rem;
    color: var(--cream-dim);
    line-height: 1.8;
    margin-bottom: 8px;
}
.footer-head {
    font-size: 0.62rem !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold) !important;
    opacity: 1 !important;
    margin-bottom: 16px !important;
}
.footer-col a {
    display: block;
    font-size: 0.84rem;
    color: var(--cream-dim);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 28px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.74rem;
    color: var(--cream);
    opacity: 0.28;
    letter-spacing: 0.06em;
}

/* ══════════════════════════════
   INNER PAGES — shared
══════════════════════════════ */
.page-hero {
    position: relative;
    height: 52vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 64px;
    overflow: hidden;
}
.page-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-mid);
    background-image: linear-gradient(135deg, #1c1510 0%, #0f0c08 100%);
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,9,9,0.9) 0%, rgba(9,9,9,0.3) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-content .label { margin-bottom: 12px; }
.page-hero-content h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

/* ── Menu / Drinks page layout ── */
.page-body { padding: 90px 0 120px; }

.menu-intro {
    max-width: 600px;
    margin-bottom: 72px;
}
.menu-intro p {
    font-size: 0.95rem;
    color: var(--cream-dim);
    line-height: 1.85;
}

.menu-section { margin-bottom: 64px; }
.menu-section-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.04em;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 32px;
}

.menu-items { display: flex; flex-direction: column; gap: 0; }

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--cream-light);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.menu-item-desc {
    font-size: 0.82rem;
    color: var(--cream-dim);
    font-style: italic;
}
.menu-item-tags {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}
.menu-item-price {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--cream);
    white-space: nowrap;
    opacity: 0.8;
}

/* ── Drinks tabs ── */
.drinks-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 56px;
}
.drinks-tab {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream-dim);
    padding: 14px 28px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.3s, border-color 0.3s;
}
.drinks-tab.active, .drinks-tab:hover {
    color: var(--cream-light);
    border-bottom-color: var(--gold);
}

.drinks-panel { display: none; }
.drinks-panel.active { display: block; }

/* Wine list two-column */
.wine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 80px;
}

/* ── Events / Contact page ── */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.events-text h2, .contact-text h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.events-text p, .contact-text p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.85;
    margin-bottom: 14px;
}
.events-text .btn { margin-top: 20px; }

.features-list {
    list-style: none;
    margin: 24px 0 36px;
}
.features-list li {
    font-size: 0.88rem;
    color: var(--cream-dim);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 14px;
}
.features-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.map-embed {
    width: 100%;
    height: 420px;
    border: none;
    display: block;
    background: var(--dark-mid);
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.hours-table td {
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--cream-dim);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hours-table td:first-child { color: var(--cream); }
.hours-table tr:last-child td { border-bottom: none; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .nav { padding: 0 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .wine-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .container { padding: 0 24px; }

    h1.hero-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }

    .intro { padding: 80px 0; }
    .intro-grid { grid-template-columns: 1fr; gap: 44px; }
    .img-fill { height: 320px; }

    .split-section { grid-template-columns: 1fr; }
    .split-section.reverse { direction: ltr; }
    .split-image { min-height: 280px; order: -1; }
    .split-section.reverse .split-image { order: 0; }
    .split-content { padding: 56px 24px; }

    .fullbleed { min-height: 460px; }

    .info-grid { grid-template-columns: 1fr; text-align: left; gap: 28px; }

    .footer { padding: 64px 0 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .page-hero { height: 40vh; min-height: 280px; padding-bottom: 44px; }
    .page-body { padding: 60px 0 90px; }

    .two-col-grid { grid-template-columns: 1fr; gap: 48px; }

    .drinks-tabs { overflow-x: auto; }
    .drinks-tab { padding: 12px 20px; white-space: nowrap; }
}
