/* ========================================
   Savage Fuel — Styles
   Terracotta + Sand · Confident Corporate
======================================== */

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

:root {
    --terra-50:  #fdf0ec;
    --terra-100: #fce4d9;
    --terra-200: #f8c4b0;
    --terra-300: #f2a082;
    --terra-400: #e8754f;
    --terra-500: #c05a3a;
    --terra-600: #a3482e;
    --terra-700: #823824;
    --terra-800: #612a1d;
    --terra-900: #3d1a10;

    --sand-50:  #fdfcfa;
    --sand-100: #faf6f0;
    --sand-200: #f3ebe0;
    --sand-300: #e8d9c8;
    --sand-400: #d4beaa;
    --sand-500: #b89d84;
    --sand-600: #967a63;
    --sand-700: #765e4b;
    --sand-800: #5c4a3c;
    --sand-900: #3d3128;

    --neutral-50:  #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;

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

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--sand-50);
}

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

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

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

ul {
    list-style: none;
}

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

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 4px;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--terra-500);
    color: #fff;
    border: 1.5px solid var(--terra-500);
}

.btn--primary:hover {
    background-color: var(--terra-600);
    border-color: var(--terra-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(192, 90, 58, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: var(--neutral-700);
    border: 1.5px solid var(--neutral-300);
}

.btn--ghost:hover {
    border-color: var(--terra-500);
    color: var(--terra-600);
}

.btn--light {
    background-color: #fff;
    color: var(--terra-700);
    border: 1.5px solid #fff;
}

.btn--light:hover {
    background-color: var(--sand-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn--outline-light {
    background-color: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
}

.btn--large {
    padding: 16px 32px;
    font-size: 0.9375rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--terra-500);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    letter-spacing: -0.01em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--terra-500);
    transition: width 0.25s var(--ease-out);
}

.nav__link:hover {
    color: var(--terra-600);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background-color: var(--terra-500);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

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

.nav__link--cta:hover {
    background-color: var(--terra-600);
    color: #fff;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav__toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--sand-50);
    padding: 100px 32px 40px;
}

.mobile-menu.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-800);
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: var(--terra-500);
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--terra-600);
    padding: 14px 28px;
    border: 1.5px solid var(--terra-500);
    border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background-color: var(--sand-50);
    overflow: hidden;
}

.hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: 20px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__headline em {
    font-style: italic;
    color: var(--terra-600);
}

.hero__subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.hero__stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.hero__stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-500);
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--sand-300);
}

/* Hero images */
.hero__image {
    position: relative;
    height: 700px;
}

.hero__image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 85%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

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

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--terra-200);
    border-radius: 4px;
    z-index: -1;
}

.hero__image-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    border: 4px solid var(--sand-50);
}

.hero__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background-color: var(--sand-100);
}

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

.about__image-col {
    position: relative;
}

.about__image-main {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0,0,0,0.1);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-strip {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.about__image-strip img {
    width: calc(50% - 8px);
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.about__body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-600);
    margin-bottom: 20px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-card__icon {
    flex-shrink: 0;
    color: var(--terra-500);
    margin-top: 2px;
}

.value-card h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.value-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--neutral-500);
}

/* ---------- Menu ---------- */
.menu {
    padding: 120px 0;
    background-color: var(--sand-50);
}

.menu__header {
    text-align: center;
    margin-bottom: 48px;
}

.menu__lead {
    font-size: 1.125rem;
    color: var(--neutral-500);
}

.menu__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.menu__tab {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 100px;
    color: var(--neutral-500);
    border: 1.5px solid var(--neutral-200);
    transition: all 0.25s var(--ease-out);
    background: transparent;
}

.menu__tab:hover {
    color: var(--terra-600);
    border-color: var(--terra-200);
}

.menu__tab.active {
    background-color: var(--terra-500);
    color: #fff;
    border-color: var(--terra-500);
}

.menu__panel {
    display: block;
}

.menu__panel[hidden] {
    display: none;
}

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

.menu__category-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--terra-200);
}

.menu__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.menu__item-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.menu__item-desc {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.5;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background-color: var(--sand-100);
}

.gallery__header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
}

.gallery__item--large {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 500px;
}

.gallery__item:not(.gallery__item--large) {
    min-height: 240px;
}

.gallery__item--wide {
    grid-column: span 5;
    min-height: 240px;
}

/* ---------- Testimonial ---------- */
.testimonial {
    padding: 100px 0;
    background-color: var(--terra-700);
}

.testimonial__card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial__quote {
    color: var(--terra-200);
    margin-bottom: 24px;
}

.testimonial__text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--sand-100);
    margin-bottom: 32px;
}

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

.testimonial__name {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}

.testimonial__location {
    font-size: 0.875rem;
    color: var(--terra-300);
}

/* ---------- Visit ---------- */
.visit {
    padding: 120px 0;
    background-color: var(--sand-50);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-bottom: 40px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.visit__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit__detail svg {
    flex-shrink: 0;
    color: var(--terra-500);
    margin-top: 2px;
}

.visit__detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: 6px;
}

.visit__detail p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-700);
}

.visit__detail a {
    color: var(--terra-600);
    transition: color 0.2s ease;
}

.visit__detail a:hover {
    color: var(--terra-700);
    text-decoration: underline;
}

.visit__map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    min-height: 480px;
}

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background-color: var(--neutral-900);
}

.cta__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra-400);
    margin-bottom: 16px;
}

.cta__headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.cta__sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-400);
    margin-bottom: 36px;
}

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

/* ---------- Footer ---------- */
.footer {
    background-color: var(--neutral-950);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--neutral-800);
}

.footer__brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-top: 16px;
    max-width: 300px;
}

.footer__nav strong,
.footer__contact strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: 16px;
}

.footer__nav ul,
.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a,
.footer__contact a {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__contact a:hover {
    color: var(--terra-400);
}

.footer__contact p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.footer__bottom a {
    color: var(--neutral-500);
    transition: color 0.2s ease;
}

.footer__bottom a:hover {
    color: var(--terra-400);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 40px;
    }

    .hero__image {
        height: 560px;
    }

    .about__grid {
        gap: 48px;
    }

    .menu__grid {
        gap: 32px;
    }
}

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

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero__image {
        height: 400px;
        order: -1;
    }

    .hero__image-wrapper {
        width: 100%;
        height: 75%;
    }

    .hero__image-secondary {
        width: 60%;
    }

    .hero__stats {
        gap: 20px;
    }

    .about {
        padding: 80px 0;
    }

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

    .menu {
        padding: 80px 0;
    }

    .menu__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu__tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .gallery {
        padding: 80px 0;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }

    .gallery__item:not(.gallery__item--large) {
        min-height: 200px;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    .visit {
        padding: 80px 0;
    }

    .visit__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit__map {
        min-height: 320px;
    }

    .cta {
        padding: 80px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .hero__stats {
        flex-wrap: wrap;
    }

    .hero__stat-divider {
        display: none;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

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