/* ============================================
   PUNJABI RESTAURANT - STYLES
   ============================================ */

/* CSS Custom Properties */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --bg-sidebar: #141414;
    --text-primary: #f0e6d3;
    --text-secondary: #b8a98f;
    --text-muted: #7a6f60;
    --accent: #d4a055;
    --accent-light: #e8c88a;
    --accent-dark: #a67c3d;
    --accent-glow: rgba(212, 160, 85, 0.3);
    --border: rgba(212, 160, 85, 0.15);
    --border-hover: rgba(212, 160, 85, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(212, 160, 85, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sidebar-width: 260px;
    --header-height: 64px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(15, 15, 15, 0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: all var(--transition-med);
}

.header.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-med);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-med);
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition-fast);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--accent);
}

/* ============================================
   HOMEPAGE / INICIO
   ============================================ */
.homepage {
    min-height: 100vh;
    padding-top: var(--header-height);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.homepage-inner {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

.homepage-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 48px 60px 64px;
}

.homepage-plates {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.plate-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid #e8e0d4;
    box-shadow:
        0 0 0 3px #c9bfb0,
        0 6px 25px rgba(0, 0, 0, 0.5),
        inset 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.plate-circle.visible {
    opacity: 1;
}

.plate-circle:nth-child(1) {
    transition-delay: 0.1s;
}

.plate-circle:nth-child(2) {
    transition-delay: 0.25s;
}

.plate-circle:nth-child(3) {
    transition-delay: 0.4s;
}

.plate-circle:hover {
    box-shadow:
        0 0 0 3px #c9bfb0,
        0 8px 30px rgba(212, 160, 85, 0.3),
        inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.plate-circle-center {
    margin-top: 20px;
}

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

.homepage-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 32px;
}

.homepage-title-line {
    display: block;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.homepage-title-accent {
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--accent);
    animation-delay: 0.7s;
}

.homepage-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1.5px solid var(--accent);
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition-med);
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.homepage-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 160, 85, 0.3);
}

.homepage-cta svg {
    transition: transform var(--transition-fast);
}

.homepage-cta:hover svg {
    transform: translate(3px, -3px);
}

.homepage-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.homepage-restaurant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

/* ============================================
   MENU HERO (Sub-hero)
   ============================================ */
.menu-hero {
    position: relative;
    height: 40vh;
    min-height: 280px;
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&h=600&fit=crop') center/cover no-repeat;
}

.menu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 15, 15, 0.5) 0%,
            rgba(15, 15, 15, 0.7) 50%,
            rgba(15, 15, 15, 0.95) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.menu-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
}

.menu-hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title-line {
    display: block;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out both;
}

.hero-title-accent {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--accent);
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-bottom: 24px;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Floating particles in hero */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

/* ============================================
   MENU LAYOUT
   ============================================ */
.menu-section {
    padding-top: 20px;
}

.menu-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    padding: 20px 16px;
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: var(--radius-md);
}

.sidebar-item:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-item.active {
    color: var(--bg-primary);
    font-weight: 600;
}

.sidebar-item.active::before {
    opacity: 1;
}

.sidebar-icon {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sidebar-label {
    position: relative;
    z-index: 1;
}

/* Menu Content */
.menu-content {
    flex: 1;
    padding: 20px 32px 60px;
    min-width: 0;
}

/* Category Section */
.category-section {
    margin-bottom: 48px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.category-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-title-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.category-title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-hover), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.category-title.visible .category-title-line {
    transform: scaleX(1);
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Menu Card */
.menu-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(-60px) scale(0.92);
    filter: blur(6px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.menu-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px) scale(1.01);
}

.menu-card.visible:hover {
    transform: translateY(-2px) scale(1.01);
}

.menu-card-image {
    width: 220px;
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.menu-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.badge-kcal {
    background: rgba(30, 30, 30, 0.85);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.badge-tag {
    background: rgba(212, 160, 85, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(212, 160, 85, 0.3);
    backdrop-filter: blur(8px);
}

.menu-card-info {
    flex: 1;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.menu-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.menu-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.menu-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   VEN A VERNOS / CONTACT
   ============================================ */
.ven-section {
    position: relative;
    padding: 80px 24px 60px;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1400&h=600&fit=crop') center/cover no-repeat;
}

.ven-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 15, 15, 0.75) 0%,
            rgba(15, 15, 15, 0.85) 50%,
            rgba(15, 15, 15, 0.95) 100%);
    z-index: 1;
}

.ven-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
}

.ven-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.ven-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ven-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    font-style: italic;
    color: var(--text-primary);
    white-space: nowrap;
}

.ven-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

.ven-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ven-card {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-med);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.ven-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ven-card:nth-child(1) {
    transition-delay: 0.1s;
}

.ven-card:nth-child(2) {
    transition-delay: 0.2s;
}

.ven-card:nth-child(3) {
    transition-delay: 0.3s;
}

.ven-card:nth-child(4) {
    transition-delay: 0.4s;
}

.ven-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.ven-card.visible:hover {
    transform: translateY(-4px);
}

.ven-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ven-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

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

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-med);
    box-shadow: 0 4px 20px rgba(212, 160, 85, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 160, 85, 0.4);
}

/* ============================================
   CHATBOT WIDGET
   ============================================ */
.chatbot-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1100;
}

/* FAB Button */
.chatbot-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(212, 160, 85, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1102;
    cursor: pointer;
    border: none;
}

.chatbot-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 35px rgba(212, 160, 85, 0.55);
}

.chatbot-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    opacity: 0;
    z-index: -1;
    animation: chatbot-pulse 2.5s ease-in-out infinite;
}

@keyframes chatbot-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.2);
    }
}

.chatbot-fab-icon {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-fab-icon--chat {
    opacity: 1;
    transform: scale(1);
}

.chatbot-fab-icon--close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.chatbot-wrapper.open .chatbot-fab-icon--chat {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.chatbot-wrapper.open .chatbot-fab-icon--close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Chat Panel */
.chatbot-panel {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 160, 85, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 160, 85, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.92);
    transform-origin: bottom right;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1101;
}

.chatbot-wrapper.open .chatbot-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(212, 160, 85, 0.12) 0%, rgba(30, 30, 30, 0.6) 100%);
    border-bottom: 1px solid rgba(212, 160, 85, 0.1);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent);
}

.chatbot-header-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.chatbot-header-status {
    font-size: 0.72rem;
    color: #6fcf6f;
    font-weight: 500;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

/* Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 320px;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 85, 0.2);
    border-radius: 2px;
}

/* Message Bubbles */
.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.55;
    animation: chatMsg 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
    word-break: break-word;
}

@keyframes chatMsg {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-msg--bot {
    align-self: flex-start;
    background: rgba(42, 42, 42, 0.9);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-primary);
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chatbot-typing {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    align-self: flex-start;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    animation: typingDot 1.4s ease-in-out infinite;
}

.chatbot-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Input Area */
.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(18, 18, 18, 0.6);
}

.chatbot-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 30, 30, 0.8);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
    outline: none;
}

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

.chatbot-input:focus {
    border-color: rgba(212, 160, 85, 0.4);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.chatbot-send:hover {
    transform: scale(1.06);
    box-shadow: 0 2px 12px rgba(212, 160, 85, 0.35);
}

/* Suggestions */
.chatbot-suggestions {
    display: flex;
    gap: 6px;
    padding: 8px 14px 12px;
    overflow-x: auto;
    background: rgba(18, 18, 18, 0.4);
    scrollbar-width: none;
}

.chatbot-suggestions::-webkit-scrollbar {
    display: none;
}

.chatbot-suggestion {
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 160, 85, 0.2);
    background: rgba(212, 160, 85, 0.06);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.chatbot-suggestion:hover {
    background: rgba(212, 160, 85, 0.15);
    border-color: rgba(212, 160, 85, 0.35);
    transform: translateY(-1px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.8;
        transform: translateY(80vh) scale(1);
    }

    90% {
        opacity: 0.2;
        transform: translateY(-10vh) scale(0.5);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes spinPlate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 20px 4px var(--accent-glow);
    }
}

/* Stagger animation delays for cards */
.menu-card:nth-child(1) {
    transition-delay: 0s;
}

.menu-card:nth-child(2) {
    transition-delay: 0.12s;
}

.menu-card:nth-child(3) {
    transition-delay: 0.24s;
}

.menu-card:nth-child(4) {
    transition-delay: 0.36s;
}

.menu-card:nth-child(5) {
    transition-delay: 0.48s;
}

.menu-card:nth-child(6) {
    transition-delay: 0.6s;
}

.contact-card:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-card:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 85, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 160, 85, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .menu-card-image {
        width: 180px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
    }

    .hero {
        height: 40vh;
        min-height: 280px;
    }

    .menu-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .sidebar-inner {
        flex-direction: row;
        gap: 8px;
        padding-bottom: 4px;
    }

    .sidebar-item {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .sidebar-item:hover {
        transform: none;
    }

    .menu-content {
        padding: 20px 16px 40px;
    }

    .menu-card {
        flex-direction: column;
    }

    .menu-card-image {
        width: 100%;
        height: 200px;
        min-height: unset;
    }

    .menu-card-info {
        padding: 16px;
    }

    .ven-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .homepage-inner {
        flex-direction: column;
    }

    .homepage-left {
        padding: 40px 24px;
        align-items: center;
        text-align: center;
    }

    .homepage-plates {
        gap: 12px;
    }

    .plate-circle {
        width: 90px;
        height: 90px;
    }

    .homepage-right {
        height: 50vh;
    }

    .category-title-text {
        font-size: 1.3rem;
    }

    /* Chatbot mobile */
    .chatbot-panel {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .chatbot-messages {
        min-height: 0;
        max-height: none;
        flex: 1;
    }

    .chatbot-wrapper.open .chatbot-fab {
        opacity: 0;
        pointer-events: none;
    }

    .scroll-top {
        right: 90px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .hero-title-line {
        font-size: 1.6rem;
    }

    .hero-title-accent {
        font-size: 2rem;
    }

    .menu-card-image {
        height: 180px;
    }

    .menu-card-name {
        font-size: 1rem;
    }
}

/* ============================================
   LANGUAGE OVERLAY
   ============================================ */
.lang-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lang-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lang-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.lang-overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 40px;
    animation: langPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes langPopIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lang-overlay-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: langGlobeFloat 3s ease-in-out infinite;
}

@keyframes langGlobeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.lang-overlay-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.lang-overlay-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.lang-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    font-family: var(--font-body);
}

.lang-option:hover {
    border-color: var(--accent);
    background: rgba(212, 160, 85, 0.08);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(212, 160, 85, 0.15), 0 0 60px rgba(212, 160, 85, 0.06);
}

.lang-option:active {
    transform: translateY(-2px) scale(0.98);
}

.lang-flag {
    font-size: 2.8rem;
    line-height: 1;
}

.lang-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

/* ============================================
   LANGUAGE SWITCHER (Navbar)
   ============================================ */
.lang-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 30, 30, 0.5);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.lang-switcher-btn:hover {
    border-color: rgba(212, 160, 85, 0.3);
    background: rgba(30, 30, 30, 0.8);
}

.lang-switcher-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: rgba(22, 22, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-family: var(--font-body);
    cursor: pointer;
    width: 100%;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.lang-dropdown-item:hover {
    background: rgba(212, 160, 85, 0.1);
    color: var(--text-primary);
}

.lang-dropdown-item.active {
    color: var(--accent);
    font-weight: 600;
}

/* Responsive language overlay */
@media (max-width: 480px) {
    .lang-options {
        flex-direction: column;
        align-items: center;
    }

    .lang-option {
        width: 100%;
        max-width: 240px;
        padding: 24px 32px;
        flex-direction: row;
        gap: 16px;
    }

    .lang-flag {
        font-size: 2rem;
    }

    .lang-overlay-content {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }
}