/* ============================================
   YUWANA COFFEE & EATERY - MODERN 2026 DESIGN
   ============================================ */

/* CSS Variables */
:root {
    /* Light Theme Colors */
    --primary: #8B4513;
    --primary-dark: #5C2E0A;
    --accent: #D4AF37;
    --accent-light: #F4E4C1;
    
    --bg-primary: #FDFBF7;
    --bg-secondary: #F8F6F1;
    --bg-tertiary: #FFFFFF;
    
    --text-primary: #2C1810;
    --text-secondary: #6B5649;
    --text-muted: #9D8B7E;
    
    --border: rgba(139, 69, 19, 0.1);
    --shadow: rgba(44, 24, 16, 0.08);
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #8B4513 0%, #D4AF37 100%);
    --gradient-2: linear-gradient(135deg, #F4E4C1 0%, #FDFBF7 100%);
    --gradient-hero-like: linear-gradient(45deg, #FDFBF7 0%, #F4E4C1 50%, #D4AF37 100%);
    --gradient-orb: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary: #D4AF37;
    --primary-dark: #B8962E;
    --accent: #8B4513;
    --accent-light: #5C2E0A;
    
    --bg-primary: #1A1410;
    --bg-secondary: #241E19;
    --bg-tertiary: #2E2620;
    
    --text-primary: #F8F6F1;
    --text-secondary: #C8BCB0;
    --text-muted: #9D8B7E;
    
    --border: rgba(212, 175, 55, 0.15);
    --shadow: rgba(0, 0, 0, 0.3);
    
    --gradient-orb: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 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;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    z-index: 10000;
    transition: opacity 0.3s ease, transform 0.15s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    opacity: 0.5;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-like); /* Gradasi seperti Hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 150px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8; 
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 20, 16, 0.8);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: block;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: none;
    border: none;
    text-align: center;
    overflow: hidden;
    width: 340px;
    height: 340px;
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-image {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.floating-card p {
    color: var(--text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(40px);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* GRID UTAMA */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ================= LEFT TEXT ================= */
.about-text .lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================= STATS ================= */
.stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 1.2rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    min-width: 110px;
}

.stat-item h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* ================= RIGHT FEATURES ================= */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FEATURE CARD (SEJAJAR & STABIL) */
.feature-card {
    display: flex;
    align-items: center; /* ✅ FIX ICON NAIK KE ATAS */
    gap: 1rem;

    background: var(--bg-tertiary);
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px var(--shadow);
}

/* ICON */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
}

/* TEXT DI DALAM CARD */
.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-wrap: wrap;
    }
}




/* ============================================
   MENU SECTION
   ============================================ */
.menu {
    background: var(--gradient-hero-like);
}
.menu-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.menu-item.featured {
    background: var(--gradient-2);
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== GAMBAR MENU (SANGAT BESAR) ===== */
.menu-item-image {
    width: 100%;
    height: 360px;              /* BESAR (DESKTOP) */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ====================================== */

.menu-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-item.hide {
    display: none;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .menu-item-image {
        height: 280px;          /* BESAR DI HP */
    }
}


/* ============================================
   GALLERY SECTION (HORIZONTAL SCROLL)
   ============================================ */
.gallery {
    background: var(--bg-secondary);
}





.gallery-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.gallery-grid.dragging {
    cursor: grabbing;
}

.gallery-item {
    /* Show three items per view on desktop (with small gaps) */
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: 360px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all var(--transition-base);
}

/* Keep large/wide same size to make all images uniform */
.gallery-item.large,
.gallery-item.wide {
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: 360px;
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 10;
}



/* Menu columns (stacked: makanan above minuman) */
.menu-columns {
    display: block;
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}

.menu-column {
    margin-bottom: 2rem;
}

.menu-column .menu-subtitle {
    /* Larger, centered category titles */
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
    letter-spacing: 0.6px;
}

.drinks-grid, .foods-grid, .snacks-grid, .desserts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}  

@media (max-width: 1024px) {
    .drinks-grid, .foods-grid, .snacks-grid, .desserts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}  

@media (max-width: 768px) {
    .gallery-item {
        /* Two items per view on smaller screens */
        flex: 0 0 calc((100% - 1rem) / 2);
        max-width: none;
    }
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-placeholder {
    background: var(--bg-secondary);
}

.gallery-icon {
    font-size: 3rem;
}

.gallery-placeholder p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--gradient-hero-like);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center; /* Diubah dari start menjadi center */
}

.info-group {
    margin-bottom: 2.5rem;
}

.info-group h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-group p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.contact-map {
    height: 450px; /* Tinggi tetap untuk peta */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 0 0 10px 10px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h2 {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px var(--shadow);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.footer-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: center; /* Diubah dari space-between menjadi center */
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center; /* Menengahkan teks */
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Keep horizontal scroll on medium screens */
    .gallery-grid {
        gap: 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-tertiary);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px var(--shadow);
        transition: left var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
/* Make gallery items adapt on small screens (two-per-view) */
    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item {
        flex: 0 0 calc((100% - 1rem) / 2);
    }

    .gallery-item.large,
    .gallery-item.wide {
        flex: 0 0 calc((100% - 1rem) / 2);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   COFFEE STEAM ANIMATION
   ============================================ */
.coffee-steam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.coffee-steam-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5); /* White steam */
    border-radius: 50%;
    animation: steam-animation 6s infinite ease-out;
}

@keyframes steam-animation {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}

/* ============================================
   COFFEE BEAN ANIMATION
   ============================================ */
.coffee-bean-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -2; /* Behind section content */
}

.coffee-bean-particle {
    position: absolute;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjcwIiB2aWV3Qm94PSIwIDAgMTAwIDcwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTIwKSI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJjb2ZmZWVCZWFuR3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI0UwQjQ4QiIvPjxzdG9wIG9mZnNldD0iMjAlIiBzdG9wLWNvbG9vcj0iI0MyOEJ1NUEiLz48c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iI0EwNzg1QSIvPjxzdG9wIG9mZnNldD0iNjAlIiBzdG9wLWNvbG9vcj0iIzg1QTJCIi8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiM2RjRFMzciLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0QTJDMUIiLz48L3JhZGlhbEdyYWRpZW50PjwvZGVmcz48ZWxsaXBzZSBjeD0iNTAiIGN5PSI1MCIgcng9IjQ1IiByeT0iMzAiIGZpbGw9InVybCgjY29mZmVlQmVhblByYWRpZW50KSIvPjwvZz48L3N2Zz4=");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    animation: coffee-bean-float 15s infinite linear;
}

@keyframes coffee-bean-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    100% {
        transform: translate(calc(var(--start-x) * 1px), calc(var(--start-y) * 1px)) rotate(calc(var(--end-rot) * 1deg));
        opacity: 0;
    }
}

/* Set stacking context for sections that need coffee bean background */
.about, .menu, .gallery, .contact {
    position: relative;
    z-index: auto; /* Or any value > -2 */
}

/* New: Animated Coffee Beans Background */
.animated-coffee-beans-bg {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjcwIiB2aWV3Qm94PSIwIDAgMTAwIDcwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTIwKSI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJjb2ZmZWVCZWFuR3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI0UwQjQ4QiIvPjxzdG9wIG9mZnNldD0iMjAlIiBzdG9wLWNvbG9vcj0iI0MyOEJ1NUEiLz48c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iI0EwNzg1QSIvPjxzdG9wIG9mZnNldD0iNjAlIiBzdG9wLWNvbG9vcj0iIzg1QTJCIi8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiM2RjRFMzciLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0QTJDMUIiLz48L3JhZGlhbEdyYWRpZW50PjwvZGVmcz48ZWxsaXBzZSBjeD0iNTAiIGN5PSI1MCIgcng9IjQ1IiByeT0iMzAiIGZpbGw9InVybCgjY29mZmVlQmVhblByYWRpZW50KSIvPjwvZz48L3N2Zz4=");
    background-repeat: repeat;
    background-size: 80px 56px; /* Adjust size of each bean */
    animation: moveCoffeeBeans 60s linear infinite; /* Slow, continuous movement */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2; /* Subtle opacity */
    z-index: -1; /* Ensure it's in the background */
    pointer-events: none;
}

@keyframes moveCoffeeBeans {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 1000px; /* Move diagonally */
    }
}