/* ===========================
   HOOSIER QUE — Main Stylesheet
   Cream/light base, logo-matched palette
   =========================== */

:root {
    --bg: #faf6f0;
    --bg-section: #e8dccb;
    --bg-card: #ffffff;
    --primary: #b22222;
    --primary-hover: #991b1b;
    --accent: #d4652a;
    --highlight: #b22222;
    --text: #1c1c1c;
    --text-muted: #6b5e52;
    --text-light: #ffffff;
    --border: #d4c5b0;
    --success: #4a8c3f;
    --error: #cc3333;
}

/* ===========================
   RESET & BASE
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #f9f7f4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

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

a:hover {
    color: var(--accent);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(240, 232, 220, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-logo img {
    height: calc(90px - 4px);
    width: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Order button in nav */
.nav-order-btn {
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    display: inline-block;
    line-height: 1;
    transition: background 0.2s, color 0.2s !important;
}

.nav-order-btn:hover {
    background: var(--primary-hover) !important;
    color: #ffffff !important;
}

.nav-order-btn::after {
    display: none !important;
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO SLIDER
   =========================== */

.hero-slider {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    margin-top: 90px;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.hero-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero-slide-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f5f0e8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 600px;
}

.hero-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #ffffff;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

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

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

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--text);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: #c05520;
    border-color: #c05520;
    color: #ffffff;
}

/* ===========================
   SECTIONS
   =========================== */

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-section);
}

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

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* ===========================
   INFO BAR (below hero)
   =========================== */

.info-bar {
    background: var(--bg-section);
    border-top: 3px solid var(--primary);
    padding: 25px 0;
}

.info-bar-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: center;
}

.info-bar-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-bar-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===========================
   FEATURED GRID (homepage)
   =========================== */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.featured-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-card-body h3 {
    margin-bottom: 10px;
}

.featured-card-body p {
    color: var(--text-muted);
    margin-bottom: 15px;
    flex: 1;
}

.featured-card-body .btn {
    align-self: flex-start;
}

/* ===========================
   MENU PAGE (Gallery)
   =========================== */

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.menu-gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}

.menu-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.menu-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-gallery-caption {
    display: block;
    padding: 10px 15px;
    background: var(--bg-card);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    text-align: center;
}

/* ===========================
   EVENTS PAGE
   =========================== */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-date {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.event-card h3 {
    margin-bottom: 10px;
}

.event-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

.past-events {
    opacity: 0.6;
}

.past-events h2 {
    color: var(--text-muted);
}

/* ===========================
   FORMS (Contact & Catering)
   =========================== */

.form-page {
    padding-top: 110px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5e52' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===========================
   FLASH MESSAGES
   =========================== */

.flash-messages {
    position: fixed;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 600px;
}

.flash {
    padding: 15px 20px;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: center;
}

.flash-success {
    background: var(--success);
    color: white;
}

.flash-error {
    background: var(--error);
    color: white;
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-hero {
    padding-top: 110px;
    text-align: center;
    padding-bottom: 40px;
}

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

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--accent);
    font-weight: 600;
}

.map-container {
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 1px solid var(--border);
}

/* ===========================
   BOURBON CTA BOX
   =========================== */

.cta-box {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-section);
    border: 1px solid var(--border);
}

.cta-box h3 {
    margin-bottom: 8px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--bg-section);
    border-top: 3px solid var(--primary);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--text-muted);
    font-style: italic;
}

.footer h4,
.footer-col h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-col p,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===========================
   BOURBON BAR PAGE
   =========================== */

.bourbon-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    margin-top: 90px;
    overflow: hidden;
}

.bourbon-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.bourbon-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

.bourbon-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.bourbon-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f5f0e8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 600px;
}

/* Blurred state for age gate */
.bourbon-hero.blurred {
    filter: blur(15px);
    pointer-events: none;
    user-select: none;
}

/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.age-gate-box {
    background: var(--bg);
    border: 2px solid var(--primary);
    padding: 50px 60px;
    text-align: center;
    max-width: 440px;
    width: 90%;
}

.age-gate-box h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.age-gate-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-gate-buttons .btn {
    min-width: 120px;
}

.age-gate-no {
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.age-gate-no:hover {
    background: var(--border) !important;
}

/* ===========================
   ORDER MODAL
   =========================== */

.order-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.order-modal-overlay.active {
    display: flex;
}

.order-modal {
    background: var(--bg);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.order-modal h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text);
}

.order-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.order-modal-close:hover {
    color: var(--text);
}

.order-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-modal-btn {
    display: block;
    width: 100%;
    padding: 15px !important;
    font-size: 1.1rem !important;
    text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(240, 232, 220, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        display: block;
    }

    .nav-menu .nav-order-btn {
        display: block;
        text-align: center;
        margin-top: 10px;
        padding: 14px 22px !important;
        border-bottom: none;
    }

    .hero-slider {
        height: 55vh;
        min-height: 350px;
    }

    .hero-slide-content h1,
    .bourbon-hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-slide-content p,
    .bourbon-hero-content p {
        font-size: 1.1rem;
    }

    .bourbon-hero {
        height: 55vh;
        min-height: 350px;
    }

    .info-bar-grid {
        flex-direction: column;
        gap: 20px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .section {
        padding: 50px 0;
    }
}

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

    .btn {
        width: 100%;
    }
}
