/* ───────────────────────────────────────────────
   Mick & Miki's Red Cedar Bar — Stylesheet
   Palette: Deep Navy (#0f1c3f) + Warm Gold (#c9a84c)
   Fonts: Syne (headings) + Inter (body)
─────────────────────────────────────────────── */

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

:root {
    --navy:       #0f1c3f;
    --navy-light: #1a2d56;
    --navy-dark:  #09112a;
    --gold:       #c9a84c;
    --gold-light: #dfc06e;
    --gold-dark:  #a8872e;
    --white:      #ffffff;
    --off-white:  #f7f5f0;
    --cream:      #faf8f4;
    --gray-50:    #f9fafb;
    --gray-100:   #f3f4f6;
    --gray-200:   #e5e7eb;
    --gray-300:   #d1d5db;
    --gray-400:   #9ca3af;
    --gray-500:   #6b7280;
    --gray-600:   #4b5563;
    --gray-700:   #374151;
    --gray-800:   #1f2937;
    --font-h:     'Syne', sans-serif;
    --font-b:     'Inter', sans-serif;
    --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SECTION LABELS ──────────────────────────── */
.section-label {
    font-family: var(--font-b);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 520px;
    line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-b);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    border-radius: 4px;
    transition: all 0.3s var(--ease);
    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 8px 24px rgba(201, 168, 76, 0.25);
}

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

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

.btn-full {
    width: 100%;
}

/* ── NAVIGATION ──────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(15, 28, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-brand-icon {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

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

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

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

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

.nav-cta {
    font-size: 0.78rem !important;
    padding: 8px 20px;
    border: 1px solid rgba(201,168,76,0.5);
    border-radius: 3px;
    color: var(--gold) !important;
    transition: all 0.25s var(--ease) !important;
}

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

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy-dark) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--navy-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.nav-overlay-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.nav-overlay-link {
    font-family: var(--font-h);
    font-size: 1.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.25s;
}

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

.nav-overlay-cta {
    margin-top: 16px;
    font-family: var(--font-b) !important;
    font-size: 0.9rem !important;
    padding: 12px 32px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── HERO ────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    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(
        to bottom,
        rgba(9, 17, 42, 0.72) 0%,
        rgba(15, 28, 63, 0.65) 50%,
        rgba(9, 17, 42, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

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

.hero-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-line {
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-scroll:hover { color: var(--gold); }

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

/* ── ABOUT ───────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 2rem;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ── OFFERINGS ───────────────────────────────── */
.offerings {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.offering-card {
    border-radius: 4px;
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 28, 63, 0.1);
}

.offering-card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.offering-card-body {
    padding: 32px 28px;
}

.offering-card-body h3 {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.offering-card-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ── THE SPACE ───────────────────────────────── */
.space {
    padding: 120px 0;
    background: var(--navy);
}

.space-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.space-images {
    position: relative;
}

.space-img-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 4px;
}

.space-img-stack {
    position: absolute;
    bottom: -40px;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.space-img-stack img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.space-content .section-label { color: var(--gold); }

.space-content .section-title { color: var(--white); }

.space-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 16px;
}

.space-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.space-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.space-features svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ── VISIT / CONTACT ─────────────────────────── */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.visit-detail svg {
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.visit-detail a:hover { color: var(--gold-dark); }

.visit-form-wrap {
    background: var(--white);
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(15, 28, 63, 0.06);
}

.visit-form-wrap h3 {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--gold-dark);
}

.form-success p {
    font-size: 1rem;
    color: var(--gray-600);
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
    background: var(--navy-dark);
    padding: 56px 0 32px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}

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

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
    transition: color 0.25s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-bottom a {
    color: rgba(255,255,255,0.3);
    transition: color 0.25s;
}

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

/* ── SCROLL REVEAL (below-fold only) ─────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid,
    .space-layout,
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image img,
    .space-img-main img {
        height: 400px;
    }

    .space-img-stack {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        margin-top: 16px;
    }

    .space-img-stack img {
        width: calc(50% - 8px);
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .visit-form-wrap {
        padding: 28px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .space-img-stack img {
        height: 160px;
    }
}

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