/* ============================================
   MENU PAGE STYLES - DLC Coffee Lounge
   ============================================ */

:root {
    --coffee-dark: #2c1810;
    --coffee-medium: #4a2c1f;
    --coffee-light: #8b6f47;
    --cream: #f5f0e8;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --shadow: rgba(44, 24, 16, 0.1);
    --shadow-strong: rgba(44, 24, 16, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--coffee-dark);
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.menu-hero {
    position: relative;
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 100%);
    padding: 180px 20px 120px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   MENU TABS
   ============================================ */

.menu-tabs-wrapper {
    background: var(--white);
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(44, 24, 16, 0.05);
}

.menu-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 20px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--coffee-medium);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--coffee-dark);
}

.tab-btn.active {
    color: var(--gold-dark);
}

.tab-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   MENU MAIN CONTENT
   ============================================ */

.menu-main {
    padding: 80px 20px;
    min-height: 60vh;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */

.menu-category {
    margin-bottom: 100px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-category.hidden {
    display: none;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--coffee-dark);
    margin-bottom: 12px;
}

.category-desc {
    font-size: 1.1rem;
    color: var(--coffee-light);
    font-weight: 300;
    font-style: italic;
}

/* ============================================
   MENU GRID
   ============================================ */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item.featured {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border: 2px solid var(--gold);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--coffee-dark);
    line-height: 1.2;
}

.item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    white-space: nowrap;
}

.item-description {
    font-size: 0.95rem;
    color: var(--coffee-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.menu-cta {
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 100%);
    padding: 100px 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.menu-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold);
    color: var(--coffee-dark);
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-play-state: paused;
}

.menu-item.animate:nth-child(1) { animation-delay: 0.1s; }
.menu-item.animate:nth-child(2) { animation-delay: 0.2s; }
.menu-item.animate:nth-child(3) { animation-delay: 0.3s; }
.menu-item.animate:nth-child(4) { animation-delay: 0.4s; }
.menu-item.animate:nth-child(5) { animation-delay: 0.5s; }
.menu-item.animate:nth-child(6) { animation-delay: 0.6s; }
.menu-item.animate:nth-child(7) { animation-delay: 0.7s; }
.menu-item.animate:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .menu-hero {
        padding: 140px 20px 80px;
    }

    .menu-tabs-wrapper {
        top: 70px;
    }

    .menu-tabs {
        justify-content: flex-start;
    }

    .tab-btn {
        padding: 18px 20px;
        font-size: 0.9rem;
    }

    .menu-main {
        padding: 60px 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-header {
        margin-bottom: 40px;
    }

    .menu-category {
        margin-bottom: 70px;
    }

    .item-name {
        font-size: 1.5rem;
    }

    .item-price {
        font-size: 1.3rem;
    }

    .menu-cta {
        padding: 80px 20px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
    }

    .menu-item {
        padding: 24px;
    }

    .item-header {
        flex-direction: column;
        gap: 8px;
    }

    .item-price {
        align-self: flex-start;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 0.95rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .menu-tabs-wrapper,
    .menu-cta,
    .footer,
    .scroll-top {
        display: none;
    }

    .menu-hero {
        padding: 40px 20px;
    }

    .menu-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}