* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #f8f1e9;
    color: #2b2b2b;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 234, 214, 0.9));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 2000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 15px 60px;
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #8c5523;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 25px;
    position: relative;
}

.nav-links li a {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b2b2b;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #8c5523;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8c5523, #d4a373);
    bottom: -8px;
    left: 0;
    transition: width 0.4s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #8c5523;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 900px;
    z-index: 1;
    animation: slideUp 1s ease-out;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    font-family: 'Lora', serif;
}

.cta-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #8c5523, #d4a373);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #d4a373, #8c5523);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Section Base */
.section {
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2b2b2b;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8c5523, #d4a373);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 25px;
}

.contact-item {
    margin-top: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 28px;
    color: #8c5523;
    margin-right: 20px;
}

.contact-details h4 {
    font-size: 20px;
    color: #2b2b2b;
}

.contact-details p {
    font-size: 16px;
    color: #666;
    font-family: 'Lora', serif;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Lora', serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #8c5523;
    outline: none;
}

textarea.form-control {
    min-height: 160px;
}

.submit-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #8c5523, #d4a373);
    border: none;
    padding: 15px 40px;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #d4a373, #8c5523);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Menu Section Specific */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.menu-tab {
    padding: 12px 30px;
    background: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b2b2b;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.menu-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-tab.active {
    background: linear-gradient(135deg, #8c5523, #d4a373);
    color: #fff;
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.menu-item {
    display: flex;
    background: #fff;
    border: 1px solid #d4a373;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.menu-img {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-item:hover .menu-img img {
    transform: scale(1.1);
}

.menu-img.no-image {
    display: none;
    /* Hide the image container if no image is present */
}

.menu-details {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
}

.menu-details h3 {
    font-size: 24px;
    color: #2b2b2b;
}

.menu-price {
    font-size: 22px;
    font-weight: 700;
    color: #8c5523;
}

.menu-details p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

.menu-actions {
    display: flex;
    gap: 10px;
}

.order-btn,
.customize-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #8c5523, #d4a373);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.customize-btn {
    background: #fff;
    color: #8c5523;
    border: 2px solid #8c5523;
}

.order-btn:hover,
.customize-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.customize-btn:hover {
    background: linear-gradient(135deg, #8c5523, #d4a373);
    color: #fff;
}

/* Cart Specific */
.cart-toggle {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8c5523, #d4a373);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.4s ease;
}

.cart-toggle:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #2b2b2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.cart-popup {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.5s ease;
    display: flex;
    flex-direction: column;
}

.cart-popup.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    background: #f8f1e9;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 28px;
    color: #2b2b2b;
}

.close-cart {
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #8c5523;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    margin-right: 20px;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-img.no-image {
    display: none;
    /* Hide the image container if no image is present */
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #8c5523;
    margin-bottom: 15px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
}

.remove-item {
    color: #666;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #8c5523;
}

.cart-footer {
    padding: 25px;
    background: #f8f1e9;
    border-top: 1px solid #ddd;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2b2b2b;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8c5523, #d4a373);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #d4a373, #8c5523);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #2b2b2b;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    width: 50px;
    height: 2px;
    background: #d4a373;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.footer-col p,
.footer-links li a {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 15px;
    font-family: 'Lora', serif;
    transition: color 0.3s ease;
}

.footer-links li {
    list-style: none;
}

.footer-links li a:hover {
    color: #d4a373;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 20px;
    transition: all 0.4s ease;
}

.social-links a:hover {
    background: #8c5523;
    transform: rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #444;
    margin-top: 40px;
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

/* Category Slider */
.category-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.category-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-grow: 1;
}

.category-slide {
    min-width: fit-content;
    flex: 0 0 200px;
    height: 50px;
    background: #fff;
    border: 2px solid #d4a373;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #2b2b2b;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.category-slide.active {
    min-width: fit-content;
    background: #8c5523;
    color: #fff;
    border-color: #8c5523;
}

.category-arrow {
    z-index: 100;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(336deg, #000000, #5d4b3a);
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-arrow.prev {
    left: 10px;
}

.category-arrow.next {
    right: 10px;
}

.category-arrow:hover {
    background: linear-gradient(135deg, #d4a373, #8c5523);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.category-arrow:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-slide {
        flex: 0 0 150px;
        font-size: 14px;
    }

    .category-slider {
        padding: 0 40px;
    }
    
    .category-arrow {
        font-size: 18px;
        padding: 12px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .category-arrow {
        font-size: 16px;
        padding: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Menu Items */
.menu-item {
    display: flex;
    background: #fff;
    border: 1px solid #d4a373;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.menu-img {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
}

.menu-img.no-image {
    display: none;
}

/* Menu Content Transitions */
.menu-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-content.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar {
        padding: 20px 40px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cart-popup {
        width: 350px;
    }
}

@media (max-width: 768px) {

    .about-img img {
        max-width: 320px;
        min-width: 100px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        padding: 35px;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section {
        padding: 80px 0;
    }

    .about-wrapper {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .meals-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        flex-direction: column;
    }

    .menu-img {
        flex: none;
        width: 100%;
        height: 150px;
    }

    .menu-img.no-image {
        display: none;
    }

    .category-slide {
        flex: 0 0 150px;
        font-size: 14px;
        height: 40px;
    }

    .category-arrow {
        font-size: 20px;
        padding: 5px;
    }

    .category-slider {
        padding: 0 30px;
        /* Adjust padding for smaller screens */
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-btn {
        padding: 12px 30px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .cart-popup {
        width: 300px;
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .category-slide {
        flex: 0 0 120px;
        font-size: 13px;
        height: 50px;
    }

    .category-arrow {
        font-size: 18px;
        padding: 5px;
    }

    .category-slider {
        padding: 0 20px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}