
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c59d5f;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --success-color: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.header {
    background-color: var(--primary-color);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
}

.logo-container {
    text-align: center;
    position: relative;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.restaurant-name {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 2rem;
    margin-top: 0.8rem;
    letter-spacing: 2px;
}

.restaurant-tagline {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.3rem;
    font-style: italic;
}

.category-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-header:hover::before {
    opacity: 1;
}

.category-header:hover {
    transform: translateX(8px);
}

.category-header.active {
    background: rgb(230 247 255 / 98%);
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.category-icon {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.6rem;
    background: rgba(197, 157, 95, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-description {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.category-count {
    margin-left: auto;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.category-arrow {
    position: absolute;
    right: 2.5rem;
    bottom: 9ox;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-header.active .category-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.category-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.category-content.active {
    display: block;
    max-height: 2000px;
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    padding-bottom: 10px;
}

.product-accordion {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.product-accordion:hover {
    transform: translateY(-4px);
}

.product-accordion-header {
    padding: 1.2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-accordion-header:hover {
    background: rgba(197, 157, 95, 0.05);
}

.product-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.product-image-preview {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-accordion:hover .product-image-preview {
    transform: scale(1.05);
}

.product-title-small {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.product-price-small {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0.3rem 0;
}

.product-tags-small {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.product-tag-small {
    background-color: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-accordion-content {
    display: none;
    padding: 0;
    background: transparent;
    border-top: 1px solid rgba(197, 157, 95, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.product-accordion.active .product-accordion-content {
    display: block;
    max-height: 2000px;
    padding: 1.5rem;
}

.product-details {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    flex-direction: column;
}

.product-image-small {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-accordion:hover .product-image-small {
    transform: scale(1.02);
}

.product-description-small {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-nutrition {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(197, 157, 95, 0.3);
}

.nutrition-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    padding: 0.5rem;
    background: rgba(197, 157, 95, 0.05);
    border-radius: 8px;
}

.product-accordion-arrow {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    font-size: 1.3rem;
    margin-left: 1rem;
}

.product-accordion.active .product-accordion-arrow {
    transform: rotate(180deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.social-links {
    text-align: center;
    margin-top: 0.8rem;
}

.social-links a {
    color: white;
    margin: 0 0.3rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.language-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.language-switcher button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher button:hover {
    background-color: var(--secondary-color);
}

.search-bar {
    margin-bottom: 1.5rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.2rem;
    padding-left: 3rem;
    border: 2px solid rgba(197, 157, 95, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.search-bar input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.search-bar::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.search-results {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    margin: 1rem 0px;
    padding: 1rem;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(197, 157, 95, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(197, 157, 95, 0.05);
    transform: translateX(5px);
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.search-result-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0.3rem 0;
}

.search-result-category {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.search-result-category i {
    color: var(--secondary-color);
    margin-right: 0.3rem;
}