/* =============================================
   LAV CAFE - ULTRA MODERN WEBSITE 2026
   Style CSS - Complete & Fixed
   ============================================= */

/* ============= CSS VARIABLES ============= */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    
    /* Brand Colors */
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    --card-radius: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.24);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #f8f9fa;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
}

/* ============= RESET & BASE ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

/* ============= CUSTOM CURSOR ============= */
.cursor,
.cursor-follower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor {
    background: #ffffff;
    transition: transform 0.1s;
}

.cursor-follower {
    border: 2px solid #ffffff;
    background: transparent;
    transition: transform 0.3s;
}

/* ============= PRELOADER (FINAL CENTER VERSION) ============= */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #080814 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Content wrapper */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Logo animation wrapper */
.logo-animation {
    margin-bottom: 28px;
    animation: float 3s ease-in-out infinite;
}

/* Logo */
.preloader-logo {
    width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8));
}

/* Floating animation (optical center safe) */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Loading text */
.loading-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 22px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading bar */
.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

/* Loading progress */
.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loadingProgress 1.6s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .preloader-logo {
        width: 96px;
    }

    .loading-text {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .loading-bar {
        width: 160px;
    }
}


/* ============= UTILITIES ============= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* ============= NAVIGATION ============= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

body.dark-mode .navbar.scrolled {
    background: rgba(15, 15, 30, 0.95);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--text-primary);
}

body.dark-mode .navbar:not(.scrolled) .nav-link {
    color: #ffffff;
}

body:not(.dark-mode) .hero-badge {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

body:not(.dark-mode) .hero-title {
    color: var(--text-primary);
}

body:not(.dark-mode) .hero-subtitle {
    color: var(--text-secondary);
}

body:not(.dark-mode) .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .hero-stats {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .stat-label {
    color: var(--text-tertiary);
}

body:not(.dark-mode) .stat-divider {
    background: rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .scroll-indicator {
    color: var(--text-tertiary);
}

body:not(.dark-mode) .mouse {
    border-color: var(--text-tertiary);
}

body:not(.dark-mode) .wheel {
    background: var(--text-tertiary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.navbar:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.theme-toggle:hover {
    background: rgba(102, 126, 234, 0.25);
    transform: rotate(180deg);
}

.btn-reserve {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(102, 126, 234, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

.navbar:not(.scrolled) .hamburger span {
    background: #ffffff;
}

/* ============= HERO SECTION ============= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

body.dark-mode .hero {
    background: linear-gradient(180deg, #0f0f1e 0%, #080814 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f093fb 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

body.dark-mode .hero-badge {
    color: #ffffff;
}

.badge-icon {
    font-size: 1.2rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary);
}

body.dark-mode .hero-title {
    color: #ffffff;
}

.title-line {
    display: block;
    position: relative;
    animation: slideUp 0.8s ease-out backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

body.dark-mode .hero-subtitle {
    color: #a0a0b0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

body.dark-mode .hero-stats {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

body.dark-mode .stat-label {
    color: #a0a0b0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

body.dark-mode .stat-divider {
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-tertiary);
    animation: fadeIn 1s ease-out 1s backwards;
}

body.dark-mode .scroll-indicator {
    color: #a0a0b0;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

body.dark-mode .mouse {
    border: 2px solid #a0a0b0;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

body.dark-mode .wheel {
    background: #a0a0b0;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============= ABOUT SECTION ============= */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    height: 600px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--gradient-primary);
}

/* FOTO FULL */
.image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 30px;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.experience-badge h3 {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    padding: 20px 0;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    padding: 24px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    transition: 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

.opening-hours {
    padding: 30px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: #fff;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

/* ============= MENU SECTION ============= */
.menu {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* FILTER */
.menu-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
}

/* GRID CONTAINER - FIX AGAR MERAPAT SAAT FILTER */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; 
    width: 100%;
}

/* CARD ITEM */
.menu-card {
    /* Lebar kartu untuk 3 kolom */
    width: calc(33.333% - 20px);
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* KUNCI: Agar kartu yang tidak dipilih tidak meninggalkan ruang kosong */
.menu-card.hidden {
    display: none !important;
}

.menu-card:hover {
    transform: translateY(-10px);
}

/* IMAGE - TINGGI DIKURANGI LAGI (KOTAK SEMPURNA) */
.menu-card-image {
    position: relative;
    background: #f4f4f6;
    /* aspect-ratio: 1 / 1 membuat gambar menjadi kotak rapi. 
       Jika ingin lebih pendek lagi dari galeri, gunakan rasio ini. */
    aspect-ratio: 1 / 1; 
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    /* object-fit: cover memastikan gambar tidak gepeng dan memenuhi kotak */
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.menu-card:hover img {
    transform: scale(1.1);
}

/* BADGE */
.menu-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: linear-gradient(45deg, #ff5f9e, #ff8fb3);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* CONTENT */
.menu-card-content {
    padding: 20px; /* Sedikit dikurangi agar lebih compact */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.menu-card-content p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* FOOTER */
.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.85rem;
}

/* RESPONSIVE - 2 KOLOM DI MOBILE */
@media (max-width: 992px) {
    .menu-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .menu-grid {
        gap: 15px;
        padding: 0 10px;
    }
    
    .menu-card {
        width: calc(50% - 8px); /* Tetap 2 kolom agar berjejer rapi */
    }
}

/* ============= HORIZONTAL SCROLL GALLERY ============= */
.gallery-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional, modern look) */
.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.4);
    border-radius: 10px;
}

/* Card */
.gallery-card {
    flex: 0 0 320px;
    height: 420px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #000;
    scroll-snap-align: start;
    position: relative;
    transition: var(--transition-smooth);
}

/* Image */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover effect */
.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0,0,0,0.6)
    );
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) {
    .gallery-card {
        flex: 0 0 260px;
        height: 360px;
    }
}


/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item.large,
    .gallery-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

body.dark-mode .testimonials {
    background: var(--bg-primary);
}

.testimonials .section-header .section-title,
.testimonials .section-header .section-badge {
    color: var(--text-primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 40px;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
}

body.dark-mode .testimonial-card {
    background: var(--bg-tertiary);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

body.dark-mode .testimonial-card:hover {
    background: var(--bg-primary);
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ============= CONTACT SECTION ============= */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 30px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}

.info-card:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    padding: 30px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: #ffffff;
}

.social-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.1);
}

.contact-map {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2);
}

/* ============= FOOTER ============= */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .footer {
    background: #0f0f1e;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

body.dark-mode .footer-desc {
    color: #a0a0b0;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

body.dark-mode .footer-section h4 {
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

body.dark-mode .footer-links a {
    color: #a0a0b0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

body.dark-mode .footer-links a:hover {
    color: var(--primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

body.dark-mode .footer-section p {
    color: #a0a0b0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

body.dark-mode .newsletter-form input {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: rgba(102, 126, 234, 0.3);
}

.newsletter-form input::placeholder {
    color: #a0a0b0;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .newsletter-form input:focus {
    background: var(--bg-secondary);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0a0b0;
    font-size: 0.9rem;
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(102, 126, 234, 0.2);
    color: var(--text-tertiary);
}

.footer-bottom i {
    color: #e74c3c;
    margin: 0 5px;
}

/* ============= BACK TO TOP ============= */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 60px rgba(102, 126, 234, 0.6);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: left 0.3s;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-reserve {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-filter {
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.tall,
    .gallery-item.wide {
        grid-row: span 1;
        grid-column: span 1;
        height: 300px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ============= SCROLL REVEAL ============= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);

}
