/* VELUNA COFFEE & LOUNGE - DUAL THEME (LIGHT/DARK) STYLES */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* DARK THEME (DEFAULT) */
    --bg-dark: #07080c;
    --bg-surface: #0f111a;
    --bg-card: rgba(20, 24, 38, 0.85);
    --bg-card-hover: rgba(30, 35, 56, 0.95);
    
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --primary-gradient: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #4c1d95 100%);
    
    --gold: #ffc72c;
    --gold-glow: rgba(255, 199, 44, 0.4);
    --gold-gradient: linear-gradient(135deg, #ffe066 0%, #ffc72c 50%, #d97706 100%);
    
    --cyan: #06b6d4;
    --rose: #f43f5e;
    --emerald: #10b981;
    
    --text-main: #ffffff;
    --text-sub: #cbd5e1;
    --text-muted: #64748b;
    
    --border: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(167, 139, 250, 0.4);
    
    --glass-backdrop: blur(18px);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    
    --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.35);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* BRIGHT LIGHT THEME OVERRIDES */
body[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    
    --primary: #7c3aed;
    --primary-light: #6d28d9;
    --primary-glow: rgba(124, 58, 237, 0.15);
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    
    --gold: #d97706;
    --gold-glow: rgba(217, 119, 6, 0.25);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --text-main: #0f172a;
    --text-sub: #334155;
    --text-muted: #64748b;
    
    --border: rgba(0, 0, 0, 0.12);
    --border-highlight: rgba(217, 119, 6, 0.35);
    
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.07);
    --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 60px;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 90% 40%, rgba(255, 199, 44, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

body[data-theme="light"] {
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 40%, rgba(139, 92, 246, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

/* Background Watermark Logo (Fixed Gold Logo for both themes) */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('./assets/veluna_logo_gold.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
}

body[data-theme="light"]::before {
    opacity: 0.05;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Header & Top Bar */
.top-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-surface);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--gold-glow));
    transition: var(--transition);
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* PROMINENT THEME TOGGLE PILL BUTTON */
.theme-toggle-pill {
    background: var(--bg-card);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 7px 14px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 0 12px var(--gold-glow);
    transition: var(--transition);
}

.theme-toggle-pill i {
    font-size: 0.95rem;
}

.theme-toggle-pill:hover {
    transform: scale(1.06);
    background: var(--gold-gradient);
    color: #000;
}

.wifi-top-link {
    background: var(--gold-glow);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.wifi-top-link:hover {
    background: var(--gold-gradient);
    color: #fff;
    box-shadow: 0 0 15px var(--gold-glow);
}

/* HERO LOGO SHOWCASE SECTION */
.hero-logo-section {
    position: relative;
    margin: 16px 16px 24px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    box-shadow: var(--shadow-card);
    padding: 38px 20px;
    text-align: center;
    backdrop-filter: var(--glass-backdrop);
    transition: var(--transition);
}

.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-hero-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 22px var(--gold-glow));
    animation: floatLogo 4s ease-in-out infinite alternate;
    transition: var(--transition);
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    100% { transform: translateY(-7px); }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-glow);
    border: 1px solid var(--primary-light);
    color: var(--text-main);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 6px;
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* SEARCH BAR */
.search-container {
    padding: 0 16px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--gold);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition);
}

.search-input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 42px 14px 48px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
}

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

.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow);
    background: var(--bg-surface);
}

.clear-search {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
}

.clear-search.active {
    display: block;
}

/* STICKY CATEGORY NAV */
.category-nav-wrapper {
    position: sticky;
    top: 65px;
    z-index: 990;
    background: var(--bg-surface);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.category-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
}

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

.cat-chip {
    white-space: nowrap;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-sub);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: var(--transition);
    user-select: none;
}

.cat-chip i {
    font-size: 1rem;
    color: var(--gold);
    transition: var(--transition);
}

.cat-chip:hover {
    color: var(--text-main);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.cat-chip.active {
    background: var(--gold-gradient);
    border-color: var(--gold);
    color: #000000;
    box-shadow: 0 4px 20px var(--gold-glow);
    font-weight: 900;
}

.cat-chip.active i {
    color: #000000;
    transform: scale(1.2);
}

/* MAIN CONTAINER */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

/* SECTION HEADER */
.section-head {
    margin: 36px 0 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-head:first-child {
    margin-top: 10px;
}

.section-title-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--gold);
}

.section-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* SPECIAL SHISHA STYLING */
section[id="nargile"] .section-title {
    color: #ec4899;
}
section[id="nargile"] .section-title i {
    color: #ec4899;
}

/* MENU GRID */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MENU CARD */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.menu-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card), 0 0 20px var(--gold-glow);
}

.card-img-wrapper {
    width: 105px;
    height: 105px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover .card-img {
    transform: scale(1.12);
}

.card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--bg-surface);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.card-top {
    margin-bottom: 6px;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 5px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.card-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--gold);
}

.card-inspect-hint {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
    transition: var(--transition);
}

.menu-card:hover .card-inspect-hint {
    opacity: 1;
    transform: translateX(2px);
}

/* NO RESULTS STATE */
.no-results {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-muted);
    display: none;
}

.no-results i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 14px;
    opacity: 0.6;
}

.no-results h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

/* MODAL STYLING */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
}

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

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    border-radius: 28px 28px 0 0;
    overflow-y: auto;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px -10px rgba(0,0,0,0.3);
}

@media (min-width: 640px) {
    .modal-card {
        border-radius: 28px;
        transform: scale(0.95);
    }
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: #fff;
}

.modal-img-container {
    width: 100%;
    height: 260px;
    position: relative;
    background: var(--bg-dark);
}

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

.modal-content {
    padding: 24px;
}

.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.modal-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.modal-item-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold);
    white-space: nowrap;
}

.modal-item-desc {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 22px;
}

.modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.modal-tag-chip {
    background: var(--gold-glow);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-close-action-btn {
    width: 100%;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--gold-glow);
    transition: var(--transition);
}

.modal-close-action-btn:hover {
    transform: scale(1.02);
}

/* FOOTER & WI-FI DRAWER */
.info-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    margin-top: 70px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.9;
}

.wifi-widget {
    background: var(--gold-glow);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 16px;
    max-width: 420px;
    margin: 0 auto 26px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wifi-info {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.wifi-info i {
    font-size: 1.5rem;
    color: var(--gold);
}

.wifi-text strong {
    font-size: 0.88rem;
    color: var(--text-main);
    display: block;
}

.wifi-text span {
    font-size: 0.78rem;
    color: var(--text-sub);
}

.copy-wifi-btn {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 18px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 12px var(--gold-glow);
    transition: var(--transition);
}

.copy-wifi-btn:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 0 20px var(--gold-glow);
}

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

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

.toast {
    background: var(--bg-surface);
    border: 1px solid var(--gold);
    backdrop-filter: blur(12px);
    color: var(--text-main);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 0 20px var(--gold-glow);
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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