html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    box-sizing: border-box;
}

/* Box-sizing reset to ensure padding doesn't add to width */
*, *:before, *:after {
    box-sizing: border-box;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-color);
    word-wrap: break-word; /* Ensure long words don't overflow */
}

p {
    margin-bottom: 1rem;
    word-wrap: break-word; /* Ensure long words don't overflow */
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
    flex-wrap: wrap; /* Ensure flexible content wraps on small screens */
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Ensure flexible content wraps on small screens */
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ensure flexible content wraps on small screens */
}

.flex-column {
    flex-direction: column;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Navigation Styles */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
    position: relative;
}

.primary-menu a:hover {
    color: var(--primary-color);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 4rem 0 0;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    width: 100%;
    overflow: hidden;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-brand .footer-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #fff;
}

/* Social links styling to match the image */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-circle {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #444;
}

.social-links a:nth-child(1) .social-icon:before {
    content: "\f09a"; /* Facebook icon */
    font-family: "Font Awesome 5 Brands", sans-serif;
}

.social-links a:nth-child(2) .social-icon:before {
    content: "\f16d"; /* Instagram icon */
    font-family: "Font Awesome 5 Brands", sans-serif;
}

.social-links a:nth-child(3) .social-icon:before {
    content: "\f099"; /* Twitter icon */
    font-family: "Font Awesome 5 Brands", sans-serif;
}

/* Footer sections */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e67e22;
}

/* Footer toggle for mobile */
.footer-toggle {
    cursor: pointer;
}

.footer-toggle .toggle-icon {
    display: none;
}

/* Navigation */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #f5f5f5;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #e67e22;
    padding-left: 5px;
}

/* Contact section */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-list i {
    color: #e67e22;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.contact-list span {
    flex: 1;
}

/* Hours section */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.hours-list .day {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hours-list .hours {
    color: rgba(255, 255, 255, 0.7);
}
.item-options-content{
    width: 100%;
}

.loading-spinner{
    width: 100%;
}
/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}


.site-footer .menu-item {
    background-color: transparent;
}

.footer-legal a:hover {
    color: #e67e22;
}

/* Animation for footer elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-section {
    animation: fadeIn 0.5s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Mobile footer styles */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }
    
    .footer-toggle .toggle-icon {
        display: block;
        font-size: 1.2rem;
        font-weight: 300;
    }
    
    .footer-toggle.active {
        color: #e67e22;
    }
    
    .footer-toggle.active:after {
        width: 60px;
    }
    
    .footer-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-top: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-navigation,
    .footer-contact,
    .footer-hours {
        text-align: left;
    }
    
    .contact-list li {
        align-items: flex-start;
    }
    
    /* Fix container width on mobile */
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    /* Limit width of images on mobile to prevent overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto; /* Allow scrolling for very tall menus */
        overflow-x: hidden; /* Prevent horizontal overflow */
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .primary-menu a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    /* Fix booking form and content sections */
    .booking-container, 
    .form-row {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-branding img {
        max-height: 50px;
    }
    
    .header-container {
        padding: 10px 15px;
    }
    
    /* Adjust padding for small screens */
    .card, .p-3, .p-2 {
        padding: 15px !important;
    }
    
    /* Adjust text sizes for small screens */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Make sure form elements don't overflow */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix for tables that may be causing overflow */
table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

@media (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Base styling for theme if not defined elsewhere */
:root {
    --primary-color: #4a6741;
    --secondary-color: #6c757d;
    --text-color: #333;
    --text-light: #6c757d;
    --light-bg: #f8f9fa;
    --border-color: #e1e1e1;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* Menu header styles */
.menu-header {
    text-align: center;
}

.menu-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.table-info {
    margin-top: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}