@font-face {
    font-family: 'Bell MT';
    src: url('../assets/bellmt.ttf') format('truetype'),
         url('/assets/bellmt.ttf') format('truetype'),
         url('assets/bellmt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Ensure font loads by preloading */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

:root {
    --primary-color: #2d4a3e;
    --secondary-color: #1e3a2f;
    --accent-color: #D4AF37;
    --text-color: #f5f5dc;
    --text-secondary: #e8e8d8;
    --section-bg: rgba(45, 74, 62, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: url('../images/jqbg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Overlay to tint background with green facade color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 74, 62, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Header & Navigation */
header {
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: 'Bell MT', Arial, sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: none;
    margin-top: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    padding-top: 6rem;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Bell MT', Arial, sans-serif !important;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-weight: normal;
}

.hero-subtitle {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #c9a028;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    background-color: var(--section-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.section-content > .history-images {
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

.section-content h2 {
    font-family: 'Bell MT', Arial, sans-serif !important;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-weight: normal;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-images {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.history-image-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: stretch;
}

.history-image-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.history-image-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.history-year {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(45, 74, 62, 0.9);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    font-family: 'Bell MT', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-year {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(45, 74, 62, 0.9);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-family: 'Bell MT', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Menu Section */
.menu-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-category h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.menu-items li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.item-name {
    font-weight: 500;
    color: var(--text-color);
}

.item-price {
    color: var(--accent-color);
    font-weight: 600;
}

/* Events Section */
.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.event-item h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.event-date {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-item p {
    color: var(--text-color);
}

/* Order Section */
.order-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.toasttab-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.toasttab-container {
    min-height: 800px;
    width: 100%;
    margin-top: 2rem;
}

.toasttab-container iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    background-color: #fff;
}

.toasttab-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-color);
}

.toasttab-note p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.toasttab-note ol {
    margin-left: 1.5rem;
    color: var(--text-color);
}

.toasttab-note li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.hours-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Menu Page Styles */
.menu-page {
    padding: 3rem;
    padding-top: 0;
}

/* Menu Navigation Sub-header */
.menu-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #000000;
    position: sticky;
    top: 125px;
    z-index: 999;
    margin-left: -3rem;
    margin-right: -3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    width: calc(100% + 6rem);
    box-sizing: border-box;
}

.menu-nav-link {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 0;
    white-space: nowrap;
}

.menu-nav-link:hover {
    color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.1);
}

.menu-nav-link.active {
    color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.menu-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.menu-section h2 {
    font-family: 'Bell MT', Arial, sans-serif !important;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: normal;
}

.section-note {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.menu-items-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-item-detailed {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.item-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.item-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.5rem;
}

.item-variations {
    list-style: none;
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.item-variations li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.a-la-carte-list {
    list-style: none;
    padding: 0;
}

.a-la-carte-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.a-la-carte-list li:last-child {
    border-bottom: none;
}

.menu-subsection {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.menu-subsection h3 {
    font-family: 'Bell MT', Arial, sans-serif !important;
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: normal;
    text-transform: uppercase;
}

.beverage-list {
    list-style: none;
    padding: 0;
}

.beverage-list li {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.3rem;
}

.beverage-list li:last-child {
    border-bottom: none;
}

.beverage-list .item-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
}

.beverage-list .item-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.beverage-list .item-price {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contact-item p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: rgba(45, 74, 62, 0.8);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }

    .logo-subtitle {
        font-size: 0.85rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(45, 74, 62, 0.9);
        backdrop-filter: blur(10px);
        padding: 1rem 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: none;
    }

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

    .menu-toggle {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-content {
        padding: 2rem 1.5rem;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .history-images {
        flex-direction: column;
        align-items: center;
    }

    .history-image-item {
        width: 100%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }

    .modal-image {
        max-width: 95%;
        max-height: 85vh;
    }

    .modal-year {
        bottom: 15px;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .menu-grid,
    .events-list,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-header h3 {
        font-size: 1.1rem;
    }

    .menu-section h2 {
        font-size: 1.7rem;
    }

    .menu-cta {
        flex-direction: column;
    }

    .menu-cta .cta-button {
        width: 100%;
    }

    .menu-nav {
        top: 120px;
        padding: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
        gap: 0.5rem;
    }

    .menu-nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .menu-section {
        scroll-margin-top: 100px;
    }
}

/* Extra small screens - adjust background scaling to prevent over-zooming */
@media (max-width: 480px) {
    body {
        background-size: 100% auto;
        background-position: center top;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

