/* ========================================
   TOMMY'S FAMOUS BURGERS #1 — STYLES
   Palette: Emerald Green + Cream
   ======================================== */

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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde68a;
    --cream-500: #f59e0b;
    
    --sand:   #faf6f0;
    --sand-dark: #f5efe5;
    --stone:  #e8e2d8;
    --stone-dark: #d4cfc5;
    
    --text-primary:   #1a2e23;
    --text-secondary: #3d5a47;
    --text-muted:     #6b8f76;
    --text-light:     #f5f5f0;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm:  0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md:  0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 4px rgba(6, 78, 59, 0.04);
    --shadow-lg:  0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.06);
    --shadow-xl:  0 24px 60px rgba(6, 78, 59, 0.14), 0 8px 20px rgba(6, 78, 59, 0.08);
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #ffffff;
    border-color: var(--emerald-600);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-emerald {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-400);
}

.btn-outline-emerald:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-600);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ---------- SECTION HEADERS ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display), serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

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

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display), serif;
    font-size: 1.15rem;
    color: var(--text-primary);
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo-mark {
    font-size: 1.5rem;
    line-height: 1;
}

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

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--emerald-900);
}

.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(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(4, 120, 87, 0.75) 40%,
        rgba(5, 150, 105, 0.60) 70%,
        rgba(16, 185, 129, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-200);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display), serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-200);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

/* ---------- FEATURE STRIP ---------- */
.feature-strip {
    background: var(--emerald-700);
    padding: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 48px 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--emerald-200);
}

.feature-item h3 {
    font-family: var(--font-display), serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

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

.menu-categories {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.menu-category {
    scroll-margin-top: 96px;
}

.menu-category-header {
    margin-bottom: 32px;
}

.menu-category-header h3 {
    font-family: var(--font-display), serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cat-icon {
    font-size: 1.4rem;
}

.cat-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.menu-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(6, 78, 59, 0.06);
    transition: all var(--transition);
}

.menu-item:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.menu-item-info h4 {
    font-family: var(--font-display), serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.menu-item-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.menu-note {
    text-align: center;
    margin-top: 48px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 20px 24px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    border: 1px dashed var(--emerald-200);
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--sand) 100%);
}

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

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--cream-50);
    box-shadow: var(--shadow-md);
}

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

.about-accent {
    position: absolute;
    top: -20px;
    left: -16px;
    background: var(--emerald-600);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-display), serif;
    font-size: 1rem;
    font-style: italic;
    box-shadow: var(--shadow-md);
}

.about-eyebrow {
    margin-bottom: 12px;
}

.about-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--stone);
}

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

.stat-number {
    font-family: var(--font-display), serif;
    font-size: 1.5rem;
    color: var(--emerald-700);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* ---------- VISIT ---------- */
.visit {
    padding: 100px 0 80px;
    background: var(--sand);
}

.visit-header {
    margin-bottom: 56px;
}

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

.visit-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(6, 78, 59, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.visit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.visit-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--emerald-600);
}

.visit-card h3 {
    font-family: var(--font-display), serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.visit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.visit-card p a {
    color: var(--emerald-700);
    font-weight: 600;
    transition: color var(--transition);
}

.visit-card p a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

.hours-table {
    margin-bottom: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--sand-dark);
    font-size: 0.9rem;
}

.hours-row:last-of-type {
    border-bottom: none;
}

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

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

.hours-note {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-bottom: 0 !important;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-700);
    margin-top: 4px;
    transition: all var(--transition);
}

.link-arrow:hover {
    color: var(--emerald-500);
    gap: 10px;
}

.link-arrow svg {
    width: 16px;
    height: 16px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #ffffff;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.92) 0%,
        rgba(4, 120, 87, 0.85) 50%,
        rgba(5, 150, 105, 0.78) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display), serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* ---------- FOOTER ---------- */
.footer {
    background: var(--emerald-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display), serif;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-300);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-bottom p a:hover {
    color: var(--emerald-300);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 78, 59, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    display: block;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.6s 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; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .about-img-secondary {
        width: 160px;
        height: 160px;
        right: -16px;
        bottom: -24px;
    }
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 96px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    
    .nav-links .btn {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 120px 24px 80px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 480px;
    }
    
    .about-img-main img {
        height: 320px;
    }
    
    .about-img-secondary {
        width: 140px;
        height: 140px;
        right: -8px;
        bottom: -16px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .menu, .about, .visit {
        padding: 72px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-badges {
        flex-direction: column;
    }
    
    .badge-chip {
        justify-content: center;
    }
    
    .feature-item {
        padding: 32px 24px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta {
        padding: 72px 0;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
