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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5200A3;
    z-index: 97;
    transition: transform 0.3s ease;
}

.order-header {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: #5200A3;
    z-index: 96;
    transition: top 0.3s ease;
}

.background-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5200A3;
    z-index: 95;
    transition: transform 0.3s ease;
    height: 110px;
}

.background-banner {
    height: 100%;
    z-index: 95;
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 97;
    transition: transform 0.3s ease;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 97;
    transition: transform 0.3s ease;
}

.about-us {
    background: none;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    padding: 16px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    z-index: 97;
}

.about-us:hover {
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 97;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 97;
    border: 2px solid white;
    padding: 8px 8px;
    border-radius: 6px;
    background: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.phone {
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
    z-index: 97;
}

.phone:hover {
    opacity: 0.8;
    z-index: 97;
}

.order-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    color: white;
    position: relative;
}

.order-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
}

.banner-spacer {
    width: 120px;
}

.view-dishes-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    cursor: pointer;
    color: white;
}

.dropdown-arrow {
    font-size: 0.8rem;
}

.category-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.category-overlay.active {
    transform: translateY(0);
}

.category-menu {
    background-color: #cbc5ea;
    width: 100%;
    height: 100%;
    padding: 60px 30px 30px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

@media (min-width: 769px) {
    .category-nav {
        align-items: center;
        margin: 0 auto;
    }
}

.category-item {
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.category-overlay.active .category-item {
    opacity: 1;
    visibility: visible;
}

.category-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.about-overlay.active {
    transform: translateY(0);
}

.about-menu {
    background-color: #cbc5ea;
    width: 100%;
    height: 100%;
    padding: 60px 30px 30px;
    position: relative;
    overflow-y: auto;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 20px;
}

.about-text {
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: #333;
    padding: 0 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-text {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .about-content {
        padding: 15px;
    }
    
    .about-text {
        padding: 0 5px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.main-content {
    margin-top: 120px;
    padding: 30px;
    transition: margin-top 0.3s ease;
}

.header-collapsed .main-content {
    margin-top: 67px;
}

.menu-section {
    margin-bottom: 50px;
}

.menu-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 0 20px;
}

.menu-section h3 {
    margin-bottom: 20px;
    color: #333;
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 0 20px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    transform: translateY(-2px);
}

.menu-item.expanded {
    background-color: #f9f9f9;
}

.extras-item {
    min-height: auto;
    padding: 15px;
}

.extras-content {
    margin-bottom: 15px;
    min-height: 20px;
}

.extras-item .expanded-view {
    position: static;
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin-top: 10px;
}

.extras-item .expanded-view.active {
    display: block;
}

.extras-item .item-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.extras-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.extras-price {
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
}

.item-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.item-id {
    background-color: #888;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.item-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.item-image {
    width: 100%;
    height: 160px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.rice-indicator {
    background-color: #5200A3;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
}

.pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.price-item {
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    flex: 0 0 auto;
    white-space: nowrap;
}

.expanded-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    padding: 15px;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.expanded-view.active {
    opacity: 1;
    visibility: visible;
}


.expanded-content {
    display: block;
}

.expanded-details {
    width: 100%;
}

.expanded-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.expanded-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.expanded-pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.expanded-price-item {
    background-color: #e9ecef;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

@media (min-width: 769px) and (max-width: 1440px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header .header-content {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 10px;
        align-items: flex-start;
        position: relative;
    }

    .top-header .logo {
        position: static !important;
        left: auto !important;
        transform: none !important;
        text-align: center;
        margin-bottom: 0;
        flex-basis: 100%;
        order: -1;
    }

    .contact-info {
        align-items: flex-start;
        position: static;
        order: 1;
        flex: 1;
    }

    .about-section {
        position: static;
        order: 1;
        flex: 0 0 auto;
    }

    .order-header {
        top: 110px;
    }

    .background-header {
        height: 145px;
    }

    .header-collapsed .order-header {
        top: 0;
    }

    .header-collapsed .order-banner {
        padding: 5px 20px;
    }

    .order-banner {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .order-text {
        position: relative;
        left: auto;
        transform: none;
        order: 0;
    }

    .view-dishes-btn {
        order: 1;
    }

    .banner-spacer {
        display: none;
    }

    .main-content {
        padding: 20px;
        margin-top: 167px;
    }

    .header-collapsed .main-content {
        margin-top: 35px;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .expanded-content {
        flex-direction: column;
        gap: 15px;
    }

    .expanded-image {
        width: 100%;
        height: 200px;
    }

    .expanded-pricing {
        grid-template-columns: 1fr;
    }

    .category-nav {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .menu-items {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .menu-item {
        max-width: none;
    }


    .top-header .header-content {
        padding: 10px 15px;
    }

    .order-header {
        top: 120px;
    }

    .background-header {
        height: 165px;
    }

    .order-banner {
        padding: 10px 15px;
    }

    .main-content {
        padding: 15px;
        margin-top: 207px;
    }

    .header-collapsed .main-content {
        margin-top: 35px;
    }

    .item-header {
        gap: 10px;
    }

    .pricing {
        gap: 6px;
    }

    .price-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

}

.header-collapsed .top-header {
    transform: translateY(-100%);
}

.header-collapsed .background-header {
    transform: translateY(-100%);
}

.header-collapsed .order-header {
    top: 0;
    background-color: #5200A3;
}

.site-footer {
    background-color: #cbc5ea;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left iframe {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e9e9e9;
    border: 2px dashed #999;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
}

.address-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #333;
}

.address-text {
    color: #333;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.address-text:hover {
    opacity: 0.7;
}

.map-icon {
    font-size: 1.2rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phone-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #333;
}

.phone-icon {
    font-size: 1.3rem;
}

.phone-number {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.phone-number:hover {
    opacity: 0.7;
}

.hours-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hours-section p {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .site-footer {
        padding: 30px 0;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .contact-section {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 20px;
    }
    
    .map-placeholder {
        height: 150px;
        font-size: 0.9rem;
    }
    
    .address-section,
    .phone-section {
        font-size: 1rem;
    }
    
    .hours-section h4 {
        font-size: 1.1rem;
    }
    
    .hours-section p {
        font-size: 1rem;
    }
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-copyright p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}