/* ============================================
   🎨 MENU PAGE - PREMIUM STYLES
   Pizzeria Vulcano Gelsenkirchen
   Updated: January 9, 2026
   ============================================ */

/* ===== HERO SECTION ===== */
.menu-hero {
    background: linear-gradient(135deg, #2c1810 0%, #5a3825 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.menu-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 119, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 168, 126, 0.15) 0%, transparent 50%);
}

.menu-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.menu-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.menu-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #d4776e 0%, #e88a7e 100%);
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: scaleIn 0.8s ease-out 0.6s both;
}

.menu-hero-info {
    opacity: 0.8;
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.menu-hero-info i {
    margin-right: 0.5rem;
}

/* ===== QUICK NAVIGATION ===== */
.menu-quick-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quick-nav-wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4776e #f0f0f0;
}

.quick-nav-wrapper::-webkit-scrollbar {
    height: 6px;
}

.quick-nav-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.quick-nav-wrapper::-webkit-scrollbar-thumb {
    background: #d4776e;
    border-radius: 3px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.quick-nav-item:hover {
    background: linear-gradient(135deg, #d4776e 0%, #e88a7e 100%);
    color: #fff;
    transform: translateY(-3px);
    border-color: #d4776e;
    box-shadow: 0 4px 12px rgba(212, 119, 110, 0.3);
}

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

.nav-text {
    font-size: 0.85rem;
}

/* ===== MAIN MENU SECTION ===== */
.menu-main {
    background: #fff8f0;
    padding: 3rem 0;
    min-height: 60vh;
}

.menu-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #e8a87e;
}

.section-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.section-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c1810;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.section-badge {
    background: linear-gradient(135deg, #d4776e 0%, #e88a7e 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(212, 119, 110, 0.3);
}

/* ===== SIZE SELECTOR (للبيتزا) ===== */
.size-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.size-card {
    background: linear-gradient(135deg, #fff 0%, #fff8f0 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e8a87e;
    transition: all 0.3s;
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 119, 110, 0.2);
}

.size-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.size-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c1810;
    margin: 0.5rem 0;
}

.size-card p {
    color: #666;
    margin: 0;
}

/* ===== MENU GRID ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ===== MENU CARD ===== */
.menu-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #d4776e 0%, #e88a7e 100%);
    border-radius: 20px 0 0 20px;
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: #e88a7e;
}

.menu-card:hover::before {
    transform: scaleY(1);
}

/* ===== CARD NUMBER ===== */
.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f5d090 0%, #e8a87e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2c1810;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* ===== CARD TITLE & DESCRIPTION ===== */
.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c1810;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    padding-right: 50px;
}

.card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* ===== CARD FOOTER ===== */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.card-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4776e;
    background: linear-gradient(135deg, #d4776e 0%, #e88a7e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-price.special {
    font-size: 1.8rem;
}

/* ===== CARD BADGES ===== */
.card-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-badge.classic {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b6914;
}

.card-badge.popular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #fff;
}

.card-badge.veggie {
    background: linear-gradient(135deg, #51cf66 0%, #69db7c 100%);
    color: #fff;
}

.card-badge.seafood {
    background: linear-gradient(135deg, #339af0 0%, #4dabf7 100%);
    color: #fff;
}

.card-badge.cheese {
    background: linear-gradient(135deg, #ffd43b 0%, #ffe066 100%);
    color: #8b6914;
}

.card-badge.oriental {
    background: linear-gradient(135deg, #9775fa 0%, #b197fc 100%);
    color: #fff;
}

.card-badge.spicy {
    background: linear-gradient(135deg, #ff6b6b 0%, #fa5252 100%);
    color: #fff;
}

.card-badge.tropical {
    background: linear-gradient(135deg, #ff922b 0%, #ffa94d 100%);
    color: #fff;
}

.card-badge.premium {
    background: linear-gradient(135deg, #845ef7 0%, #9775fa 100%);
    color: #fff;
}

.card-badge.chef {
    background: linear-gradient(135deg, #e67700 0%, #ff922b 100%);
    color: #fff;
}

.card-badge.custom {
    background: linear-gradient(135deg, #748ffc 0%, #91a7ff 100%);
    color: #fff;
}

.card-badge.fresh {
    background: linear-gradient(135deg, #20c997 0%, #38d9a9 100%);
    color: #fff;
}

.card-badge.sweet {
    background: linear-gradient(135deg, #d6336c 0%, #f06595 100%);
    color: #fff;
}

/* ===== FEATURED CARD (للأصناف المميزة) ===== */
.menu-card.featured {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%);
    border: 3px solid #d4776e;
    position: relative;
    overflow: visible;
}

.menu-card.featured::after {
    content: '⭐';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: sparkle 2s infinite;
}

/* ===== FEATURED BADGE (محسّن) ===== */
.card-featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    z-index: 10;
    white-space: nowrap;
}

.card-featured-badge i {
    font-size: 1rem;
    animation: pulse 1.5s infinite;
}

/* تصميم خاص لبطاقة Dessert */
.menu-card.featured .card-featured-badge {
    background: linear-gradient(135deg, #d6336c 0%, #f06595 100%);
    box-shadow: 0 6px 20px rgba(214, 51, 108, 0.4);
}

/* ===== EXTRAS BOX ===== */
.extras-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px dashed #d4776e;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.extras-box h3 {
    font-family: 'Playfair Display', serif;
    color: #2c1810;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.extras-box h3 i {
    color: #d4776e;
}

.extras-grid {
    display: grid;
    gap: 1rem;
}

.extra-item {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #e8a87e;
}

.extra-label {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.8;
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-hero {
        padding: 3rem 0 2.5rem;
    }

    .menu-hero-title {
        font-size: 2.5rem;
    }

    .menu-hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-nav-wrapper {
        padding: 0.75rem 0;
    }

    .quick-nav-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

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

    .size-selector {
        grid-template-columns: 1fr;
    }

    .card-featured-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .menu-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-number {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .menu-card {
        padding: 1.5rem;
    }

    .card-featured-badge {
        font-size: 0.75rem;
        padding: 0.45rem 1rem;
        top: -12px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .menu-hero,
    .menu-quick-nav,
    .whatsapp-float,
    header,
    footer {
        display: none !important;
    }

    .menu-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .section-header {
        break-after: avoid;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== DARK MODE SUPPORT (optional) ===== */
@media (prefers-color-scheme: dark) {
    .menu-main {
        background: #1a1a1a;
    }

    .menu-card {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .card-title {
        color: #f0f0f0;
    }

    .card-description {
        color: #c0c0c0;
    }
}