/* =====================================================
   The Little Hobo Soup & Sandwich Shop
   Main Stylesheet
   ===================================================== */

/* --- Variables --- */
:root {
    --red:        #8B2E10;
    --red-dark:   #6B2008;
    --orange:     #C4622D;
    --gold:       #D4A847;
    --gold-light: #ECC96A;
    --cream:      #FBF7F0;
    --tan:        #EDD9B8;
    --tan-dark:   #D9C09A;
    --brown:      #2C1810;
    --mid-brown:  #6B4226;
    --text:       #2C1810;
    --text-light: #7A5536;
    --white:      #FFFFFF;
    --nav-h:      64px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
}

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

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
    background: var(--brown);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.3s;
}

.site-nav.scrolled .nav-logo {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s, opacity 0.25s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    color: var(--white);
    /* Warm dark gradient fallback when hero.jpg not yet available */
    background-image:
        linear-gradient(to bottom, rgba(44,24,16,0.45) 0%, rgba(44,24,16,0.72) 70%, rgba(44,24,16,0.88) 100%),
        url('../images/hero.jpg');
    background-color: #3D1F0D; /* shows when image is missing */
    background-size: cover;
    background-position: center;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--tan);
    margin-bottom: 1.75rem;
}

.hero-status {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-status.open   { background: #2d6a4f; color: #d8f3dc; }
.hero-status.closed { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }

.btn-hero {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background: var(--red);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(139, 46, 16, 0.5);
}

.btn-hero:hover {
    background: var(--red-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* =====================================================
   ACHIEVEMENT BANNER
   ===================================================== */
.achievement {
    background: var(--brown);
    color: var(--cream);
    padding: 5rem 1.5rem;
    text-align: center;
}

.achievement-inner {
    max-width: 720px;
    margin: 0 auto;
}

.achievement-stars {
    color: var(--gold);
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}

.achievement-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.achievement-body {
    font-size: 1.1rem;
    color: var(--tan);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.achievement-body strong {
    color: var(--gold-light);
}

.achievement-badges {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.badge-ta {
    background: #00A680;
    color: var(--white);
}

.badge-ta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    color: var(--white);
}

.badge-rating {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

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

.badge-text {
    font-size: 0.875rem;
    line-height: 1.3;
    text-align: left;
}

.badge-text strong {
    display: block;
    font-size: 1rem;
}

.achievement-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--tan);
    border-left: 3px solid var(--gold);
    padding-left: 1.25rem;
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    background: var(--tan);
    padding: 5rem 1.5rem;
}

.about-grid {
    max-width: 720px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--red);
    margin-bottom: 1.25rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem !important;
    color: var(--mid-brown) !important;
    margin-top: 1.5rem !important;
    padding-left: 1.25rem;
    border-left: 3px solid var(--gold);
}

/* =====================================================
   REVIEWS SECTION
   ===================================================== */
.reviews-section {
    background: var(--cream);
    padding: 5rem 1.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--tan-dark);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(44,24,16,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.review-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.review-card blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    flex: 1;
}

.review-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--tan);
}

.review-card figcaption strong {
    font-size: 0.9rem;
    color: var(--brown);
}

.review-card figcaption span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.reviews-cta {
    text-align: center;
    font-size: 0.95rem;
}

.reviews-cta a {
    color: var(--red);
    font-weight: 700;
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PHOTO STRIP
   ===================================================== */
.photo-strip {
    display: flex;
    height: 220px;
}

.photo-strip-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.photo-strip-1 {
    background-image: url('../images/food-1.jpg');
    background-color: #8B2E10;
}

.photo-strip-2 {
    background-image: url('../images/food-2.jpg');
    background-color: #C4622D;
}

.photo-strip-3 {
    background-image: url('../images/food-3.jpg');
    background-color: #6B4226;
}

/* =====================================================
   MENU SECTION
   ===================================================== */
.menu-section {
    background: var(--cream);
    padding: 3rem 1.5rem 3rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.2rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.75rem;
    font-size: 0.875rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
}

.menu-category {
    margin-bottom: 1.5rem;
}

.menu-cat-name {
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-brown);
    border-bottom: 1px solid var(--tan-dark);
    padding-bottom: 0.25rem;
    margin-bottom: 0.4rem;
}

.menu-items {
    list-style: none;
}

.menu-item {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--tan);
}

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

.menu-item-main {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.menu-item-name {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brown);
}

.menu-item-note {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(196, 98, 45, 0.1);
    padding: 0.1rem 0.35rem;
    border-radius: 2rem;
    flex-shrink: 0;
}

.menu-item-price {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.35;
    margin-top: 0.05rem;
}

@media (max-width: 640px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .photo-strip {
        height: 140px;
    }
}

/* =====================================================
   HOURS
   ===================================================== */
.hours-section {
    background: var(--tan);
    padding: 5rem 1.5rem;
}

.hours-section .section-title {
    margin-bottom: 2rem;
}

.hours-grid {
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--tan-dark);
    font-size: 1rem;
}

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

.hours-row.today {
    font-weight: 700;
    color: var(--red);
}

.hours-row.today .hours-day::after {
    content: ' \2014 Today';
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 0.4rem;
}

.hours-day {
    font-weight: 700;
}

.hours-time {
    color: var(--mid-brown);
}

.hours-row.today .hours-time {
    color: var(--red);
    font-weight: 700;
}

.closed-label {
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}

.hours-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    max-width: 480px;
    margin: 0 auto;
}

/* =====================================================
   FIND US
   ===================================================== */
.findus-section {
    background: var(--cream);
    padding: 5rem 1.5rem;
}

.findus-section .section-title {
    margin-bottom: 2.5rem;
}

.findus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.findus-card {
    background: var(--white);
    border: 1px solid var(--tan-dark);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(44,24,16,0.06);
}

.findus-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.findus-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-brown);
    margin-bottom: 0.6rem;
}

.findus-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.findus-card a {
    color: var(--text);
    text-decoration: none;
}

.findus-card a:hover {
    color: var(--red);
    text-decoration: underline;
}

.findus-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red) !important;
}

.social-link {
    display: inline-block;
    margin: 0.35rem 0.35rem 0;
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.social-link.fb {
    background: #1877F2;
    color: #fff !important;
}

.social-link.ta {
    background: #00A680;
    color: #fff !important;
}

.social-link:hover {
    opacity: 0.88;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--brown);
    color: var(--tan);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.footer-address {
    font-size: 0.875rem;
    color: var(--tan-dark);
    margin-bottom: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(237,217,184,0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--brown);
        padding: 0.5rem 0 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav.scrolled .nav-logo {
        opacity: 1;
    }

    .nav-logo {
        opacity: 1; /* always visible on mobile */
    }

    .food-photo {
        aspect-ratio: 4 / 3;
    }

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

    .findus-grid {
        grid-template-columns: 1fr;
    }

    .hours-row.today .hours-day::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.75rem;
    }
}