/* ============================================================
   The Haven Food Truck — Custom Styles
   Loaded after Tailwind's output.css and Google Fonts
   ============================================================ */

/* ── Brand Tokens ── */
:root {
    --pit-black: #1A1A1A;
    --ember:     #E8610A;
    --pit-gold:  #C8A84B;
    --chrome:    #D0CFC8;
    --smoked:    #2C2420;
    --bone:      #F5F0E8;
    --char-red:  #8B1A0A;
}

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

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background-color: var(--bone);
    color: var(--pit-black);
    
    /* Sticky Footer Logic */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.features, .menu-body {
    flex: 1;
}

/* ── NAV ── */
nav {
    position: relative;
    background-color: var(--pit-black);
    border-bottom: 2px solid var(--ember);
}

/* Gold gradient top-line accent */
nav::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pit-gold), var(--ember), var(--pit-gold), transparent);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.nav-top-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0;
}

.nav-hamburger {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
}

#drawer-open-btn {
    color: var(--chrome);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
}

#drawer-open-btn:hover {
    background: rgba(232, 97, 10, 0.2);
    color: var(--ember);
}

.nav-desktop-links {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(200, 168, 75, 0.2);
}

.nav-desktop-links ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    padding: 0.875rem 0;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--chrome);
    text-decoration: none;
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1.5px;
    background: var(--ember);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover { color: var(--ember); }
.nav-link:hover::after { transform: scaleX(1); }

/* ── DRAWER ── */
#drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.72);
    display: none;
}

#drawer-navigation {
    position: fixed;
    top: 0; left: 0;
    z-index: 40;
    height: 100vh;
    width: 16rem;
    padding: 1.25rem;
    overflow-y: auto;
    background-color: var(--smoked);
    border-right: 1px solid rgba(200, 168, 75, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.drawer-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pit-gold);
    opacity: 0.85;
    margin-bottom: 1.25rem;
    display: block;
}

#drawer-close-btn {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--chrome);
    opacity: 0.6;
    padding: 0.375rem;
    transition: opacity 0.15s, color 0.15s;
    display: flex;
}

#drawer-close-btn:hover { opacity: 1; color: var(--ember); }

.drawer-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--chrome);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.drawer-link:hover {
    background: rgba(232, 97, 10, 0.15);
    color: var(--ember);
}

.drawer-divider {
    margin-top: 2rem;
    border-top: 1px solid rgba(200, 168, 75, 0.2);
    padding-top: 1.25rem;
}

.drawer-phone-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pit-gold);
    opacity: 0.8;
    margin-bottom: 0.4rem;
    display: block;
}

.drawer-phone {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--chrome);
    text-decoration: none;
    letter-spacing: 0.05em;
}

/* ── HERO ── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    max-height: 700px;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
}

/* Background image — use an <img> for native sharpness, not background-image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Dark gradient overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.15) 35%,
        rgba(26, 26, 26, 0.7) 70%,
        rgba(26, 26, 26, 0.92) 100%
    );
}

/* Content sits above the bg layers */
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--pit-gold);
    margin-bottom: 1rem;
    position: relative;
}

/* Small logo badge sits above the main title */
.hero-logo-badge {
    width: clamp(80px, 14vw, 110px);
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 2rem;
    position: relative;
}

.gold-rule {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto 2.5rem;
    max-width: 280px;
    position: relative;
}

.gold-rule-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pit-gold));
}

.gold-rule-line.right {
    background: linear-gradient(90deg, var(--pit-gold), transparent);
}

.gold-rule-gem {
    width: 6px; height: 6px;
    background: var(--ember);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.hero-cta {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pit-black);
    background-color: var(--ember);
    padding: 0.85rem 2.5rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    position: relative;
}

.hero-cta:hover {
    background-color: var(--pit-gold);
    transform: translateY(-2px);
}

/* ── FEATURES ── */
.features {
    background-color: var(--bone);
    padding: 4.5rem 1.5rem;
}

.section-heading {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pit-black);
    text-align: center;
    margin-bottom: 0.4rem;
}

.section-sub {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 1rem;
    color: #6b6460;
    text-align: center;
    margin-bottom: 3rem;
}

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

.card {
    background-color: #fff;
    border: 1px solid rgba(200, 168, 75, 0.25);
    border-top: 3px solid var(--ember);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.1);
}

.card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

.card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pit-black);
    margin-bottom: 0.6rem;
}

.card-body {
    font-size: 0.9rem;
    color: #6b6460;
    line-height: 1.65;
}

/* ── CALL BAND ── */
.call-band {
    background-color: var(--smoked);
    border-top: 1px solid rgba(200, 168, 75, 0.2);
    border-bottom: 1px solid rgba(200, 168, 75, 0.2);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.call-band-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--pit-gold);
    margin-bottom: 0.5rem;
}

.call-band-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--chrome);
    text-decoration: none;
    transition: color 0.2s;
}

.call-band-number:hover { color: var(--ember); }

/* ── FOOTER ── */
footer {
    background-color: var(--pit-black);
    border-top: 2px solid var(--ember);
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.footer-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(208, 207, 200, 0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
    .nav-desktop-links { display: none; }
}

@media (min-width: 1024px) {
    .nav-hamburger { display: none; }
}

/* ── Menu Page Specific ── */

.menu-hero {
    background-color: var(--pit-black);
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--ember);
}

.menu-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(232,97,10,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.menu-hero-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--pit-gold);
    margin-bottom: 0.75rem;
    position: relative;
}

.menu-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
}

.menu-hero-sub {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(208,207,200,0.6);
    position: relative;
}

/* ── Menu Body ── */
.menu-body {
    background-color: var(--bone);
    padding: 3.5rem 1.5rem 4rem;
}

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

/* ── Section ── */
.menu-section {
    margin-bottom: 3rem;
}

.menu-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.menu-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--ember), transparent);
}

.menu-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ember);
    white-space: nowrap;
}

/* ── Menu Item ── */
.menu-item {
    display: flex;
    align-items: baseline; 
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(200,168,75,0.15);
    gap: 1rem;
}

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

.menu-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.menu-item-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--pit-black);
}

.menu-item-description {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.88rem;
    font-style: italic;
    color: #6b6460;
    line-height: 1.4;
}

.menu-item-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(26,26,26,0.15);
    margin: 0 0.5rem;
    position: relative;
    top: -5px; 
}

.menu-item-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ember);
    white-space: nowrap;
}

/* ── Cash Notice ── */
.cash-notice {
    background-color: var(--smoked);
    border: 1px solid rgba(200,168,75,0.25);
    border-left: 4px solid var(--pit-gold);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.cash-notice-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cash-notice-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pit-gold);
}

/* ── Call Band (reused from main) ── */
.menu-cta {
    background-color: var(--pit-black);
    border-top: 2px solid var(--ember);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.menu-cta-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--pit-gold);
    margin-bottom: 0.5rem;
}

.menu-cta-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--chrome);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.menu-cta-number:hover { color: var(--ember); }

/* ── About Page Specific ── */
.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
}

.about-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: var(--chrome);
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smoked);
    overflow: hidden;
}

.about-avatar svg {
    width: 80px;
    height: 80px;
}

/* Desktop layout for About columns */
@media (min-width: 768px) {
    .about-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 6rem;
    }
}

/* ── Contact Page Specific ── */
.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-logo-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.contact-group-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 0.4rem;
}

.contact-group-detail {
    font-family: 'Source Serif 4', serif;
    font-size: 1.15rem;
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-group-detail:hover {
    color: var(--ember);
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5rem;
    }
    .contact-info-col {
        text-align: left;
    }
}

/* ── Event Schedule Page Specific ── */
.calendar-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(200, 168, 75, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.calendar-month-nav {
    background-color: var(--smoked);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--pit-gold);
}

.calendar-month-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pit-gold);
}

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

.calendar-day-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ember);
    text-align: center;
    padding: 0.75rem 0;
    background-color: var(--bone);
    border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.calendar-day {
    min-height: 100px;
    padding: 0.5rem;
    border-right: 1px solid rgba(200, 168, 75, 0.1);
    border-bottom: 1px solid rgba(200, 168, 75, 0.1);
    position: relative;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.day-number {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.3);
}

/* Event Styling */
.event-tag {
    margin-top: 0.5rem;
    background-color: var(--ember);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
    border-radius: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .calendar-day {
        min-height: 70px;
        padding: 0.25rem;
    }
    .event-tag {
        font-size: 0.55rem;
        padding: 0.15rem;
    }
}