/* ===================================================
   The Loaded Irresistibowl — Public Site Styles
   Mobile-first · Rustic Modern Bold
   =================================================== */

/* --- Variables --- */
:root {
    /* Brand palette */
    --color-cream:        #FFF8EE;   /* warm off-white — header/hero bg */
    --color-dark:         #1C0D00;   /* deep brown-black — dark sections */
    --color-orange:       #E8600A;   /* bold accent */
    --color-orange-dark:  #C44F00;   /* hover */
    --color-brown:        #5C2E00;   /* warm brown — headings/muted on cream */
    --color-gold:         #C8860A;   /* accent gold */
    --color-tan:          #E8D5B0;   /* borders/dividers on cream */
    --color-footer:       #140900;   /* very dark brown footer */

    /* Text */
    --color-text-dark:          #1C0D00;
    --color-text-muted:         #7A5C3C;
    --color-text-cream:         #FFF8EE;
    --color-text-cream-muted:   #C8B090;

    /* Legacy aliases kept for admin panel compatibility */
    --color-charcoal:    #1C0D00;
    --color-white:       #fff;
    --color-text:        #1C0D00;
    --color-text-light:  #7A5C3C;
    --color-light-gray:  #E8D5B0;
    --color-sage:        #5C8A60;

    /* Typography */
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --font-accent:  'Playfair Display', Georgia, serif;
    --font-body:    'Open Sans', -apple-system, sans-serif;

    /* Layout */
    --container-max: 1100px;
    --radius:        10px;
    --shadow:        0 4px 20px rgba(28,13,0,0.10);
    --shadow-lg:     0 8px 40px rgba(28,13,0,0.18);
}

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

html { scroll-behavior: smooth; }

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

body.nav-open { overflow: hidden; }

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

a { color: var(--color-orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-orange-dark); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-main { min-height: 60vh; }

/* ============================================
   HEADER — Cream background, dark text
   ============================================ */
.site-header {
    background: var(--color-cream);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--color-tan);
    box-shadow: 0 2px 12px rgba(28,13,0,0.07);
}

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

.logo { text-decoration: none; }
.logo-img { height: 54px; max-height: 54px; width: auto; display: block; mix-blend-mode: multiply; }

/* Legacy text logo fallback */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-dark);
}

/* Mobile hamburger — dark bars on cream header */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* Mobile nav drawer */
.main-nav {
    position: fixed;
    top: 0;
    right: -290px;
    width: 290px;
    height: 100vh;
    background: var(--color-dark);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 105;
}

.main-nav.open { right: 0; }

.main-nav a {
    color: var(--color-cream);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:visited { color: var(--color-cream); }
.main-nav a:hover,
.main-nav a.active { color: var(--color-orange); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 102;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--color-orange);
    color: #fff;
    padding: 0.6rem 0;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}

.ann-pin { font-size: 1.05em; }
.ann-text { font-family: var(--font-heading); }

.ann-link {
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 0.4rem;
    opacity: 0.9;
    transition: opacity 0.2s;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9em;
}
.ann-link:hover, .ann-link:visited:hover { color: #fff; opacity: 1; }
.ann-link:visited { color: #fff; }

/* ============================================
   HERO — Cream bg, dark bold text
   ============================================ */
.hero {
    background: var(--color-cream);
    color: var(--color-dark);
    text-align: center;
    padding: 1.5rem 1.25rem 4rem;
    border-bottom: 3px solid var(--color-orange);
}

.hero-logo {
    max-width: 200px;
    max-height: 140px;
    width: auto;
    height: auto;
    margin: 0 auto 1.25rem;
    mix-blend-mode: multiply;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.hero .tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-brown);
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* ============================================
   HERO STATUS BADGE (cream bg version)
   ============================================ */
.hero-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.hero-status-badge--out {
    background: #edfaf3;
    border: 2px solid #5cb870;
    color: #1a6b3a;
}

.hero-status-badge--cancelled {
    background: #fef0ee;
    border: 2px solid #d9736a;
    color: #8b2010;
}

.hero-status-badge--not_out {
    background: rgba(28,13,0,0.05);
    border: 2px solid var(--color-tan);
    color: var(--color-brown);
}

.hero-status-badge .badge-pin { font-size: 1.1em; }

.hero-status-badge .badge-link {
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.hero-status-badge .badge-link:hover { opacity: 1; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-hero {
    display: inline-block;
    background: var(--color-orange);
    color: #fff;
    padding: 0.9rem 2.25rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
    min-width: 200px;
    text-align: center;
}

.btn-hero:hover, .btn-hero:visited:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    color: #fff;
}
.btn-hero:visited { color: #fff; }

.btn-hero-outline {
    background: transparent;
    border: 2.5px solid var(--color-dark);
    color: var(--color-dark);
}

.btn-hero-outline:hover, .btn-hero-outline:visited:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-cream);
}
.btn-hero-outline:visited { color: var(--color-dark); }

/* ============================================
   SECTIONS — Alternating cream / dark
   ============================================ */
.section { padding: 3.5rem 0; }

/* Section titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.4rem;
    color: var(--color-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--color-orange);
    margin: 0.45rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.75rem;
}

/* Dark section (section-alt) */
.section-alt { background: var(--color-dark); }

.section-alt .section-title  { color: var(--color-cream); }
.section-alt .section-subtitle { color: var(--color-text-cream-muted); }
.section-alt .empty-state    { color: var(--color-text-cream-muted); }

/* ============================================
   LOCATION CARD
   ============================================ */
.location-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* On cream sections */
.section:not(.section-alt) .location-card {
    background: #fff;
    border: 1px solid var(--color-tan);
    box-shadow: var(--shadow);
}

.location-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cream);
    margin-bottom: 0.4rem;
    margin-top: 0.75rem;
}

.section:not(.section-alt) .location-card h3 { color: var(--color-dark); }

.location-card .address {
    font-size: 0.9rem;
    color: var(--color-text-cream-muted);
    margin-bottom: 0.4rem;
}

.section:not(.section-alt) .location-card .address { color: var(--color-text-muted); }

.location-card .hours {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-orange);
    font-size: 0.9rem;
}

.location-notes {
    font-size: 0.85rem;
    color: var(--color-text-cream-muted);
    margin-top: 0.35rem;
    font-style: italic;
}

.section:not(.section-alt) .location-notes { color: var(--color-text-muted); }

.map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    background: #2a1a0a;
}

.map-container #map { width: 100%; height: 100%; }

/* ============================================
   SCHEDULE LIST (dark section)
   ============================================ */
.schedule-list { list-style: none; }

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
}

.schedule-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
}

.schedule-date .s-day {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-orange);
}

.schedule-date .s-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1;
}

.schedule-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-cream);
    margin-bottom: 0.2rem;
}

.schedule-info p {
    font-size: 0.85rem;
    color: var(--color-text-cream-muted);
}

/* ============================================
   MENU ITEMS (public — cream section)
   ============================================ */
.menu-category { margin-bottom: 2rem; }

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brown);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-orange);
    margin-bottom: 1rem;
}

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

.menu-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-info { flex: 1; }

.menu-item-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 0.2rem;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-orange);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.gallery-grid img:hover { transform: scale(1.03); opacity: 0.9; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-tan);
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-brown);
    margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-tan);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-cream);
    color: var(--color-dark);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
    background: var(--color-orange-dark);
    transform: translateY(-1px);
}

/* ============================================
   ABOUT
   ============================================ */
.about-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-tan);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--color-dark);
    line-height: 1.85;
}

/* ============================================
   DATE PICKER / NAV (menu page)
   ============================================ */
.date-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.date-btn {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    border: 2px solid var(--color-tan);
    border-radius: 6px;
    background: #fff;
    font-size: 0.8rem;
    font-family: inherit;
    color: var(--color-dark);
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}

.date-btn:hover { border-color: var(--color-orange); }

.date-btn.active {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
}

.date-btn .day-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.date-btn .day-num { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-muted);
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 0.5rem; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* ============================================
   FOOTER — Very dark brown
   ============================================ */
.site-footer {
    background: var(--color-footer);
    color: var(--color-cream);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-text-cream-muted);
    font-size: 0.85rem;
    font-style: italic;
    font-family: var(--font-accent);
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 0.9rem;
}

.footer-links a {
    display: block;
    color: var(--color-text-cream-muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}
.footer-links a:visited { color: var(--color-text-cream-muted); }
.footer-links a:hover   { color: var(--color-orange); }

.social-icons {
    display: flex;
    gap: 0.85rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-cream);
    transition: transform 0.2s, opacity 0.2s;
}
.social-link:visited { color: var(--color-cream); }
.social-link:hover   { transform: scale(1.12) translateY(-2px); opacity: 0.9; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}

/* ============================================
   ADMIN: Status Pill
   ============================================ */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-pill--out       { background: rgba(39,174,96,0.2);    color: #6bdf6b; border: 1px solid rgba(39,174,96,0.4); }
.status-pill--cancelled { background: rgba(231,76,60,0.2);    color: #ff9999; border: 1px solid rgba(231,76,60,0.4); }
.status-pill--not_out   { background: rgba(255,255,255,0.06); color: #aaa;    border: 1px solid #555; }

/* ============================================
   ADMIN: Status Action Buttons
   ============================================ */
.status-action-btn {
    background: #3a3a3a;
    color: var(--color-cream);
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: background 0.2s, border-color 0.2s;
    justify-content: center;
}
.status-action-btn:hover { background: #555; color: #fff; }
.status-action-btn--active-green   { border-color: #27ae60; background: rgba(39,174,96,0.2);    color: #6bdf6b; }
.status-action-btn--active-red     { border-color: #e74c3c; background: rgba(231,76,60,0.2);    color: #ff9999; }
.status-action-btn--active-neutral { border-color: #777;    background: rgba(255,255,255,0.06); color: #ccc; }

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container { padding: 0 2rem; }

    .header-inner { height: 78px; }
    .logo-img { height: 68px; max-height: 68px; }
    .logo-text { font-size: 1.6rem; }

    .mobile-menu-btn { display: none; }
    .nav-overlay { display: none; }

    .main-nav {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
        gap: 0;
        background: transparent;
    }

    .main-nav a {
        color: var(--color-dark);
        font-size: 0.82rem;
        padding: 0.5rem 0.8rem;
        border-bottom: none;
        letter-spacing: 1.5px;
    }

    .main-nav a:visited { color: var(--color-dark); }
    .main-nav a:hover,
    .main-nav a.active { color: var(--color-orange); }

    .announcement-inner { font-size: 0.9rem; }

    .hero { padding: 2.5rem 2rem 5rem; }
    .hero-logo { max-width: 240px; max-height: 170px; }
    .hero h1 { font-size: 3.5rem; letter-spacing: 3px; }
    .hero .tagline { font-size: 1.2rem; }
    .hero-buttons { flex-direction: row; justify-content: center; }
    .hero-status-badge { font-size: 1rem; padding: 0.8rem 2rem; }

    .section { padding: 5rem 0; }
    .section-title { font-size: 2.5rem; }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

    .menu-item-img { width: 100px; height: 100px; }
    .map-container { height: 350px; }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .hero { padding: 3rem 2rem 6rem; }
    .hero-logo { max-width: 280px; max-height: 200px; }
    .hero h1 { font-size: 4.5rem; letter-spacing: 4px; }

    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .map-container { height: 400px; }

    .contact-form { padding: 2rem; max-width: 600px; margin: 0 auto; }
    .menu-item-img { width: 120px; height: 120px; }

    .main-nav a { font-size: 0.88rem; padding: 0.5rem 1rem; }
}
