/* ========================================
   THE VICTORIAN — Premium Dark Theme
   ======================================== */

:root {
    --bg-deep: #0D0D0D;
    --bg-surface: #161618;
    --bg-card: #1E1E21;
    --bg-elevated: #2A2A2E;
    --text-primary: #F5F5F5;
    --text-secondary: #8A8A8E;
    --text-muted: #5A5A5E;
    --accent: #C8C8C8; /* Silver to match logo */
    --accent-warm: #B8A080; /* Warm muted gold/bronze */
    --border: rgba(255,255,255,0.06);
    --glass: rgba(13,13,13,0.75);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --safe-bottom: env(safe-area-inset-bottom, 20px);
    --nav-height: 0px; /* Will be set dynamically */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.6) 0%,
        rgba(13, 13, 13, 0.8) 50%,
        var(--bg-deep) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    mix-blend-mode: screen;
    filter: brightness(1.3);
    animation: logoRiseUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               logoPulseGlow 3s ease-in-out 2.5s infinite;
    opacity: 0;
    transform: translateY(80px);
}

/* Glow light beam beneath the logo */
.hero-logo-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 120px;
    background: radial-gradient(ellipse at 50% 100%, rgba(200,200,200,0.15) 0%, rgba(184,160,128,0.08) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: glowAppear 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    pointer-events: none;
}

.hero-divider-wrap {
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

.hero-tagline {
    animation: fadeInUp 1s ease 1.5s forwards;
    opacity: 0;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto 1rem;
}

.hero-tagline-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-scroll-btn {
    position: absolute;
    bottom: calc(40px + var(--safe-bottom));
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll-btn i {
    font-size: 0.9rem;
}

/* ========================================
   STICKY NAV
   ======================================== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top, 0px);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-inner {
    padding: 0.8rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.category-pills {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    white-space: nowrap;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.pill:active {
    transform: scale(0.95);
}

.pill.active {
    background: var(--text-primary);
    color: var(--bg-deep);
    font-weight: 600;
    border-color: transparent;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    max-width: 600px;
    margin: 0 auto;
}

.menu-section {
    scroll-margin-top: 80px;
}

/* Section Headers */
.section-header {
    padding: 2.5rem 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

/* ========================================
   FEATURED HORIZONTAL SCROLL
   ======================================== */
.featured-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1.25rem 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.featured-card {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.featured-card:active {
    transform: scale(0.97);
}

.featured-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    flex: 1;
}

.featured-card-category {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-warm);
}

.featured-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: auto;
}

/* ========================================
   MENU GRID — TEXT-BASED CARD LAYOUT
   ======================================== */
.menu-grid {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-warm);
    margin: 1.5rem 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item {
    border-radius: 16px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    animation: itemReveal 0.4s ease backwards;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.menu-item:hover {
    border-color: rgba(255,255,255,0.2);
    background: var(--bg-elevated);
}

.menu-item:active {
    transform: scale(0.98);
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.menu-item-category-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.menu-item-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.menu-item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-warm);
    letter-spacing: 0.2px;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   BOTTOM BAR CTA
   ======================================== */
.bottom-spacer {
    height: calc(90px + var(--safe-bottom));
}

.bottom-bar {
    position: relative;
    width: 100%;
    padding: 2rem 1.25rem calc(2rem + var(--safe-bottom));
    display: flex;
    justify-content: center;
}

@media(min-width: 600px) {
    .bottom-bar {
        max-width: 600px;
        margin: 0 auto;
    }
}

.cta-btn {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    text-decoration: none;
    gap: 0.85rem;
    transition: all 0.25s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.cta-btn:active {
    transform: scale(0.97);
    background: var(--bg-elevated);
}

.cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cta-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.cta-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.cta-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Logo rises from below with glow */
@keyframes logoRiseUp {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
        filter: brightness(0.5);
    }
    40% {
        opacity: 1;
        filter: brightness(1.8) drop-shadow(0 0 40px rgba(200,200,200,0.3));
    }
    70% {
        transform: translateY(-8px) scale(1.02);
        filter: brightness(1.5) drop-shadow(0 0 25px rgba(200,200,200,0.2));
    }
    100% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(200,200,200,0.1));
    }
}

/* Subtle continuous glow after entrance */
@keyframes logoPulseGlow {
    0%, 100% {
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(200,200,200,0.05));
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 30px rgba(200,200,200,0.15)) drop-shadow(0 10px 40px rgba(184,160,128,0.08));
    }
}

/* Light glow appears from below */
@keyframes glowAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.3) scaleY(0.2);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2) scaleY(1.1);
    }
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1) scaleY(1);
    }
}

/* Fade in elements after logo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

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

/* ========================================
   CART SYSTEM
   ======================================== */
.add-to-cart-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.featured-card .add-to-cart-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.add-to-cart-btn:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
    border-color: transparent;
}

.add-to-cart-btn:active {
    transform: scale(0.85);
}

.cart-fab {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    right: 20px;
    z-index: 9999;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-fab:active {
    transform: scale(0.95);
}

.cart-badge {
    background: var(--text-primary);
    color: var(--bg-deep);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    background: var(--bg-surface);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

@media(min-width: 600px) {
    .cart-modal {
        max-width: 400px;
        left: 50%;
        margin-left: -200px;
        border-radius: 24px;
        bottom: 20px;
        transform: translateY(120%);
    }
}

.cart-modal.active {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.empty-cart-state {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-action-btn {
    background: var(--bg-elevated);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ========================================
   PRODUCT MODAL
   ======================================== */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.product-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

@media(min-width: 600px) {
    .product-modal {
        max-width: 400px;
        left: 50%;
        margin-left: -200px;
        border-radius: 24px;
        bottom: 20px;
        transform: translateY(120%);
    }
}

.product-modal.active {
    transform: translateY(0);
}

.product-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 13, 13, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.product-close-btn:active {
    transform: scale(0.9);
}

.product-modal-img-wrap {
    width: 100%;
    height: 250px;
    background: #2a2a2a;
    position: relative;
}

.product-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-modal-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-warm);
}

.product-modal-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-modal-bottom {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-modal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-modal-add-btn {
    flex: 1;
    background: var(--text-primary);
    color: var(--bg-deep);
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-modal-add-btn:active {
    transform: scale(0.97);
}


.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-footer .bottom-bar {
    position: static;
    padding: 0;
}

/* ========================================
   SEARCH, TOAST & FOOTER
   ======================================== */

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.search-bar-container {
    flex: 1;
    position: relative;
    max-width: 250px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.menu-search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 12px 8px 32px;
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.menu-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(184, 160, 128, 0.2);
}

.menu-search-input::placeholder {
    color: var(--text-muted);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(184, 160, 128, 0.9);
    color: var(--bg-deep);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    animation: toastSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideDown {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.fade-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.3s ease;
}

/* Footer */
.app-footer {
    padding: 3rem 1.25rem 6rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-socials {
    margin-bottom: 1.5rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--bg-deep);
    transform: scale(1.1);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

.footer-credit {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.krextech-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.krextech-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE OPTIMIZATIONS
   ======================================== */
@media (max-width: 380px) {
    .nav-top {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar-container {
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .cart-modal {
        border-radius: 24px;
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 400px;
        height: auto;
        max-height: 80vh;
        transform: translateY(150%);
    }
    .cart-modal.active {
        transform: translateY(0);
    }
}
