/* ============================================
   Dowd's BBQ — Classic & Elegant BBQ Website
   Palette: Forest Green + Off-White + Gold
   ============================================ */

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

:root {
    --green-900: #0d1f14;
    --green-800: #1a3c24;
    --green-700: #245232;
    --green-600: #2d6a42;
    --green-500: #3a8a54;
    --green-400: #52a86e;
    
    --cream-50:  #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --cream-300: #ddd3c2;
    
    --gold-400:  #c9a84c;
    --gold-500:  #b8943f;
    --gold-600:  #9e7e32;
    
    --text-dark:    #1a1a18;
    --text-muted:   #5c5c52;
    --text-light:   #f5f0e8;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(26, 60, 36, 0.08);
    --shadow-md:  0 4px 16px rgba(26, 60, 36, 0.10);
    --shadow-lg:  0 8px 32px rgba(26, 60, 36, 0.14);
    --shadow-xl:  0 16px 48px rgba(26, 60, 36, 0.18);
    
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 60, 36, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

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

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

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-400);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--green-800);
}

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

.nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-800);
    background: var(--cream-100);
    padding: 10px 20px;
    border-radius: 100px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.nav__cta:hover {
    background: var(--green-800);
    color: var(--cream-50);
    border-color: var(--green-800);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green-900);
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 31, 20, 0.92) 0%,
        rgba(26, 60, 36, 0.82) 50%,
        rgba(42, 80, 50, 0.72) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
}

.hero__card {
    background: rgba(250, 248, 244, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(250, 248, 244, 0.12);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 560px;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--cream-50);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subheadline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.75);
    margin-bottom: 36px;
    max-width: 440px;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold-400);
    color: var(--green-900);
    border: 2px solid var(--gold-400);
}

.btn--primary:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--cream-50);
    border: 2px solid rgba(250, 248, 244, 0.35);
}

.btn--outline:hover {
    border-color: var(--cream-50);
    background: rgba(250, 248, 244, 0.1);
    transform: translateY(-2px);
}

.btn--gold {
    background: var(--gold-400);
    color: var(--green-900);
    border: 2px solid var(--gold-400);
}

.btn--gold:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline-light {
    background: transparent;
    color: var(--cream-50);
    border: 2px solid rgba(250, 248, 244, 0.3);
}

.btn--outline-light:hover {
    border-color: var(--cream-50);
    background: rgba(250, 248, 244, 0.08);
    transform: translateY(-2px);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1rem;
}

/* ── Stat Cards ── */
.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(250, 248, 244, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(250, 248, 244, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(250, 248, 244, 0.13);
    transform: translateX(6px);
    border-color: rgba(201, 168, 76, 0.3);
}

.stat-card--1 {
    justify-content: flex-start;
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-400);
    flex-shrink: 0;
}

.stat-card__label {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.4;
}

.stat-card--2 {
    justify-content: center;
    text-align: center;
}

.stat-card--2 svg {
    color: var(--gold-400);
    flex-shrink: 0;
}

.stat-card--3 {
    justify-content: flex-start;
}

/* ── Section Divider ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--gold-400);
    opacity: 0.6;
}

/* ── Section Shared ── */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-eyebrow--light {
    color: var(--gold-400);
}

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

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

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

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

/* ── Menu Section ── */
.menu {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.menu-item {
    background: var(--cream-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(26, 60, 36, 0.06);
}

.menu-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.menu-item__image {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.menu-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover .menu-item__image img {
    transform: scale(1.06);
}

.menu-item__body {
    padding: 28px;
}

.menu-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.menu-item__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.menu-item__tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-600);
    background: rgba(201, 168, 76, 0.12);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.menu-item__description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu__note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ── Story Section ── */
.story {
    padding: 100px 0;
    background: var(--green-800);
    color: var(--cream-50);
}

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

.story__images {
    position: relative;
}

.story__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/9;
}

.story__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--green-800);
    box-shadow: var(--shadow-lg);
    max-width: 260px;
}

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

.story__seal {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 88px;
    height: 88px;
    background: var(--gold-400);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--green-900);
    box-shadow: var(--shadow-lg);
}

.story__seal-text {
    font-family: var(--font-serif);
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.story__content {
    padding: 20px 0;
}

.story__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--cream-50);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.story__divider {
    width: 60px;
    height: 2px;
    background: var(--gold-400);
    margin-bottom: 32px;
    border-radius: 2px;
}

.story__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.78);
    margin-bottom: 20px;
}

.story__values {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(250, 248, 244, 0.12);
}

.value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.88);
}

.value svg {
    color: var(--gold-400);
    flex-shrink: 0;
}

/* ── Visit Section ── */
.visit {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.visit__text {
    padding-top: 20px;
}

.visit__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--green-800);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.visit__subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.detail-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--cream-50);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(26, 60, 36, 0.06);
    transition: all var(--transition);
}

.detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-2px);
}

.detail-card__icon {
    width: 52px;
    height: 52px;
    background: var(--green-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.detail-card__label {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 6px;
}

.detail-card__value {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.detail-card__value a {
    color: var(--green-700);
    transition: color var(--transition);
}

.detail-card__value a:hover {
    color: var(--green-900);
    text-decoration: underline;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    min-width: 200px;
}

.hours-row span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.visit__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Gallery Strip ── */
.gallery {
    padding: 0;
    overflow: hidden;
    background: var(--green-900);
}

.gallery__track {
    display: flex;
    gap: 4px;
}

.gallery__item {
    flex: 1;
    min-width: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.gallery__item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* ── Footer ── */
.footer {
    background: var(--green-900);
    color: var(--cream-50);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 248, 244, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 12px;
}

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

.footer__tagline {
    font-size: 0.92rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.6;
    max-width: 260px;
}

.footer__info p {
    font-size: 0.92rem;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 6px;
}

.footer__phone {
    color: var(--gold-400);
    font-weight: 600;
    transition: color var(--transition);
}

.footer__phone:hover {
    color: var(--gold-500);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.92rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--cream-50);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.35);
    letter-spacing: 0.03em;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ── Mobile Menu Overlay ── */
.nav__mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 31, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav__mobile-overlay.active {
    display: flex;
}

.nav__mobile-overlay .nav__link {
    font-size: 1.4rem;
    color: var(--cream-50);
}

.nav__mobile-overlay .nav__link:hover {
    color: var(--gold-400);
}

.nav__mobile-overlay .nav__cta {
    font-size: 1.1rem;
    padding: 16px 32px;
    background: var(--gold-400);
    color: var(--green-900);
    margin-top: 16px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero__card {
        margin: 0 auto;
        max-width: 560px;
    }

    .hero__subheadline {
        margin: 0 auto 36px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: 180px;
    }

    .story__layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .story__img-secondary {
        right: 0;
        bottom: -30px;
    }

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

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

    .nav__toggle {
        display: flex;
    }

    .hero__card {
        padding: 32px 24px;
    }

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

    .story__img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin-top: 16px;
    }

    .story__seal {
        top: -16px;
        left: -16px;
        width: 72px;
        height: 72px;
    }

    .story__values {
        flex-direction: column;
        gap: 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__tagline {
        max-width: none;
    }

    .footer__links {
        align-items: center;
    }

    .visit__cta {
        flex-direction: column;
    }

    .visit__cta .btn {
        justify-content: center;
    }

    .gallery__track {
        flex-wrap: wrap;
    }

    .gallery__item {
        flex: none;
        width: 50%;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: auto;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .gallery__item {
        width: 100%;
        aspect-ratio: 16/9;
    }
}
