/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', sans-serif;
}

:root {
    --primary-color: #8B4513;
    --primary-dark: #654321;
    --primary-light: #A0522D;
    --accent-color: #D2691E;
    --background-start: #FFF8F0;
    --background-end: #F5E6D3;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #2C1810;
    --text-secondary: #5A4032;
    --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.1);
    --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.15);
    --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.2);
    --shadow-xl: 0 12px 48px rgba(139, 69, 19, 0.25);
    --border-radius: 16px;
    --transition: all 0.2s ease;
}

body {
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    padding-bottom: 0; /* Navigation handles its own space */
    position: relative;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Removed animated background for better performance */

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    color: white;
    padding: 18px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* backdrop-filter removed for better performance */
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    /* Removed shimmer animation for better performance */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo h1:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
}

.header-info p {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    /* backdrop-filter removed for better performance */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.header-info p:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.header-info span[dir="ltr"] {
    direction: ltr;
    unicode-bidi: bidi-override;
}

/* Navigation Styles - Premium Design */
.bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 40%, 
        var(--accent-color) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 8px;
    padding-bottom: max(18px, calc(18px + env(safe-area-inset-bottom)));
    box-shadow: 
        0 -10px 40px rgba(0, 0, 0, 0.4),
        0 -4px 20px rgba(139, 69, 19, 0.5),
        inset 0 3px 0 rgba(255, 255, 255, 0.15);
    z-index: 9999 !important;
    /* backdrop-filter and will-change removed for better performance */
    border-top: 3px solid rgba(255, 255, 255, 0.25);
    overflow: visible;
    margin: 0;
    box-sizing: border-box;
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent 100%);
    animation: navTopShimmer 4s ease-in-out infinite;
    border-radius: 0 0 2px 2px;
}

@keyframes navTopShimmer {
    0%, 100% { transform: translateX(-150%); opacity: 0.5; }
    50% { transform: translateX(150%); opacity: 1; }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 22px;
    flex: 1;
    max-width: 110px;
    min-width: 0;
    position: relative;
    gap: 8px;
    overflow: visible;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 22px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.9),
        transparent);
    border-radius: 0 0 3px 3px;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Removed complex hover effects for better performance */

.nav-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

/* Removed complex active effects for better performance */

.nav-icon {
    font-size: 2.3rem;
    line-height: 1;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 14px;
    padding: 8px;
    /* backdrop-filter removed for better performance */
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active .nav-icon {
    animation: navIconActive 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1.25);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.3) 100%);
    box-shadow: 
        0 8px 24px rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

@keyframes navIconActive {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.4) rotate(-10deg) translateY(-8px); }
    60% { transform: scale(1.3) rotate(10deg) translateY(-6px); }
    80% { transform: scale(1.25) rotate(-5deg) translateY(-4px); }
    100% { transform: scale(1.25) rotate(0deg); }
}

.nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    letter-spacing: 0.6px;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.nav-item:hover .nav-label {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.7),
        0 0 16px rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 800;
}

.nav-item.active .nav-label {
    opacity: 1;
    font-weight: 900;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 3px 6px rgba(0, 0, 0, 1);
    transform: translateY(-1px);
    letter-spacing: 0.8px;
}

/* Main Content */
.menu {
    max-width: 1200px;
    margin: 0 auto;
        padding: 30px 20px 120px 20px; /* Reduced padding at bottom for navigation */
    position: relative;
    z-index: 1;
}

/* Category Styles */
.category {
    margin-bottom: 30px;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 69, 19, 0.1);
    /* backdrop-filter and animation removed for better performance */
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* Last category should have less margin before footer */
.category:last-of-type {
    margin-bottom: 20px;
}

/* Removed fadeInUp animation for better performance */

.category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.category:hover::before {
    transform: scaleX(1);
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(139, 69, 19, 0.2);
}

.category-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 20px;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
}

.category-header h2 {
    font-size: 2.2rem;
    color: #3E2723 !important; /* Very dark brown for maximum visibility */
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 
        2px 2px 8px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 255, 255, 0.7),
        1px 1px 3px rgba(255, 255, 255, 1);
    letter-spacing: 1px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 20px !important;
    border-radius: 15px !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #3E2723 !important;
    background-clip: unset !important;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    border: 2px solid rgba(139, 69, 19, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    margin: 15px auto 0;
    border-radius: 2px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.divider::before {
    right: -15px;
}

.divider::after {
    left: -15px;
}

/* Menu Items */
.menu-items {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.menu-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.95) 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(139, 69, 19, 0.15);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    animation: fadeInItem 0.5s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInItem {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.item-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid rgba(139, 69, 19, 0.1);
    position: relative;
}

/* Removed complex image effects for better performance */

.menu-item:hover .item-image {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.menu-item:hover .item-name {
    color: var(--primary-color);
}

.scoop-indicator,
.temperature-indicator {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.15), rgba(139, 69, 19, 0.1));
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(210, 105, 30, 0.2);
    font-weight: 600;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 10px 18px;
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover .price::before {
    left: 100%;
}

.menu-item:hover .price {
    box-shadow: var(--shadow-md);
}

.price-list .price {
    min-width: 100px;
    font-size: 1.05rem;
    padding: 8px 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* backdrop-filter and animation removed for better performance */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    margin: 3% auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    box-shadow: var(--shadow-xl);
    /* Removed animation for better performance */
    border: 2px solid rgba(139, 69, 19, 0.2);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Removed modal shimmer animation for better performance */

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.close {
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 30px;
}

.modal-image-container {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    width: 100%;
    max-width: 450px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(139, 69, 19, 0.2);
    transition: var(--transition);
}

.modal-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.modal-image-fallback {
    width: 100%;
    max-width: 450px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-details {
    text-align: center;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    display: inline-block;
    min-width: 200px;
}

.modal-ingredients {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgba(139, 69, 19, 0.15);
    box-shadow: var(--shadow-sm);
}

/* Footer Styles - Compact & Premium */
.footer {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        var(--accent-color) 100%);
    color: white;
    padding: 16px 0 100px 0; /* Reduced padding-bottom - navigation is fixed */
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.6),
        transparent);
    animation: footerShimmer 4s ease-in-out infinite;
}

@keyframes footerShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5px 0;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    /* backdrop-filter removed for better performance */
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    cursor: default;
}

.footer-info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-icon {
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.footer-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.footer-text[dir="ltr"] {
    direction: ltr;
    unicode-bidi: bidi-override;
}

.address-info .footer-text {
    font-size: 0.8rem;
}

.phone-info .footer-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent);
    margin: 0;
    opacity: 0.6;
}

.footer-copyright {
    text-align: center;
    padding-top: 8px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
}

.designer-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.designer-link:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
    transform: translateY(-2px) scale(1.05);
}

.design-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

.design-credit p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .header-info p {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .menu {
        padding: 20px 15px 120px 15px; /* Reduced padding for bottom navigation */
    }
    
    .category {
        padding: 25px;
        margin-bottom: 25px;
        border-radius: 20px;
    }
    
    .category:last-of-type {
        margin-bottom: 15px;
    }
    
    .category-header h2 {
        font-size: 1.8rem;
    }
    
    .menu-item {
        padding: 20px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    
    .item-image {
        width: 85px;
        height: 85px;
    }
    
    .item-name {
        font-size: 1.15rem;
    }
    
    .price {
        font-size: 1.1rem;
        padding: 8px 15px;
        min-width: 100px;
    }
    
    .bottom-nav {
        padding: 14px 6px;
        padding-bottom: max(14px, calc(14px + env(safe-area-inset-bottom)));
    }
    
    .nav-item {
        padding: 10px 12px;
        flex: 1;
        max-width: 95px;
        min-width: 0;
        gap: 6px;
        border-radius: 18px;
    }
    
    .nav-icon {
        font-size: 1.9rem;
        width: 36px;
        height: 36px;
        padding: 5px;
        border-radius: 10px;
    }
    
    .nav-label {
        font-size: 0.65rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .footer {
        padding: 14px 0 100px 0; /* Reduced padding-bottom for mobile */
        margin-top: 10px;
    }
    
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 4px 0;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .footer-info-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 5px 12px;
    }
    
    .footer-logo {
        font-size: 1.15rem;
    }
    
    .footer-divider {
        margin: 8px 0;
    }
    
    .footer-copyright {
        padding-top: 6px;
    }
    
    .footer-copyright p {
        font-size: 0.75rem;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-image {
        max-width: 100%;
        height: 300px;
    }

    .modal-image-fallback {
        max-width: 100%;
        height: 300px;
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .menu {
        padding: 15px 10px 140px 10px; /* Extra padding for navigation */
    }
    
    .category {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .category:last-of-type {
        margin-bottom: 10px;
    }
    
    .category-header h2 {
        font-size: 1.6rem;
    }
    
    .menu-item {
        padding: 18px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .item-image {
        width: 75px;
        height: 75px;
    }
    
    .item-name {
        font-size: 1.05rem;
    }
    
    .price-list {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .price {
        font-size: 1rem;
        padding: 7px 12px;
        min-width: 90px;
    }
    
    .bottom-nav {
        padding: 12px 4px;
        padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom)));
    }
    
    .nav-item {
        padding: 8px 10px;
        flex: 1;
        max-width: 85px;
        min-width: 0;
        gap: 5px;
        border-radius: 16px;
    }
    
    .nav-icon {
        font-size: 1.7rem;
        width: 32px;
        height: 32px;
        padding: 4px;
        border-radius: 8px;
    }
    
    .nav-label {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 20px;
    }
    
    .footer {
        padding: 12px 0 90px 0; /* Reduced padding-bottom for small mobile */
        margin-top: 10px;
    }
    
    .footer-main {
        gap: 10px;
        padding: 4px 0;
    }
    
    .footer-logo {
        font-size: 1.1rem;
    }
    
    .footer-info {
        gap: 8px;
        width: 100%;
    }
    
    .footer-info-item {
        padding: 4px 10px;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-icon {
        font-size: 0.9rem;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    .phone-info .footer-text {
        font-size: 0.8rem;
    }
    
    .footer-divider {
        margin: 6px 0;
    }
    
    .footer-copyright {
        padding-top: 4px;
    }
    
    .footer-copyright p {
        font-size: 0.7rem;
    }
    
    .modal-header {
        padding: 18px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-image {
        max-width: 100%;
        height: 250px;
    }
    
    .modal-image-fallback {
        max-width: 100%;
        height: 250px;
        font-size: 3.5rem;
    }
    
    .modal-price {
        font-size: 1.4rem;
        padding: 15px;
    }
    
    .modal-ingredients {
        font-size: 0.95rem;
        padding: 15px;
    }
}

/* Security Styles */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Print Styles */
@media print {
    * {
        display: none !important;
    }
}

/* Smooth Scrolling - Lenis handles this */
html {
    scroll-behavior: auto; /* Let Lenis handle smooth scrolling */
    -webkit-overflow-scrolling: touch;
    height: 100%;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.menu-item:focus,
.nav-item:focus,
.close:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(139, 69, 19, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
}

/* Loading States */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Removed will-change for better performance */

/* Smooth hover effects */
.menu-item,
.category,
.nav-item {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Premium Visual Enhancements */
body {
    position: relative;
}

/* Removed floating animation for better performance */

/* Enhanced gradients for premium feel */
.category {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 250, 240, 0.95) 50%,
        rgba(255, 245, 230, 0.98) 100%);
}

.menu-item {
    position: relative;
    overflow: visible;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    border-radius: var(--border-radius);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    /* blur filter removed for better performance */
}

.menu-item:hover::after {
    opacity: 0.3;
}

/* Simplified icon transitions */
.nav-icon {
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-item.active .nav-icon {
    transform: scale(1.15);
}

/* Price badge enhancement */
.price {
    position: relative;
    overflow: hidden;
}

.price::after {
    content: '💫';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Removed sparkle animation for better performance */

/* Image hover glow */
.item-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover .item-image {
    /* filter removed for better performance */
    box-shadow: 0 8px 24px rgba(210, 105, 30, 0.4);
}

/* Removed gradient animation for better performance */

/* Enhanced divider */
.divider {
    position: relative;
    overflow: visible;
}

/* Removed pulse animation for better performance */

/* Removed scroll animations for better performance */

/* Premium button effects */
.menu-item:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

/* Enhanced card shadows */
.category {
    box-shadow: 
        0 10px 40px rgba(139, 69, 19, 0.15),
        0 4px 12px rgba(139, 69, 19, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Simplified hover effect */

/* Premium header effect */
.header {
    position: relative;
}

/* Removed header shimmer animation for better performance */

