/* Galeri Kopi - Elegant Color Scheme: White, Black, Gold, Brown */

:root {
    --color-primary: #D4AF37; /* Gold */
    --color-secondary: #663333; /* Dark Brown/Maroon */
    --color-dark: #1a1a1a; /* Black */
    --color-light: #f5f5f5; /* Light Gray/White */
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* --- TAMBAHAN KHUSUS UNTUK DESAIN BARU HOMEPAGE --- */

/* Global Home Styling */
.home-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary); /* Warna Emas */
    text-transform: uppercase;
    margin: 40px 0 20px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

/* 1. Hero Banner Slider (Top) */
.hero-banner-wrapper {
    position: relative;
    max-width: 1200px; /* Lebar diperbesar agar lega */
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px; /* Radius sudut */
    background-color: #f9f9f9; /* Warna background slide */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hero-banner-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.hero-banner-slider::-webkit-scrollbar {
    display: none;
}

.hero-banner-slide {
    min-width: 100%;
    flex-shrink: 0; /* PENTING agar tidak gepeng */
    scroll-snap-align: center;
    display: flex; /* Layout Flexbox (Kiri-Kanan) */
    align-items: center; /* Vertikal Center */
    justify-content: space-between;
    height: 450px; /* Tinggi fix banner */
    padding: 0 50px; /* Padding kiri kanan */
    box-sizing: border-box;
    background-image: url('../images/texture-bg.png'); /* Opsional: Texture background tipis */
    background-size: cover;
}

.banner-text {
    flex: 1; /* Mengambil 50% ruang */
    padding-right: 40px;
    text-align: left;
}

.banner-title {
    font-size: 55px;
    font-weight: 900;
    color: #0e4d38; /* Warna Hijau Tua (Sesuai contoh 'Grind The Essentials') atau ganti var(--color-primary) */
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: capitalize; /* Huruf besar awal kata */
}

.banner-image-box {
    flex: 1; /* Mengambil 50% ruang */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-image-box img {
    max-width: 100%;
    max-height: 350px; /* Batas tinggi gambar agar tidak terlalu besar */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); /* Efek bayangan pada gambar PNG/Transparan */
}
.banner-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 90%;
    
}

.placeholder-banner {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.hero-banner-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* 2. Hero Text & Buttons */
.home-branding {
    text-align: center;
    padding: 20px;
}

.home-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.home-subtitle {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    margin-bottom: 25px;
    font-style: italic;
}

.home-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.btn-home {
    background-color: var(--color-primary); /* Emas */
    color: white;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 8px; /* Sudut sedikit membulat tapi kotak */
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
    border: none;
}

.btn-home:hover {
    background-color: #b89628;
    transform: translateY(-2px);
    color: white;
}

/* 3. General Slider Styles (Gallery, Facility) */
.home-slider-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 40px; /* Space for arrows */
}

.home-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.home-slider::-webkit-scrollbar {
    display: none;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: white;
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

/* Specific: Gallery (2 items per view based on image) */
.gallery-card-home {
    min-width: calc(50% - 10px); /* 2 items */
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: #ccc;
    aspect-ratio: 16/9;
}

.gallery-card-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card-home:hover img {
    transform: scale(1.05);
}

/* Specific: Events (3 items grid/slider) */
.events-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.event-home-card {
    background: #ccc;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.event-home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific: Facility (3 items slider) */
.facility-card-home {
    min-width: calc(33.333% - 10px); /* 3 items */
    scroll-snap-align: start;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    text-align: center;
}

.facility-img-wrapper {
    width: 100%;
    height: 150px;
    background: #eee;
}

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

.facility-title-home {
    padding: 10px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: black;
}

/* 4. Location & Info Box */
.location-wrapper {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.map-frame {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #ddd;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.map-address {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #ddd;
    max-width: 90%;
    margin: 5px auto 20px; /* Overlap map slightly */
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-boxes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.info-box-pill {
    background: white;
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    max-width: 350px;
}

.info-box-title {
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: black;
}

.info-box-text {
    font-size: 12px;
    color: #666;
}

/* Responsive Styling for Mobile */
@media (max-width: 768px) {

        .hero-banner-slide {
        flex-direction: column-reverse; /* Gambar di atas, Teks di bawah */
        height: auto;
        padding: 30px 20px;
        text-align: center;
        justify-content: center;

    }

        .banner-text {
        padding-right: 0;
        padding-top: 20px;
        text-align: center;
    }

    .banner-title {
        font-size: 55px;
    }

    .banner-image-box img {
        max-height: 200px; /* Perkecil gambar di HP */
    }
    
    .slider-arrow {
        top: auto;
        bottom: 10px; /* Pindah tombol ke bawah di HP jika perlu */
    }
    .home-title { font-size: 32px; }
    .btn-home { padding: 10px 30px; font-size: 16px; }
    
    .gallery-card-home { min-width: 85%; } /* 1 item on mobile */
    .events-home-grid { grid-template-columns: 1fr; }
    .facility-card-home { min-width: 60%; } /* 1.5 items on mobile */
    
    .info-boxes-container { flex-direction: column; align-items: center; }
    .info-box-pill { width: 100%; }
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Make sure all content containers are responsive */
section, article, aside, nav {
    box-sizing: border-box;
}

/* Header Styles */
.header {
    /* Warna background gelap sesuai gambar (Coklat Tua Gelap) */
    background-color: #3E2723; /* Bisa disesuaikan dengan var(--color-secondary) */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 100%;
    z-index: 1000;
}

.navbar {
    background-color: transparent; /* Ikut warna header */
    padding: 10px 0; /* Padding atas bawah header */
}

/* Wrapper Flexbox Utama */
.navbar-wrapper {
    display: flex;
    justify-content: space-between; /* PENTING: Logo kiri, Menu kanan */
    align-items: center; /* Vertikal center */
    width: 100%;
}


.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1101; /* Agar logo tetap bisa diklik di mobile */
}

.navbar-logo img {
    height: 60px; /* Sesuaikan tinggi logo agar pas di header */
    width: auto;
    object-fit: contain;
    /* Filter agar logo hitam jadi putih jika perlu (opsional) */
    /* filter: brightness(0) invert(1); */ 
}


.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; /* Jarak antar menu */
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800; /* Font tebal sesuai gambar */
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #D4AF37; /* Warna Emas saat aktif */
}

.nav-menu a.active {
    color: var(--color-primary);
}

/* Tombol Hamburger (baru) */
.nav-toggle {
    display: none; /* Sembunyi di desktop */
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 28px; /* Sedikit diperbesar dari 25px */
    height: 3.5px; /* Sedikit dipertebal dari 3px */
    background-color: var(--color-white);
    border-radius: 3px;
    transition: transform 0.3s ease;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    transform: translateY(-8px); /* Menambah jarak antar garis */
}
.hamburger::after {
    transform: translateY(8px); /* Menambah jarak antar garis */
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(102, 51, 51, 0.1) 100%);
    padding: 80px 20px;
    text-align: center;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="wave" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,30 50,50 T100,50" stroke="rgba(212,175,55,0.1)" fill="none" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23wave)"/></svg>');
}

.hero-title {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 30px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-claim {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    padding: 10px 20px;
}

.btn-claim:hover {
    background-color: #4a2525;
}

/* Page Main Title */
.page-main-title {
    text-align: center;
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-size: 20px;
}

/* Info Section */
.info-section {
    padding: 60px 0;
    background-color: var(--color-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.info-card h3 {
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.whatsapp-link {
    color: var(--color-secondary);
    text-decoration: none;
}

.whatsapp-link:hover {
    color: var(--color-primary);
}

/* Menu Section */
.menu-section {
    padding: 40px 0;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.category-tab:hover,
.category-tab.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item-card {
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.menu-item-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--color-light);
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.facility-row-info {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.menu-item-info {
    padding: 20px;
}

.menu-item-name {
    color: var(--color-secondary);
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.menu-item-price {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.menu-item-description {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Events Section */
.events-section {
    padding: 40px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.event-card:active {
    transform: translateY(-2px);
}

.event-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

.event-content {
    padding: 25px;
}

.event-date {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.event-title {
    color: var(--color-secondary);
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-description {
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-terms {
    background-color: var(--color-light);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.event-terms strong {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 10px;
}

.claim-form {
    margin-top: 20px;
}

/* Event Modal Popup */
.event-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.event-modal-overlay.active {
    display: flex;
}

.event-modal {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.event-modal-close:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

.event-modal-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
    border-radius: 15px 15px 0 0;
}

.event-modal-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: contain;
}

.event-modal-content {
    padding: 30px;
}

.event-modal-date {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-modal-title {
    color: var(--color-secondary);
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.event-modal-description {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    white-space: pre-line;
}

.event-modal-terms {
    background-color: var(--color-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--color-primary);
}

.event-modal-terms strong {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    text-transform: uppercase;
}

.event-modal-terms div {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}

.event-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.event-modal-actions .btn {
    padding: 12px 25px;
}

/* Responsive Event Modal */
@media (max-width: 768px) {
    .event-modal {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .event-modal-content {
        padding: 20px;
    }
    
    .event-modal-title {
        font-size: 24px;
    }
    
    .event-modal-image img {
        max-height: 250px;
    }
    
    .event-modal-actions {
        flex-direction: column;
    }
    
    .event-modal-actions .btn {
        width: 100%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0;
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.gallery-tab:hover,
.gallery-tab.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    background-color: var(--color-light);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Facility Section */
.facility-section {
    padding: 40px 0;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* Tidak ada jarak antar row agar rapat seperti referensi */
    max-width: 1000px;
    margin: 0 auto;
}

.facility-row {
    display: flex;
    flex-direction: row;
    background-color: white;
    min-height: 300px; /* Tinggi minimum tiap baris */
    width: 100%;
    margin-bottom: 20px; /* Jarak antar fasilitas */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.facility-row-title {
    font-size: 36px; /* Ukuran font besar sesuai referensi */
    font-weight: 900; /* Sangat tebal */
    color: #D4AF37; /* Warna Emas */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.facility-row-desc {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* --- RESPONSIVE FACILITY (MOBILE FIX) --- */
@media (max-width: 768px) {
    /* 1. Reset Container Utama */
    .facilities-list {
        gap: 20px; /* Beri jarak antar kartu di mobile */
        padding: 0 15px;
    }

    /* 2. Paksa semua baris menjadi kolom (Atas-Bawah) */
    /* Kita gunakan !important untuk memastikan override layout zig-zag desktop */
    .facility-row,
    .facility-row:nth-child(even) {
        flex-direction: column !important; 
        height: auto;
        margin-bottom: 0;
        border-radius: 10px; /* Tambahkan radius agar rapi di mobile */
        overflow: hidden; /* Agar gambar tidak keluar border */
    }

    /* 3. Atur Gambar agar selalu di atas dan ukurannya pas */
    .facility-row-image {
        width: 100%;
        height: 200px; /* Tinggi gambar fix di HP */
        flex: none; /* Matikan flex basis agar tinggi fix bekerja */
    }

    /* 4. Atur Bagian Teks */
    .facility-row-info {
        width: 100%;
        padding: 20px 15px;
        flex: none;
        min-height: auto; /* Reset tinggi minimum */
    }

    /* 5. Kecilkan sedikit font judul di HP */
    .facility-row-title {
        font-size: 24px;
        margin-top: 5px; /* Jarak sedikit dari atas */
    }
}

.facility-row:nth-child(even) {
    flex-direction: row-reverse;
}

.facility-row-image {
    flex: 1.5; 
    position: relative;
    overflow: hidden;
}

.facility-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar full tanpa gepeng */
    display: block;
    transition: transform 0.5s ease;
}

.facility-row:hover .facility-row-image img {
    transform: scale(1.05); /* Efek zoom sedikit saat hover */
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--color-light);
}

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

.facility-info {
    padding: 20px;
    text-align: center;
    background-color: var(--color-dark);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.facility-name {
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.facility-description {
    color: var(--color-light);
    font-size: 14px;
}

/* About Hero Section */
.about-hero-section {
    padding: 60px 0;
    background-color: #F5F1E8;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story-section {
    padding: 80px 0; /* Padding atas-bawah lebih besar */
}

.about-section-title {
    font-size: 42px;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.about-section-subtitle {
    color: var(--color-primary);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-separator {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: 25px;
}

.about-description {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 16px;
}

.about-description p {
    margin-bottom: 15px;
}

/* Vision Mission Section */
.vision-mission-section {
    padding: 60px 0;
    background-color: #F5F1E8;
        overflow: hidden;
}

/* Container per baris */
.vm-row {
    display: flex;
    align-items: center; /* Vertikal center */
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px; /* Jarak antar row */
}

/* Kolom Judul (OUR VISION / OUR MISSION) */
.vm-title-col {
    flex: 1; /* Mengambil 1 bagian ruang */
    display: flex;
    justify-content: center; /* Center judul di area-nya */
}

.vm-title {
    font-size: 100px; /* Ukuran Font Besar */
    font-weight: 900;
    color: #D4AF37; /* Warna Emas */
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap; /* Mencegah teks judul turun baris */
}

/* Kolom Teks */
.vm-text-col {
    flex: 2; /* Mengambil 2 bagian ruang (Lebih lebar dari judul) */
}

.vm-text {
    font-size: 25px;
    line-height: 1.8;
    color: #333;
}

/* Styling khusus List Mission agar bersih tanpa bullet default */
.mission-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right; /* Teks Misi Rata Kanan (Sesuai Gambar) */
}

.mission-list-clean li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .vm-row {
        flex-direction: column; /* Tumpuk ke bawah */
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    /* Khusus Row Mission, kita balik urutannya di Mobile */
    /* Agar Judul "OUR MISSION" tetap di atas teksnya */
    .vm-row.vm-reverse {
        flex-direction: column-reverse; 
    }

    .vm-title {
        font-size: 36px; /* Kecilkan sedikit di HP */
    }

    .vm-text, 
    .mission-list-clean {
        text-align: center; /* Teks rata tengah di HP */
    }
    
    .vm-title-col, .vm-text-col {
        flex: auto;
        width: 100%;
    }
}

/* Crew Section */
.crew-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.crew-card {
    text-align: center;
}

.crew-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.crew-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--color-text-light);
    font-weight: bold;
}

.crew-info {
    background-color: var(--color-white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: -10px;
}

.crew-name {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.crew-position {
    color: var(--color-text);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

/* Cafe Location Section */
.cafe-location-section {
    padding: 60px 0;
    background-color: #F5F1E8;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.location-address {
    text-align: center;
    padding: 20px;
}

.address-text {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Location Section */
.location-section {
    padding: 60px 0;
    background-color: var(--color-light);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.location-info {
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 10px;
}

.location-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.location-info a {
    color: var(--color-secondary);
    text-decoration: none;
}

.location-info a:hover {
    color: var(--color-primary);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- NEW FOOTER STYLE (SESUAI GAMBAR) --- */

.footer {
    background-color: #D4AF37 !important; /* Warna Emas Solid */
    color: #ffffff !important;
    padding: 40px 0;
    margin-top: 60px;
    font-family: var(--font-primary);
}

.footer-content-new {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertikal center */
    flex-wrap: wrap;
    gap: 40px;
}

/* Kolom Umum */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* 1. Kolom Brand (Kiri) */
.brand-col {
    text-align: center; /* Sesuai gambar terlihat agak center/kiri */
}

.brand-col h2 {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #ffffff;
    letter-spacing: 1px;
}

.brand-col .tagline {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* 2. Kolom Tengah (Social & Jam) */
.social-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.social-icons-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icon-new {
    color: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-new svg {
    width: 32px; /* Ukuran icon */
    height: 32px;
    stroke-width: 2.5;
}

.social-icon-new:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.operating-hours {
    font-size: 14px;
    font-weight: 700;
}

/* 3. Kolom Alamat (Kanan) */
.address-col {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-content-new {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }


    
    .footer-col {
        width: 100%;
        text-align: center; /* Paksa semua center di HP */
    }
    
    .address-col {
        text-align: center;
        padding: 0 20px;
    }

    .brand-col h2 {
        font-size: 28px;
    }
}

/* Responsive Design */

/* Tablet and Medium Devices */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }

    .nav-menu a {
        font-size: 16px;
    }

    .container {
        max-width: 900px;
        padding: 0 30px;
    }

    .about-hero-content {
        gap: 40px;
    }

    .vision-mission-content {
        gap: 50px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

        .navbar-wrapper {
        /* Di mobile tetap space-between (Logo kiri, Hamburger kanan) */
        justify-content: space-between;
    }

        .navbar-logo img {
        height: 45px; /* Logo lebih kecil di HP */
    }

    .nav-menu {
        justify-content: center;
        gap: 25px;
        padding: 0 15px;
    }

    .nav-menu a {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .page-main-title {
        font-size: 36px;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-hero-image {
        height: 350px;
    }

    .about-content,
    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-section {
        text-align: left;
    }
    
    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .crew-image {
        width: 160px;
        height: 160px;
    }
    
    .about-section-title {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-info {
        text-align: center;
    }

    .menu-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

/* Featured Coffee Section */
.featured-coffee-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.coffee-slider-wrapper {
    position: relative;
}

.coffee-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.coffee-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.coffee-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: flex; /* Change to flexbox */
    gap: 40px;
    align-items: center;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 15px;
    /* Card-like appearance without a visible border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.coffee-slide:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.coffee-slide-info {
    text-align: left;
    flex: 1; /* Allow info to take available space */
}

.coffee-slide-name {
    font-size: 36px; /* Slightly smaller */
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.coffee-slide-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.coffee-slide-image {
    width: 250px; /* Smaller width */
    height: 250px; /* Smaller height */
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; /* Prevent image from shrinking */
    border: 5px solid var(--color-primary);
}

.coffee-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Featured Coffee */
@media (max-width: 768px) {
    .coffee-slide {
        flex-direction: column; /* Stack on smaller screens */
        text-align: center;
    }
    .coffee-slide-info {
        order: 2; /* Move text below image */
    }
    .coffee-slide-image {
        order: 1;
        width: 200px;
        height: 200px;
    }
    .coffee-slide-name {
        font-size: 28px;
    }
    .slider-nav.prev {
        left: 10px;
    }
    .slider-nav.next {
        right: 10px;
    }

        .nav-toggle {
        display: block; /* Munculkan tombol hamburger */
        position: static; /* Reset posisi absolute lama */
        transform: none;
    }
}


    /* --- Navigasi Responsif (Perubahan Besar) --- */
    .nav-toggle {
        display: block; /* Tampilkan tombol hamburger */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #3E2723; /* Samakan dengan header */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start; /* Rata kiri di menu mobile */
        padding: 80px 30px;
        gap: 25px;
        transition: right 0.4s ease-in-out;
        z-index: 1050;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    
    .nav-menu.active {
        right: 0; /* Tampilkan menu */
    }

    .nav-menu a {
        font-size: 18px;
    }

    /* Animasi ikon hamburger menjadi 'X' */
    .nav-toggle.active .hamburger {
        background-color: transparent; /* Sembunyikan garis tengah */
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg); /* Putar garis atas menjadi / */
        background-color: var(--color-primary);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg); /* Putar garis bawah menjadi \ */
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    /* Aturan .nav-menu a sudah diatur di media query 768px, tidak perlu duplikasi di sini */
    .nav-toggle {
        right: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 50px 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .page-main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .main-content {
        padding: 30px 0;
    }

    .about-hero-content {
        gap: 30px;
    }
    
    .about-hero-image {
        height: 250px;
        border-radius: 10px;
    }

    .about-section-title {
        font-size: 28px;
    }

    .about-section-subtitle {
        font-size: 16px;
    }

    .vision-mission-content {
        gap: 30px;
    }

    .vision-text,
    .mission-list {
        font-size: 14px;
    }

    .crew-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .crew-image {
        width: 140px;
        height: 140px;
    }

    .crew-name {
        font-size: 18px;
    }

    .crew-position {
        font-size: 13px;
    }

    .menu-grid,
    .gallery-grid,
    .facilities-grid {
        grid-template-columns: 1fr; /* Tetap 1 kolom untuk event dan fasilitas */
        gap: 20px;
    }

    .menu-grid,
    .events-grid,
    .gallery-grid,
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr); /* Diubah menjadi 2 kolom sesuai permintaan */
        gap: 15px; /* Gap sedikit dikurangi agar pas */
    }

    /* Penyesuaian kartu menu di mobile agar persegi dan teks lebih kecil */
    .menu-item-image {
        height: auto;
        aspect-ratio: 1 / 1; /* Membuat gambar menjadi persegi */
    }

    .menu-item-info {
        padding: 12px; /* Mengurangi padding agar lebih ringkas */
    }

    .menu-item-name {
        font-size: 14px; /* Memperkecil font nama menu */
        margin-bottom: 5px;
    }

    .menu-item-price {
        font-size: 16px; /* Memperkecil font harga */
    }

    /* Penyesuaian kartu event di mobile agar persegi dan teks lebih kecil */
    .event-image {
        height: auto;
        aspect-ratio: 1 / 1; /* Membuat gambar menjadi persegi */
    }

    .event-content {
        padding: 12px; /* Mengurangi padding */
    }

    .event-title {
        font-size: 14px; /* Memperkecil font judul event */
        margin-bottom: 5px;
    }

    .event-description {
        display: none; /* Sembunyikan deskripsi di tampilan grid kecil */
    }

    .features-grid,
    .info-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-item-card,
    .event-card,
    .facility-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .menu-categories {
        gap: 10px;
        margin-bottom: 30px;
    }

    .category-tab {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Event Popup Styles */
.event-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.event-popup-overlay.active {
    display: flex;
}

.event-popup-modal {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.event-popup-close:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

.event-popup-title {
    text-align: center;
    color: var(--color-primary);
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 30px 30px 0 30px;
}

.event-popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 30px;
}

.event-popup-card {
    background-color: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.event-popup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.event-popup-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: var(--color-white);
}

.event-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-popup-content {
    padding: 15px;
}

.event-popup-date {
    color: var(--color-text-light);
    font-size: 12px;
    margin-bottom: 8px;
}

.event-popup-event-title {
    color: var(--color-secondary);
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
}

.event-popup-description {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.4;
}

.event-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px 30px;
    border-top: 1px solid var(--color-light);
}

.no-events-popup {
    text-align: center;
    padding: 40px;
    color: var(--color-text-light);
    font-size: 16px;
}

/* Responsive Event Popup */
@media (max-width: 768px) {
    .event-popup-modal {
        max-width: 95%;
        max-height: 95vh;
    }

    .event-popup-title {
        font-size: 24px;
        padding: 20px 20px 0 20px;
    }

    .event-popup-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .event-popup-actions {
        flex-direction: column;
        padding: 20px;
    }

    .event-popup-actions .btn {
        width: 100%;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .nav-menu {
        gap: 12px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .page-main-title,
    .section-title,
    .about-section-title {
        font-size: 24px;
    }

    .about-hero-image {
        height: 200px;
    }

    .crew-image {
        width: 120px;
        height: 120px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .nav-menu {
        gap: 50px;
    }

    .nav-menu a {
        font-size: 20px;
    }
}


/* --- NEW ABOUT PAGE STYLING (MATCHING REFERENCE) --- */

/* 1. Global Page Style */
.about-page body, 
.about-container {
    background-color: #E4E0D5 !important; /* Warna dasar cream seperti di gambar */
    color: #333;
}

.about-section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: #D4AF37;
    margin: 50px 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. Our Story Section */
.about-story-section {
    padding: 60px 0 40px;
}

.story-grid {
    display: flex;
    align-items: center; /* PENTING: Membuat Teks rata tengah secara vertikal terhadap gambar */
    gap: 60px; /* Jarak antara gambar dan teks diperlebar */
}

.story-image-col {
    flex: 0 0 45%; /* Gambar mengambil 45% lebar container */
    position: relative;
}

.story-banner-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.15); /* Shadow lebih lembut */
    transform: rotate(-3deg); /* Rotasi sedikit lebih artistik */
    transition: transform 0.5s ease;
}

.story-banner-img:hover {
    transform: rotate(0deg); /* Efek interaktif: lurus saat di-hover */
}

.story-text-col {
    flex: 1; /* Teks mengambil sisa ruang */
    padding-right: 20px; /* Memberi sedikit ruang di kanan */
}

.about-main-title {
    font-size: 72px; /* DIPERBESAR dari 48px */
    font-weight: 900;
    color: #D4AF37; 
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.story-line {
    width: 120px; /* Garis lebih panjang */
    height: 6px;  /* Garis lebih tebal */
    background-color: #666; 
    margin: 25px 0; /* Jarak atas bawah garis lebih lega */
    border-radius: 3px;
}

.story-subtitle {
    font-size: 24px; /* DIPERBESAR */
    color: #D4AF37;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}
.story-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.story-desc p {
    font-size: 18px; /* Font paragraf DIPERBESAR agar enak dibaca */
    line-height: 2; /* Jarak antar baris diperlebar (lebih lega) */
    color: #333;
    text-align: left; /* Rata kiri biasanya lebih enak dibaca untuk tipografi besar */
    margin: 0;
}

/* 3. Vision & Mission */
.vision-mission-section {
    padding: 20px 0;
}

.vm-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.vm-col {
    flex: 1;
}

.vm-title {
    font-size: 80px; /* SEBELUMNYA 48px, KITA UBAH JADI 80px AGAR BESAR */
    font-weight: 900;
    color: #D4AF37;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px; /* Tambah spacing sedikit agar elegan */
    line-height: 1; /* Rapatkan baris agar tidak terlalu tinggi */
}

.text-right {
    text-align: right; /* Judul Misi rata kanan seperti gambar */
}

.vm-text {
    font-size: 25px;
    line-height: 1.6;
    text-align: justify;
}

.mission-list-new {
    list-style: none;
    padding: 0;
    text-align: right; /* List rata kanan */
}

.mission-list-new li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

/* 4. Crew Section (Capsule Style) */
.crew-section-new {
    padding: 40px 0;
}

.crew-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsif */
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.crew-card-new {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crew-img-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2; /* Di atas kotak nama */
    margin-bottom: -20px; /* Overlap ke kotak nama */
    background: #ccc;
}

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

.crew-info-box {
    background: #fff;
    padding: 30px 20px 15px; /* Padding atas lebih besar utk kompensasi overlap */
    border-radius: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.crew-name-new {
    font-size: 18px;
    font-weight: 800;
    color: #D4AF37;
    margin: 0;
    text-transform: uppercase;
}

.crew-role-new {
    font-size: 12px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
}

/* 5. Our Cafe Location */
.cafe-location-new {
    padding-bottom: 60px;
}

.cafe-map-card {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.map-embed-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #eee;
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cafe-address-box {
    font-size: 14px;
    font-weight: 600;
    padding: 0 20px 10px;
    color: #333;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .story-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .story-image-col {
        flex: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

        .story-banner-img {
        transform: rotate(0deg); /* Di HP lurus saja biar rapi */
    }

        .about-main-title {
        font-size: 48px; /* Di HP jangan terlalu besar */
    }


    .story-line {
        margin: 20px auto; /* Center garis di HP */
    }
    .story-subtitle {
        font-size: 20px; /* Sedikit kecilkan di HP */
        margin-bottom: 20px;
    }
    .story-desc { text-align: center; }

        .story-desc p {
        text-align: center; /* Center teks di HP */
        font-size: 16px;
    }
    
    .vm-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .mission-list-new, .text-right {
        text-align: left; /* Reset ke kiri di HP */
    }

    .crew-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom di HP */
        gap: 20px;
    }
    
    .crew-img-circle {
        width: 100px;
        height: 100px;
    }
    
    .crew-name-new { font-size: 14px; }
    .crew-role-new { font-size: 10px; }
}

/* --- ELEGANT GALLERY STYLES --- */

/* Background Halaman Galeri */
.gallery-page-bg {
    background-color: #e0e0e0; /* Abu-abu muda seperti di gambar */
    min-height: 100vh;
}

/* Wrapper Putih di belakang Grid */
.gallery-wrapper {
    background-color: #ffffff;
    padding: 10px; /* Frame putih tipis di luar */
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

/* Grid Layout 2 Kolom */
.gallery-grid-elegant {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom Rata */
    gap: 8px; /* Jarak putih antar gambar */
    background-color: #fff;
}

/* Item Galeri */
.gallery-item-elegant {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 4/3; /* Rasio Kotak Persegi Panjang */
    background-color: #ccc;
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item-elegant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

/* Efek Hover Zoom */
.gallery-item-elegant:hover img {
    transform: scale(1.1);
}



.gallery-item-elegant:hover .gallery-overlay-icon {
    opacity: 1;
}

/* --- LIGHTBOX / POPUP STYLES --- */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Background Gelap Pekat */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 15px;
    color: #f1f1f1;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tombol Close (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #D4AF37;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Responsif Mobile: 1 Kolom */
@media (max-width: 768px) {
    .gallery-grid-elegant {
        grid-template-columns: 1fr; /* 1 Kolom di HP */
        gap: 10px;
    }
    
    .gallery-wrapper {
        padding: 5px;
    }
}

/* --- NEW MENU PAGE STYLING (Sesuai Gambar Referensi) --- */

/* Background Halaman Menu (Opsional: Tambahkan gambar background abstrak jika ada) */
.menu-page-bg {
    background-color: #f5f5f5;
    background-image: url('../images/abstract-bg.jpg'); /* Ganti dengan path background Anda jika ada */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Tombol Download Menu */
.btn-download-menu {
    background-color: #e6d6a9; /* Warna krem */
    color: #000;
    border: 2px solid #D4AF37;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Navigasi Kategori Baru (Teks Saja) */
.menu-categories-new {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #333; /* Garis bawah hitam panjang */
    padding-bottom: 10px;
}

.cat-link {
    text-decoration: none;
    color: #D4AF37; /* Warna Emas */
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.cat-link:hover, .cat-link.active {
    color: #997b2f; /* Emas lebih gelap saat aktif */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.2);
}

/* Grid Menu 2 Kolom */
.menu-grid-new {
    display: grid;
    /* Menggunakan repeat(3, 1fr) untuk membuat 3 kolom dengan lebar sama */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; /* Jarak antar kartu sedikit diperkecil agar muat */
}

/* Kartu Menu Horizontal */
.menu-card-horizontal {
    display: flex;
    align-items: center;
    background: rgba(236, 237, 177, 0.6); /* Putih Transparan */
    border-radius: 20px; /* Sudut melengkung */
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: visible; /* Agar lingkaran bisa overlap */
    border: 1px solid rgba(255,255,255,0.8);
    min-height: 160px; /* Tinggi minimum agar konsisten */
}

/* Lingkaran Gambar (Overlap ke Kiri) */
.menu-img-circle {
    width: 130px;
    height: 130px;
    flex-shrink: 0; /* Jangan mengecil */
    border-radius: 50%;
    border: 5px solid #D4AF37; /* Ring Emas */
    overflow: hidden;
    margin-right: 20px;
    margin-left: -10px; /* Geser sedikit ke kiri agar estetik */
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

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

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    font-size: 12px;
    color: #666;
}

/* Info Menu di Kanan */
.menu-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-title-gold {
    color: #D4AF37;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.menu-price-gold {
    color: #D4AF37; /* Harga Emas juga */
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.menu-desc-small {
    font-size: 12px;
    color: #D4AF37; /* Deskripsi Emas/Kecoklatan */
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

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

/* Responsive Mobile */
@media (max-width: 768px) {
    .menu-grid-new {
        grid-template-columns: 1fr;
    }


    .menu-categories-new {
        justify-content: center; /* Center menu kategori di HP */
        gap: 15px;
    }
    
    .cat-link {
        font-size: 16px;
    }

    .menu-card-horizontal {
        padding: 15px 10px;
    }

    .menu-img-circle {
        width: 100px;
        height: 100px;
    }

    .menu-title-gold {
        font-size: 18px;
    }
}

/* --- STYLE POPUP PROMO (1 EVENT) --- */
.promo-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Latar gelap */
    z-index: 9999; /* Paling depan */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.promo-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.promo-popup-box {
    background: white;
    width: 90%;
    max-width: 600px; /* Ukuran maksimal popup */
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 2px solid #D4AF37; /* Border Emas */
    transform: translateY(50px);
    transition: transform 0.5s ease;
}

.promo-popup-overlay.show .promo-popup-box {
    transform: translateY(0);
}

.promo-close-btn {
    position: absolute;
    top: 10px; right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px; height: 35px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.promo-close-btn:hover {
    background: #D4AF37;
    transform: rotate(90deg);
}

.promo-content-clickable {
    cursor: pointer; /* Menandakan bisa diklik */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.promo-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #eee;
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.promo-content-clickable:hover .promo-img-wrapper img {
    transform: scale(1.05);
}

.promo-info {
    padding: 25px;
    text-align: center;
}

.promo-label {
    display: inline-block;
    background: #D4AF37;
    color: #000;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.promo-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.promo-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-promo-link {
    color: #D4AF37;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .promo-img-wrapper {
        height: 180px;
    }
    .promo-info h3 {
        font-size: 20px;
    }
}

/* --- MODERN RESERVATION PAGE --- */

.reservation-page-bg {
    background-color: #fdfbf7; /* Warna krem sangat muda */
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-wrapper {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    align-items: center;
}

/* Bagian Kiri: Info & Slider */
.reservation-info-side {
    flex: 1;
}

.res-page-title {
    font-size: 48px;
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 15px;
    line-height: 1;
}

.res-page-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.res-slider-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Grid 2 kolom */
    gap: 15px;
    margin-bottom: 30px;
}

.res-slide-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    height: 150px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.res-slide-item:hover {
    transform: translateY(-5px);
}

.res-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.res-overlay-icon {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px;
    opacity: 0; transition: opacity 0.3s;
}

.res-slide-item:hover .res-overlay-icon { opacity: 1; }

.res-contact-info p {
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}

/* Bagian Kanan: Form Card */
.reservation-form-card {
    flex: 0 0 450px; /* Lebar tetap untuk form */
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-top: 5px solid #D4AF37;
}

.form-card-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group-modern {
    margin-bottom: 20px;
}

.form-group-modern label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group-modern input,
.form-group-modern select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-group-modern input:focus,
.form-group-modern select:focus {
    border-color: #D4AF37;
    outline: none;
    background: white;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-whatsapp-modern {
    width: 100%;
    padding: 15px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-whatsapp-modern:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .reservation-form-card {
        width: 100%;
        flex: none;
        padding: 30px 20px;
    }

    .res-slider-container {
        grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom di HP agar rapi */
    }
}