/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
    overscroll-behavior: none;
}

/* Header Styles - Same as about.css */
.header {
    background-color: #343a40;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.header-content h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.9rem;
    color: #17a2b8;
    font-weight: 300;
    margin-top: 0.2rem;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #17a2b8;
}

.nav-menu a.active {
    color: #17a2b8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #17a2b8;
    transition: width 0.3s;
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #343a40;
    transition: right 0.3s ease;
    z-index: 1001;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #495057;
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-drawer {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #495057;
}

.mobile-nav a {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: #495057;
    color: #17a2b8;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Container */
.search-container {
    padding: 10px;
    text-align: center;
    background-color: #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-bar {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* Category Navigation */
.category-nav {
    padding: 5px;
    text-align: center;
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    white-space: nowrap;
}

.category-link {
    display: inline-block;
    margin: 0 10px;
    padding: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 1em;
}

.category-link:hover {
    text-decoration: underline;
}

/* Container */
.container {
    margin: 20px;
}

/* Category Sections */
.category {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 5px;
}

/* Menu Items */
.menu-item {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.menu-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    max-width: 80px;
    margin-right: 20px;
    border-radius: 5px;
}

.menu-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-name {
    font-size: 1.2em;
    font-weight: bold;
}

.menu-item-description {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
}

.menu-item-price {
    font-weight: bold;
    color: #28a745;
    margin-top: 5px;
}

/* Specials Banner */
.specials-banner {
    background-color: #ff1707;
    color: #eaff00;
    text-align: center;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#scrollToTopBtn.show {
    opacity: 1;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #343a40;
    color: white;
    margin-top: 40px;
}

/* Loader */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border: 5px solid #8695e1;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-wrapper {
        padding: 1rem;
        justify-content: center;
        position: relative;
    }

    .header-content {
        align-items: center;
        text-align: center;
        flex: 1;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

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

    .menu-item-details {
        margin-top: 10px;
    }

    .menu-item-price {
        margin-top: 10px;
    }
}