 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.hidden {
    display: none !important;
}

:root {
    /* Premium qora-oq dizayn */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    --surface-control: rgba(0, 0, 0, 0.03);
    --surface-control-hover: rgba(0, 0, 0, 0.06);
    --surface-header: rgba(255, 255, 255, 0.95);
    --surface-overlay: rgba(255, 255, 255, 0.90);
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --accent-primary: #000000;
    --accent-secondary: rgba(0, 0, 0, 0.9);
    --accent-gradient: linear-gradient(135deg, #000000 0%, rgba(0, 0, 0, 0.8) 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-strong: rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme {
    /* Dark variant - premium qora */
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-card: #000000;
    --bg-card-hover: #000000;
    --surface-control: rgba(255, 255, 255, 0.03);
    --surface-control-hover: rgba(255, 255, 255, 0.06);
    --surface-header: rgba(0, 0, 0, 0.95);
    --surface-overlay: rgba(0, 0, 0, 0.90);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-primary: #FFFFFF;
    --accent-secondary: rgba(255, 255, 255, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-strong: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
}

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

/* Tema o'zgarishida animatsiya - asosiy elementlar */
body, 
.container, 
.menu-section, 
.category-card, 
.food-card, 
.nav-menu-container, 
.nav-item, 
.theme-btn, 
.lang-btn,
.hero-section,
.main-logo-image,
.sticky-header,
footer {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Menu Button */
/* Top Bar Container */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    z-index: 1002;
    pointer-events: none;
}

.top-bar > * {
    pointer-events: auto;
}

.floating-menu-btn {
    position: relative;
    background-color: var(--surface-control);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    box-shadow: var(--shadow-md);
    width: 48px;
    height: 48px;
    overflow: hidden;
}

.floating-menu-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(246, 196, 83, 0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

.floating-menu-btn:hover {
    background-color: var(--surface-control-hover);
    border-color: rgba(246, 196, 83, 0.45);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.05);
}

.floating-menu-btn:hover::before {
    opacity: 1;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-header);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 15px 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header.hidden {
    display: none;
}

.sticky-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sticky-logo-container {
    max-width: 150px;
    width: 100%;
}

.sticky-logo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.sticky-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Logo Typography */
.logo-main {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* Navigation Menu Container */
.nav-menu-container {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateX(30px);
}

.nav-menu-container.active {
    right: 0;
    opacity: 1;
    transform: translateX(0);
}

.nav-menu-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background: transparent;
    justify-content: space-between;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: var(--surface-control);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003;
    pointer-events: auto;
    animation: fadeInScale 0.3s ease-out 0.1s backwards;
    box-shadow: var(--shadow-md);
    font-weight: 300;
    overflow: hidden;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nav-close-btn:hover {
    background-color: var(--surface-control-hover);
    border-color: rgba(246, 196, 83, 0.45);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.05);
}

/* Theme and Language switchers */
.nav-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding: 20px 30px 30px;
    background: transparent;
    border-top: none;
    animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.control-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.theme-switcher, .language-switcher {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theme-switcher {
    display: flex;
    flex-direction: column;
}

.language-switcher {
    display: flex;
    flex-direction: column;
}

.theme-switcher .theme-btn-container,
.language-switcher .lang-btn-container {
    display: flex;
    gap: 10px;
}

/* Premium Buttons */
.theme-btn, .lang-btn {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-primary);
    padding: 18px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-btn::before, .lang-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFD700, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px 0 0 12px;
}

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

.theme-btn:hover, .lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.theme-btn:hover::before, .lang-btn:hover::before {
    opacity: 1;
}

.theme-btn:hover::after, .lang-btn:hover::after {
    left: 100%;
}

.theme-btn.active, .lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.theme-btn.active::before, .lang-btn.active::before {
    opacity: 1;
}

.theme-btn span, .lang-btn span {
    position: relative;
    z-index: 1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 12px;
    padding: 80px 30px 20px;
    margin: 0;
}

/* Premium Navigation */
.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 18px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
    border: none;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.4s ease-out backwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFD700, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px 0 0 12px;
}

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

/* Active state */
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.nav-item.active::before {
    opacity: 1;
}

/* Hover state */
.nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover::after {
    left: 100%;
}

/* Overlay when menu is open */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Main Container - Premium Layout */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 120px;
    display: block;
    position: relative;
    z-index: 100;
    background-color: var(--bg-primary);
    margin-top: 100vh;
}

.container.category-open {
    margin-top: 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 40px;
    margin-bottom: 80px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Spacing Utilities */
.section-large {
    padding: 120px 0;
}

.section-medium {
    padding: 80px 0;
}

.section-small {
    padding: 40px 0;
}

.margin-large {
    margin: 80px 0;
}

.margin-medium {
    margin: 40px 0;
}

.margin-small {
    margin: 20px 0;
}

/* Premium Order Button */
.order-button-floating {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 0.01em;
    overflow: hidden;
}

.order-button-floating:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateX(-50%) translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.order-button-floating span {
    position: relative;
    z-index: 1;
}

.order-button-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(246, 196, 83, 0.35),
        transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.order-button-floating::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--accent-primary),
        #FFA500,
        var(--accent-primary));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.order-button-floating:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: var(--shadow-hover);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}


.order-icon-floating,
.order-text-floating {
    position: relative;
    z-index: 1;
}

.order-button-floating:active {
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.order-icon-floating {
    font-size: 1.3rem;
}

.order-text-floating {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.menu-section {
    width: 100%;
    display: block;
    position: relative;
    z-index: 100;
    background-color: var(--bg-primary);
}

.menu-section.hidden {
    display: none !important;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 10px;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

/* Category cards */
.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, all var(--transition-base);
}

/* Chapdan chiqadigan kategoriyalar */
.category-card.slide-from-left {
    transform: translateX(-50px);
}

.category-card.slide-from-left.reveal {
    opacity: 1;
    transform: translateX(0);
}

/* O'ngdan chiqadigan kategoriyalar */
.category-card.slide-from-right {
    transform: translateX(50px);
}

.category-card.slide-from-right.reveal {
    opacity: 1;
    transform: translateX(0);
}

.category-card.reveal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
    background-color: var(--bg-card-hover);
}

.category-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 10;
    transition: color var(--transition-base);
}

/* Category Items Section */
.category-items-section {
    width: 100%;
    animation: fadeIn 0.3s ease-in;
    display: none;
    padding-top: 20px;
    position: relative;
    z-index: 10;
    background-color: var(--bg-primary);
    min-height: 100vh;
}

.category-items-section.hidden {
    display: none !important;
}

.category-items-section:not(.hidden) {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-items-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn {
    background-color: var(--surface-control);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    box-shadow: var(--shadow-sm);
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

.back-btn:hover {
    background-color: var(--surface-control-hover);
    border-color: rgba(246, 196, 83, 0.45);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(-3px);
}

.back-btn:hover::before {
    left: 100%;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Premium Food Cards */
.food-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, all var(--transition-base);
}

.food-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.food-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
    background-color: var(--bg-card-hover);
}

/* Food image olib tashlandi */

.food-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 10;
}

.food-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
    position: relative;
    z-index: 10;
}

.food-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 18px rgba(246, 196, 83, 0.25);
}

/* Vote Section */
.vote-section {
    margin: 15px 0;
}

.vote-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.like-btn, .dislike-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.like-btn {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.dislike-btn {
    background-color: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.like-btn:hover:not(:disabled) {
    background-color: #4CAF50;
    color: #ffffff;
    border-color: #4CAF50;
}

.dislike-btn:hover:not(:disabled) {
    background-color: #F44336;
    color: #ffffff;
    border-color: #F44336;
}

.like-btn.active {
    background-color: #4CAF50;
    color: #ffffff;
    border-color: #4CAF50;
}

.dislike-btn.active {
    background-color: #F44336;
    color: #ffffff;
    border-color: #F44336;
}

.vote-percent {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}


.order-btn {
    background-color: var(--surface-control);
    color: var(--text-primary);
    border: 1px solid rgba(246, 196, 83, 0.35);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.order-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background-color: var(--surface-control-hover);
    border-color: rgba(246, 196, 83, 0.55);
    color: var(--text-primary);
}

.order-btn.small {
    padding: 6px 12px;
    font-size: 0.8rem;
}


/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 48px 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

footer.reveal {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    margin: 0;
}

.map-button {
    background-color: var(--surface-control);
    color: var(--text-primary);
    border: 1px solid rgba(246, 196, 83, 0.35);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    box-shadow: var(--shadow-sm);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

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

.map-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: var(--surface-control-hover);
    border-color: rgba(246, 196, 83, 0.55);
    color: var(--text-primary);
}

.map-button:hover::before {
    left: 100%;
}

.map-icon {
    position: relative;
    z-index: 1;
}

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

/* Responsive design */
@media (max-width: 1199px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .sticky-header {
        padding: 10px 15px;
    }
    
    .sticky-header-content {
        gap: 15px;
    }
    
    .sticky-logo-container {
        max-width: 120px;
    }
    
    .sticky-subtitle {
        font-size: 0.8rem;
    }
    
    .floating-menu-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        padding: 12px;
    }
    
    .nav-menu-container {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu-container.active {
        right: 0;
    }
    
    .nav-menu {
        padding: 80px 20px 20px;
    }
    
    .nav-controls {
        padding: 20px;
    }
    
    .top-bar {
        padding: 15px;
    }
    
    .order-button-floating {
        padding: 12px 24px;
        font-size: 1rem;
        gap: 8px;
    }
    
    .order-text-floating {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .order-icon-floating {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 20px;
        gap: 30px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        min-height: 70px;
        padding: 12px 8px;
    }
    
    .category-card h3 {
        font-size: 0.85rem;
    }
    
    .category-items-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    footer {
        padding: 30px 20px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .sticky-header {
        padding: 8px 10px;
    }
    
    .sticky-header-content {
        gap: 10px;
        flex-direction: column;
    }
    
    .sticky-logo-container {
        max-width: 100px;
    }
    
    .sticky-subtitle {
        font-size: 0.75rem;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 1rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .theme-btn, .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .food-card {
        padding: 20px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .order-btn {
        width: 100%;
    }
    
    .top-bar {
        padding: 12px;
    }
    
    .order-button-floating {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .floating-menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .order-text-floating {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .order-icon-floating {
        font-size: 1.2rem;
    }
}


/* ============================================
   HERO SECTION WITH LOGO
   ============================================ */

.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding: 80px 20px 20px;
    z-index: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
}

.hero-section.hidden {
    display: none !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg-primary);
    background-image: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.main-logo-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto 20px;
    animation: logoFadeIn 1s ease-out;
    background-color: var(--bg-primary);
    padding: 0;
    border-radius: 0;
    overflow: visible;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.main-logo-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    display: block;
    margin: 0 auto;
    background-color: var(--bg-primary);
    background-image: none;
    border-radius: 0;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 50px 20px 25px;
    }
    
    .main-logo-container {
        max-width: 70%;
        margin-bottom: 15px;
        padding: 0;
        border-radius: 0;
    }
    
    .main-logo-image {
        max-width: 100%;
        background-color: var(--bg-primary);
        background-image: none;
        object-fit: contain;
        border-radius: 0;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        margin-top: 10px;
    }
    
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 15px 20px;
    }
    
    .main-logo-container {
        max-width: 80%;
        margin-bottom: 15px;
        padding: 0;
        border-radius: 0;
    }
    
    .main-logo-image {
        background-color: var(--bg-primary);
        background-image: none;
        object-fit: contain;
        border-radius: 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-top: 8px;
    }
    
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.category-emoji {
    display: inline-block;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Category Items Section */
.category-items-section {
    margin-top: 40px;
}

.category-items-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn {
    background-color: var(--surface-control);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background-color: var(--surface-control-hover);
    border-color: var(--accent-primary);
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.food-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.food-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.food-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.food-info {
    padding: 20px;
}

.food-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.food-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.food-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.vote-buttons {
    display: flex;
    gap: 10px;
}

.vote-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.vote-btn:hover {
    background-color: var(--surface-control);
}

.vote-btn.voted {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    .category-name {
        font-size: 1.2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-items-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .food-info {
        padding: 15px;
    }
    
    .food-name {
        font-size: 1.1rem;
    }
    
    .food-price {
        font-size: 1.1rem;
    }
}

