/* ============================================
   OUTPOST GRILL — Styles
   Clean minimalist · Plum & Amber palette
   ============================================ */

/* --- Custom Properties --- */
:root {
    --plum-50:  #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8cdd8;
    --plum-300: #d4a3b8;
    --plum-400: #c07a96;
    --plum-500: #a85777;
    --plum-600: #924260;
    --plum-700: #7a3550;
    --plum-800: #652d43;
    --plum-900: #532738;
    --plum-950: #2d121e;

    --amber-50:  #fffcf5;
    --amber-100: #fff8e7;
    --amber-200: #ffefc4;
    --amber-300: #ffd980;
    --amber-400: #ffc245;
    --amber-500: #f5a623;
    --amber-600: #d4880e;
    --amber-700: #a8670a;
    --amber-800: #7a4a08;
    --amber-900: #5c3706;
    --amber-950: #331e03;

    --cream: #faf9f7;
    --warm-gray: #f5f3f0;
    --text-primary: #1a1412;
    --text-secondary: #5c5250;
    --text-muted: #8a7e7c;
    --line: rgba(92, 82, 80, 0.12);
    --line-strong: rgba(92, 82, 80, 0.25);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: var(--space-sm) 0;
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--plum-700);
    color: #fff !important;
    border-color: var(--plum-700);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--plum-600);
}

.mobile-cta {
    margin-top: var(--space-md);
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 2rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(148, 66, 96, 0.85) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(165, 100, 20, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(120, 55, 80, 0.6) 0%, transparent 60%),
        linear-gradient(160deg, #3d1a2e 0%, #6b2f52 30%, #8b4557 50%, #a85777 65%, #c47a4a 80%, #d4943a 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 252, 245, 0.6);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: #fef9f4;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 249, 240, 0.72);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary {
    background: var(--amber-500);
    color: var(--text-primary);
    border: 1px solid var(--amber-500);
}

.btn-primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 249, 240, 0.85);
    border: 1px solid rgba(255, 249, 240, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 249, 240, 0.08);
    border-color: rgba(255, 249, 240, 0.5);
}

.btn-ghost-light {
    background: transparent;
    color: rgba(255, 249, 240, 0.85);
    border: 1px solid rgba(255, 249, 240, 0.25);
}

.btn-ghost-light:hover {
    background: rgba(255, 249, 240, 0.08);
    border-color: rgba(255, 249, 240, 0.5);
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.8125rem;
    color: rgba(255, 249, 240, 0.5);
    flex-wrap: wrap;
}

.hero-meta svg {
    opacity: 0.6;
}

.hero-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 249, 240, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 249, 240, 0.35);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,249,240,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* --- Menu Section --- */
.menu-section {
    padding: var(--space-3xl) 0;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.category-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
}

.category-line {
    flex: 1;
    height: 1px;
    background: var(--line-strong);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.item-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-2xl);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1rem;
}

/* --- About Section --- */
.about-section {
    padding: var(--space-3xl) 0;
}

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

.about-image-col {
    display: grid;
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

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

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-col {
    padding-top: var(--space-lg);
}

.about-body {
    margin-bottom: var(--space-xl);
}

.about-body p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--plum-400);
    min-width: 2.5rem;
}

.value-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

/* --- Visit Section --- */
.visit-section {
    padding: var(--space-3xl) 0;
}

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

.visit-info {
    padding-top: var(--space-sm);
}

.visit-details {
    margin: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.visit-detail {
    display: flex;
    gap: var(--space-md);
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.detail-value a {
    color: var(--plum-700);
    transition: var(--transition);
}

.detail-value a:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

.hours-block {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--line-strong);
}

.hours-block h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    font-size: 0.9375rem;
}

.hours-row span:first-child {
    color: var(--text-secondary);
}

.hours-row span:last-child {
    color: var(--text-primary);
    font-weight: 400;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 60% at 30% 50%, rgba(148, 66, 96, 0.9) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(165, 100, 20, 0.6) 0%, transparent 60%),
        linear-gradient(135deg, #2d121e 0%, #5a2040 40%, #7a3550 60%, #a85777 80%, #c47a4a 100%);
}

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

.cta-section .section-eyebrow {
    color: rgba(255, 252, 245, 0.5);
    margin-bottom: var(--space-sm);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: #fef9f4;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 249, 240, 0.7);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--text-primary);
    color: rgba(255, 249, 240, 0.5);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 249, 240, 0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 249, 240, 0.35);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 249, 240, 0.45);
    transition: var(--transition);
}

.footer-links a:hover {
    color: rgba(255, 249, 240, 0.85);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 300;
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-categories {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image-col {
        max-width: 500px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-meta-divider {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

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

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .menu-section,
    .about-section,
    .visit-section {
        padding: var(--space-2xl) 0;
    }

    .about-image-col {
        grid-template-rows: auto;
    }

    .about-image-secondary {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .category-line {
        display: none;
    }
}

/* --- Reduced motion --- */
@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;
    }

    .scroll-line {
        animation: none;
        opacity: 0.6;
    }
}
