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

/* =====================
   DESIGN TOKENS
   ===================== */
:root {
    --primary: #f97316;
    --primary-light: rgba(249, 115, 22, 0.15);
    --primary-hover: #ea6807;
    --accent: #fbbf24;
    --bg: #08090e;
    --bg-2: #0b0c12;
    /* Slightly darker shift for more contrast */
    --bg-3: #11131a;
    --card-bg: #141721;
    --card-border: rgba(255, 255, 255, 0.05);
    --card-border-hover: rgba(249, 115, 22, 0.5);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-subtle: #475569;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.8);
    --shadow-glow: rgba(249, 115, 22, 0.35);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Theme Consistency Aliases */
    --bg-dark: var(--bg);
    --border-color: rgba(255, 255, 255, 0.08);
    --sidebar-bg: var(--bg-2);

    /* Premium UI Tokens */
    --footer-bg: rgba(11, 12, 18, 0.95);
    --auth-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(0, 0, 0, 0.5);
    
    /* Animation Tokens */
    --transition-premium: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =====================
   BASE RESET
   ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Sora', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    top: -30vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================
   HEADER / NAV
   ===================== */
header {
    background: rgba(8, 9, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

header nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

header nav a:hover {
    color: var(--text-main);
    background: var(--glass);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
}

header nav a[style*="var(--primary)"] {
    color: var(--primary) !important;
    background: var(--primary-light);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.cart-icon:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================
   MAIN LAYOUT
   ===================== */
main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* For pages that define a max-width in PHP (Cart, Login, My Orders, etc) */
main[style*="max-width"] {
    margin: 0 auto;
    padding: 2.5rem 2rem;
    box-sizing: border-box;
}

/* Reset for homepage sections to hit the edges */
main:not(.auth-page) {
    padding-top: 0;
}

/* =====================
   PAGE TITLES
   ===================== */
/* =====================
   PLAN CARDS
   ===================== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(249, 115, 22, 0.1);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.plan-badge {
    position: absolute;
    top: 24px;
    right: -38px;
    background: var(--primary);
    color: white;
    padding: 6px 45px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.plan-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.plan-price {
    font-family: 'Sora', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    min-height: 60px;
}

.plan-features {
    text-align: left;
    margin-bottom: 3rem;
    list-style: none;
    flex: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.plan-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* =====================
   CHECKOUT
   ===================== */
.checkout-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

/* =====================
   CHECKOUT BENTO GRID
   ===================== */
.checkout-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 380px;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    align-items: start;
}

.bento-item {
    height: 100%;
}

.bento-identity {
    grid-column: span 2;
}

.bento-timing {
    grid-column: 1;
}

.bento-payment {
    grid-column: 2;
}

.bento-summary {
    grid-column: 3;
    grid-row: span 2;
    position: sticky;
    top: 2rem;
}

@media (max-width: 1200px) {
    .checkout-bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-summary {
        grid-column: span 2;
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-identity, .bento-timing, .bento-payment, .bento-summary {
        grid-column: span 1;
    }
}

.luxury-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.luxury-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.holographic-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.1;
    pointer-events: none;
}

.ticket-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #fbbf24);
}

.pref-selector, .pay-selector {
    display: block;
    cursor: pointer;
    position: relative;
}

.pref-selector .pref-content, .pay-selector .pay-content {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.pref-selector input:checked + .pref-content,
.pay-selector input:checked + .pay-content {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.12) !important;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    position: relative;
    transition: 0.3s;
}

.pay-selector input:checked + .pay-content .radio-indicator {
    border-color: var(--primary);
    background: var(--primary);
}

.pay-selector input:checked + .pay-content .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.checkout-btn-luxury {
    width: 100%;
    height: 75px;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.checkout-btn-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.4);
    filter: brightness(1.1);
}

.checkout-btn-luxury:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.premium-glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-premium);
}

.premium-glass:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.animate-up {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

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

/* =====================
   MODALS
   ===================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    /* Above header */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

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

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
}

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

.modal-body {
    padding: 2rem;
}

.addons-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.addon-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.addon-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 20px;
    height: 20px;
}

.addon-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.addon-price {
    font-weight: 700;
    color: var(--primary);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-preview {
    font-size: 0.9rem;
    color: var(--text-muted);
}

#modal-total-price {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.25rem;
}

h1.page-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 0 0 var(--shadow-glow);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--shadow-glow);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* =====================
   CARDS / FOOD CARDS
   ===================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.food-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.food-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow-color), 0 0 25px var(--shadow-glow);
}

.food-image-wrap {
    overflow: hidden;
    height: 220px;
    background: var(--bg-3);
}

.food-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.food-card:hover .food-image {
    transform: scale(1.06);
}

.food-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    /* Slightly larger */
    color: var(--text-subtle);
    opacity: 0.8;
}

.food-info {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.food-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.food-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.food-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.food-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.food-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

/* Dietary Icons */
.diet-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1.5px solid currentColor;
    padding: 2px;
    position: relative;
    vertical-align: middle;
    border-radius: 2px;
}

.diet-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.diet-veg {
    color: #22c55e;
}

.diet-egg {
    color: #f59e0b;
}

.diet-nonveg {
    color: #ef4444;
}

/* =====================
   AUTHENTICATION UI (PREMIUM)
   ===================== */
.auth-page {
    background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.03) 0%, transparent 40%);
}

.auth-card {
    background: rgba(20, 23, 33, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    box-shadow: var(--auth-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-title {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    transition: all 0.2s ease;
}

.auth-footer a:hover {
    border-bottom-color: var(--primary);
}

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

/* =====================
   FOOTER (PREMIUM GLASS)
   ===================== */
footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* =====================
   SECTION UTILITY
   ===================== */
.section {
    padding: 5rem 2rem;
    width: 100%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    color: var(--text-main);
}

.section-sub {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-sub::before,
.section-sub::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.glow-text {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.1);
}

/* =====================
   HERO
   ===================== */
.hero-premium {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 3rem 2.5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 9, 14, 0.92) 40%, rgba(8, 9, 14, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.25s;
}

.step-card:hover {
    border-color: var(--card-border-hover);
}

.step-number {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 20px var(--primary-light);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
}

.table-responsive table {
    width: 100%;
    min-width: 600px;
}

/* =====================
   AUTH & UTILITIES
   ===================== */
.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.w-100 {
    width: 100%;
}

.mt-2 {
    margin-top: 0.5rem;
}

.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

/* =====================
   PRE-ORDER SYSTEM
   ===================== */
.preorder-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.preorder-badge.closed {
    background: #f87171;
}
.food-card.booking-closed {
    opacity: 0.8;
}
.food-card.booking-closed .food-image-wrap {
    filter: grayscale(1);
}
.btn-disabled {
    background: #444 !important;
    cursor: not-allowed !important;
}

/* =====================
   APP LOADER (PREMIUM)
   ===================== */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-visual {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 4px solid rgba(249, 115, 22, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: rotate-loader 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.2);
}

.loader-logo-inside {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: pulse-logo 2s ease-in-out infinite;
}

.loader-logo {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    margin-top: 0.5rem;
}

@keyframes rotate-loader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-logo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

.app-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* =====================
   TESTIMONIALS (PREMIUM)
   ===================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: var(--text-main);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    opacity: 0.9;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

.author-name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

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

/* =====================
   NEW PAGE COMPONENTS
   ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10rem 2rem 6rem;
    text-align: center;
    color: #fff;
    margin-top: -85px; /* Pull up behind transparent/sticky header */
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Sora', sans-serif;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8, 9, 14, 0.7), rgba(8, 9, 14, 0.85)), 
                linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    z-index: 1;
}

.section-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: var(--transition-premium);
    padding: 3rem;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 5rem 1.5rem 3rem !important;
        margin-top: -70px !important;
        min-height: 300px !important;
    }
    
    .page-hero h1 {
        font-size: 2.25rem !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* =====================
   LEAFLET THEME INTEGRATION
   ===================== */
.leaflet-container {
    background: var(--bg-dark) !important;
    font-family: inherit;
    z-index: 1 !important;
}

.leaflet-control-zoom a {
    background-color: var(--card-bg) !important;
    color: var(--text-main) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.leaflet-bar {
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.5) !important;
    color: var(--text-muted) !important;
    font-size: 0.65rem !important;
}

