/* Menu Page Styles */

/* Menu Hero Section */
.menu-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.menu-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.3) 0%, 
        rgba(0, 0, 0, 0.9) 50%, 
        rgba(22, 163, 74, 0.3) 100%
    );
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(22, 163, 74, 0.1) 0%, transparent 50%);
    animation: particles-float 8s ease-in-out infinite alternate;
}

@keyframes particles-float {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.menu-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.menu-hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 900;
}

.menu-hero-title .neon-text {
    color: white;
    text-shadow: 
        0 0 5px var(--red-primary),
        0 0 10px var(--red-primary),
        0 0 20px var(--red-primary);
}

.menu-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.menu-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-primary);
}

.stat-label {
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Category Navigation */
.menu-categories {
    padding: 3rem 0;
    background: var(--background-dark);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.category-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--text-gray);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    min-width: 120px;
}

.category-btn i {
    font-size: 1.5rem;
}

.category-btn.active,
.category-btn:hover {
    color: var(--red-primary);
    border-color: var(--red-primary);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

/* Menu Items */
.menu-items {
    padding: 3rem 0;
    background: var(--background-darker);
}

.menu-section {
    margin-bottom: 4rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

.section-title i {
    color: var(--red-primary);
    font-size: 2rem;
}

.time-badge, .own-badge {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.menu-item-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

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

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    border-color: var(--red-primary);
}

.item-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.image-placeholder i {
    z-index: 2;
}

.hookah-bg {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(153, 27, 27, 0.3));
    color: var(--red-primary);
}

.breakfast-bg {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.3));
    color: #ffc107;
}

.hot-bg {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(244, 67, 54, 0.3));
    color: #ff5722;
}

.cold-bg {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(3, 169, 244, 0.3));
    color: #2196f3;
}

.drinks-bg {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(233, 30, 99, 0.3));
    color: #9c27b0;
}

.desserts-bg {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(255, 64, 129, 0.3));
    color: #e91e63;
}

.item-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.item-description {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.popular {
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-primary);
    border: 1px solid var(--red-primary);
}

.tag.premium {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.tag.strength {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.tag.hearty {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.tag.classic {
    background: rgba(96, 125, 139, 0.2);
    color: #607d8b;
    border: 1px solid #607d8b;
}

.tag.sweet {
    background: rgba(233, 30, 99, 0.2);
    color: #e91e63;
    border: 1px solid #e91e63;
}

.tag.fresh {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.tag.light {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid #9e9e9e;
}

.tag.protein {
    background: rgba(255, 87, 34, 0.2);
    color: #ff5722;
    border: 1px solid #ff5722;
}

.tag.signature {
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-primary);
    border: 1px solid var(--red-primary);
}

.tag.gaming {
    background: rgba(103, 58, 183, 0.2);
    color: #673ab7;
    border: 1px solid #673ab7;
}

.tag.cheesy {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.tag.spicy {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.tag.crispy {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.tag.healthy {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.tag.strong {
    background: rgba(121, 85, 72, 0.2);
    color: #795548;
    border: 1px solid #795548;
}

.tag.energy {
    background: rgba(255, 235, 59, 0.2);
    color: #ffeb3b;
    border: 1px solid #ffeb3b;
}

.tag.variety {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid #9c27b0;
}

.tag.relaxing {
    background: rgba(63, 81, 181, 0.2);
    color: #3f51b5;
    border: 1px solid #3f51b5;
}

.tag.homemade {
    background: rgba(22, 163, 74, 0.2);
    color: var(--green-primary);
    border: 1px solid var(--green-primary);
}

.tag.cold {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid #2196f3;
}

.tag.constructor {
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-primary);
    border: 1px solid var(--red-primary);
}

.item-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-primary);
    font-family: 'Orbitron', sans-serif;
}

/* Filter Animation */
.menu-item-card.hidden {
    display: none;
}

.menu-item-card.show {
    animation: slideInUp 0.6s ease-out forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .menu-hero {
        height: 50vh;
    }
    
    .menu-hero-stats {
        gap: 2rem;
    }
    
    .category-navigation {
        gap: 0.5rem;
    }
    
    .category-btn {
        min-width: 100px;
        padding: 0.8rem 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .item-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .category-btn {
        min-width: 80px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .category-btn i {
        font-size: 1.2rem;
    }
    
    .item-name {
        font-size: 1.1rem;
    }
    
    .item-price {
        font-size: 1.3rem;
    }
}

/* Constructor Modal Styles */
.constructor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.constructor-content {
    background: var(--background-dark);
    border: 2px solid var(--red-primary);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.constructor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.constructor-header h2 {
    color: var(--red-primary);
    margin: 0;
    font-size: 1.5rem;
}

.constructor-close {
    background: none;
    border: none;
    color: var(--red-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.constructor-close:hover {
    background: rgba(220, 38, 38, 0.1);
}

.constructor-body {
    padding: 1.5rem;
}

.constructor-info {
    margin-bottom: 2rem;
    text-align: center;
}

.constructor-info h3 {
    color: var(--red-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.constructor-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.constructor-section {
    margin-bottom: 2rem;
}

.constructor-section h4 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.constructor-options {
    display: grid;
    gap: 0.8rem;
}

.constructor-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.constructor-option:hover {
    border-color: var(--red-primary);
    background: rgba(220, 38, 38, 0.1);
}

.constructor-option input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.option-text {
    color: white;
    flex: 1;
}

.option-price {
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.constructor-total {
    border-top: 2px solid var(--red-primary);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.total-price {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.total-price span {
    color: var(--red-primary);
}

.constructor-order-btn {
    background: var(--red-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.constructor-order-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Mobile constructor styles */
@media (max-width: 768px) {
    .constructor-modal {
        padding: 0.5rem;
    }
    
    .constructor-content {
        max-height: 90vh;
    }
    
    .constructor-header {
        padding: 1rem;
    }
    
    .constructor-body {
        padding: 1rem;
    }
    
    .constructor-total {
        flex-direction: column;
        gap: 1rem;
    }
    
    .constructor-order-btn {
        width: 100%;
    }
}