/* ==============================================
I. VARIABEL GLOBAL & GAYA DASAR (BASE STYLES)
==============================================
*/
:root {
    /* Palet Warna Universal */
    --dark-base: #121212;
    --dark-surface: #1E1E1E;
    --text-primary: #EFEFEF;
    --text-secondary: #d1d1d1; 
    --accent-white: #FFFFFF;
    
    /* Font Universal */
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Poppins', sans-serif;
    --font-special: 'Lora', serif;
    
    --font-size-lg: 1.1em;
    --font-size-md: 1em;
    --font-size-sm: 0.9em;
    
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.1);
    --popup-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);

    --transition-speed: 0.3s;
    --border-radius: 12px;
    --btn-hover-bg: #f0f0f0;
    --btn-active-bg: #e0e0e0;

    --section-padding: 100px 0;
    --hero-headline-size: 4.2em;
    --hero-subheadline-size: 1.4em;
    --section-title-size: 3.5em;
    --section-subtitle-size: 1.2em;
    --footer-padding: 80px 0;
    --btn-bg: var(--accent-white);
    --btn-text: var(--dark-base);
}

html { scroll-behavior: smooth; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--dark-base);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: var(--font-size-md);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, .location-card h3, .mobile-nav .nav-links a {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
}

h2 { text-align: center; }

section { padding: var(--section-padding); position: relative; }

/* CSS Containment for performance */
#services, .gallery-container, .testimonial-container {
    contain: content;
}

.btn { 
    display: inline-block; 
    background: var(--btn-bg); 
    color: var(--btn-text); 
    padding: 16px 38px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all var(--transition-speed) ease; 
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); 
    border: none; 
    cursor: pointer; 
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn:hover { 
    transform: translateY(-5px) scale(1.05); 
    animation: subtle-glow 2s infinite;
    background: var(--btn-hover-bg);
}
.btn:active {
    transform: translateY(0) scale(0.98);
    background: var(--btn-active-bg);
}

a, button {
    -webkit-tap-highlight-color: transparent;
}
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--accent-white);
    outline-offset: 3px;
    border-radius: 3px;
}
/* Visual feedback for touch, no !important */
.touch-active {
    opacity: 0.7;
    transform: scale(0.98);
    transition: opacity 0.1s ease, transform 0.1s ease;
}

.section-title { font-size: var(--section-title-size); margin-bottom: var(--spacing-md); }
.section-title::after { content: ''; display: block; margin: var(--spacing-sm) auto 0; width: 100px; height: 4px; background: var(--accent-white); opacity: 0.5; border-radius: 2px; }
.section-subtitle { max-width: 700px; margin: 0 auto var(--spacing-xxl) auto; color: var(--text-secondary); text-align: center; font-size: var(--section-subtitle-size); font-family: var(--font-special); }

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-base);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loading-spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    width: 100%;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes subtle-glow {
    0% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* ==============================================
II. ATURAN KHUSUS DESKTOP (DEFAULT STYLES)
==============================================
*/

.header {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(5px);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid var(--border-color);
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-main { font-family: var(--font-heading); font-size: 2.4em; font-weight: normal; color: var(--text-primary); }
.logo-sub { font-family: 'Oswald', sans-serif; font-size: 0.7em; font-weight: 400; letter-spacing: 3px; margin-top: -5px; text-transform: uppercase; color: var(--text-secondary); }
.desktop-nav { display: block; }
.desktop-nav .nav-links { list-style: none; display: flex; gap: var(--spacing-xl); }
.nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 500; position: relative; transition: color var(--transition-speed) ease; }
.nav-links a:hover { color: var(--accent-white); }
.desktop-nav .nav-links a::before { content: ''; position: absolute; bottom: -5px; left: 50%; width: 0; height: 2px; background: var(--accent-white); transition: all var(--transition-speed) ease; transform: translateX(-50%); }
.desktop-nav .nav-links a:hover::before { width: 100%; }
.header-icons, .mobile-menu-toggle { display: none; }
.mobile-nav { display: none; }
.footer-mobile-minimalist { display: none; }

#home { 
    display: flex;
    justify-content: center;
    position: relative; 
    overflow: hidden;
    padding: 140px 0 100px 0;
}

#home::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center; 
    z-index: -1;
    background-image: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.8)), url('img/herodesktop.jpg');
    animation: kenBurnsEffect 25s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 800px;
}

.hero-headline { 
    font-size: 4.5em; 
    line-height: 1.25; 
    font-family: 'Playfair Display', serif; 
}

.hero-subheadline { 
    font-family: var(--font-special); 
    font-style: italic; 
    font-size: var(--hero-subheadline-size); 
    color: var(--text-secondary); 
    margin-top: var(--spacing-lg); 
    margin-bottom: var(--spacing-xl); 
    max-width: 550px; 
    margin-left: 0; 
    margin-right: 0;
}

.pricelist-container {
    min-height: 300px;
}

.pricelist-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: var(--spacing-xxl); 
}
.pricelist-column { 
    display: flex;
    flex-direction: column;
    background: var(--dark-base); 
    border-radius: var(--border-radius); 
    padding: var(--spacing-xl); 
    border: 1px solid var(--border-color); 
    transition: all var(--transition-speed) ease; 
}
.pricelist-column:hover { 
    transform: translateY(-8px);
    border-color: var(--accent-white); 
    animation: subtle-glow 2s infinite alternate; 
}
.pricelist-column ul { list-style: none; padding: 0; }
.pricelist-category-title { 
    font-size: 1.5em; 
    margin-bottom: var(--spacing-md); 
    color: var(--accent-white); 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: var(--spacing-sm); 
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-white);
    fill: var(--accent-white);
    opacity: 0.8;
}
.category-name {
    flex-grow: 1;
}
.pricelist-category-title::after { display: none; }
.pricelist-column li { display: flex; justify-content: space-between; align-items: flex-start; padding: var(--spacing-md) 0; border-bottom: 1px dashed var(--border-color); font-size: var(--font-size-lg); }
.service-name { color: var(--text-primary); font-weight: 500; }
.service-price { font-family: 'Playfair Display', serif; color: var(--text-primary); font-weight: 600; font-size: 1em; text-align: right; flex-shrink: 0; margin-left: var(--spacing-md); }

.gallery-container {
    position: relative;
}
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 0;
    padding-bottom: 0; /* Hilangkan padding untuk scrollbar */
    border: none;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scroll-padding-left: 20px;
    /* HILANGKAN SCROLLBAR */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.slider-container::-webkit-scrollbar { 
    display: none; /* HILANGKAN SCROLLBAR */
}

.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 0 5px;
    transition: none;
}

.slide {
    flex: 0 0 30%;
    max-width: 400px;
    min-width: 320px;
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background: var(--dark-surface);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0) 100%);
    color: var(--text-primary);
    padding: 40px 20px 20px;
    transform: translateY(0);
}

.location-wrapper { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap: 100px;
    max-width: 1100px; 
    margin: 0 auto; 
}
.location-image { flex: 1.1; display: flex; align-items: center; justify-content: center; }
.location-card { 
    flex: 1; 
    background: var(--dark-surface); 
    padding: 60px 70px;
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    transition: all var(--transition-speed) ease-in-out; 
}
.location-card:hover { transform: translateY(-5px); border-color: var(--accent-white); animation: subtle-glow 2s infinite alternate; }
.location-card .section-title { text-align: center; }
.location-card .section-title::after { margin: var(--spacing-sm) auto var(--spacing-lg) auto; }
.location-card .section-subtitle { margin-bottom: var(--spacing-xl); font-size: var(--font-size-lg); padding: 0; }
.address-group { text-align: left; margin-bottom: 50px; }
.address-line { display: flex; align-items: center; gap: var(--spacing-sm); font-size: var(--font-size-lg); color: var(--text-secondary); line-height: 1.6; }
.address-line svg { stroke: var(--accent-white); flex-shrink: 0; width: 22px; height: 22px; }
.location-btn { align-self: center; width: 80%; max-width: 300px; }
.opening-hours-container { max-width: 430px; margin: 0 auto; }
.image-circle { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.image-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.text-overlay { position: absolute; top: 50%; right: -25%; transform: translateY(-50%); background-color: rgba(30, 30, 30, 0.6); color: var(--text-primary); border-radius: 50%; width: 65%; height: 65%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-family: var(--font-body); padding: 10px; border: 1px solid var(--border-color); transition: all var(--transition-speed) ease; }
.text-overlay .buka-setiap-hari { font-weight: 500; font-size: clamp(0.9em, 3.5vw, 1.1em); margin-bottom: var(--spacing-xs); }
.text-overlay .jam-utama { color: var(--accent-white); font-weight: 600; font-size: clamp(1.2em, 4vw, 1.4em); }
.text-overlay .separator { width: 60%; border: none; height: 1px; background-color: rgba(255, 255, 255, 0.2); margin: var(--spacing-xs) 0; }
.text-overlay .wib { font-size: clamp(0.7em, 2.5vw, 0.9em); margin-top: 5px; color: var(--text-secondary); }

#testimonial-wrapper {
    min-height: 300px;
}
.testimonial-container {
    position: relative;
    padding: 0;
}
.testimonial-carousel { 
    max-width: 100%; 
    margin: 0 auto; 
    overflow: hidden;
    /* HILANGKAN SCROLLBAR */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-carousel::-webkit-scrollbar {
    display: none; /* HILANGKAN SCROLLBAR */
}
.testimonial-wrapper { display: flex; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); }
.testimonial-card { background: var(--dark-surface); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 15px; padding: 25px; min-width: 300px; width: 300px; text-align: left; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); transform: scale(0.9); opacity: 0.6; }
.testimonial-card.active { opacity: 1; transform: scale(1); border-color: var(--accent-white); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.testimonial-card.active:hover { transform: scale(1.03); }
.testimonial-text { font-family: var(--font-body); font-style: italic; font-size: var(--font-size-md); color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--spacing-md); }
.testimonial-author { display: flex; align-items: center; gap: var(--spacing-sm); }
.author-avatar { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.4em; color: var(--text-primary); flex-shrink: 0; }
.author-name { font-weight: 600; font-size: var(--font-size-md); color: var(--text-primary); display: block; }
.author-stars { color: #FFC107; font-size: var(--font-size-md); }

/* ==============================================
TOMBOL NAVIGASI SLIDER - DESKTOP ONLY
==============================================
*/

/* HIDE BY DEFAULT - AKAN DITAMPILKAN HANYA DI DESKTOP */
.slider-nav-btn,
.testimonial-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn:hover,
.testimonial-nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-base);
    border-color: var(--accent-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.slider-nav-btn:active,
.testimonial-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* POSISI TOMBOL GALERI */
.prev-slide { 
    left: 20px; 
}
.next-slide { 
    right: 20px; 
}

/* POSISI TOMBOL TESTIMONI */
.prev-testimonial { 
    left: 10px; 
}
.next-testimonial { 
    right: 10px; 
}

/* HAPUS IKON ARROW LAMA DAN GANTI DENGAN > < */
.slider-nav-btn::before,
.testimonial-nav-btn::before {
    content: none; /* Hapus arrow CSS */
}

/* GANTI DENGAN TEKS > < */
.prev-slide::after,
.prev-testimonial::after {
    content: '<';
    font-family: serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}

.next-slide::after,
.next-testimonial::after {
    content: '>';
    font-family: serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}

.footer { padding: var(--footer-padding); background: var(--dark-base); border-top: 1px solid var(--border-color); }
.footer-content-wrapper { 
    display: grid; 
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}
.footer-card { text-align: left; }
.footer-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5em; margin-bottom: var(--spacing-md); color: var(--text-primary); }
.footer-card p { color: var(--text-secondary); font-size: var(--font-size-sm); line-height: 1.8; max-width: 320px; }
.social-icons { list-style: none; display: flex; gap: var(--spacing-sm); margin-top: 25px; padding:0; }
.social-icons a { color: var(--text-secondary); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border-color); border-radius: 50%; text-decoration: none; transition: all var(--transition-speed) ease; }
.social-icons a:hover { color: var(--dark-base); background: var(--accent-white); border-color: var(--accent-white); transform: translateY(-3px); }
.social-icons svg { 
    width: 22px; 
    height: 22px; 
    stroke: currentColor; 
    fill: none;
}
.footer-contact-list { list-style: none; padding:0; }
.footer-contact-list li { color: var(--text-secondary); margin-bottom: 18px; display: flex; align-items: center; gap: var(--spacing-sm); font-size: var(--font-size-sm); }
.footer-contact-list a { color: var(--text-secondary); text-decoration: none; transition: color var(--transition-speed) ease; }
.footer-contact-list a:hover { color: var(--accent-white); }
.footer-contact-list svg { width: 20px; height: 20px; stroke: var(--accent-white); flex-shrink: 0; }


/* ==============================================
III. ATURAN TAMPILAN RESPONSIVE
==============================================
*/

@media (max-width: 1024px) {
    .pricelist-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-carousel { 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin: 0;
        touch-action: pan-x;
        scroll-behavior: smooth;
        scroll-padding-left: 20px;
        /* HILANGKAN SCROLLBAR DI TABLET */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .testimonial-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-wrapper {
        display: flex;
        gap: 15px;
        padding: 0 20px;
    }
    .testimonial-container {
        padding: 0;
    }

    .testimonial-card { 
        scroll-snap-align: start;
        opacity: 1; 
        transform: scale(1); 
        flex: 0 0 80%;
        max-width: 300px; 
        aspect-ratio: auto;
        min-height: 250px;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
    }
    .testimonial-text {
        flex-grow: 1;
        overflow: visible;
        font-size: 0.9em; 
        line-height: 1.6;
    }

    .footer-content-wrapper { grid-template-columns: 1fr 1fr; }

    #home {
        padding: 140px 0 80px 0;
    }
    
    /* SEMBUNYIKAN TOMBOL DI TABLET */
    .slider-nav-btn,
    .testimonial-nav-btn {
        display: none !important;
    }
}

/* ==============================================
TAMPILKAN TOMBOL HANYA DI DESKTOP BESAR (MIN-WIDTH: 1025px)
==============================================
*/
@media (min-width: 1025px) {
    .slider-nav-btn {
        display: flex;
    }
    
    .testimonial-nav-btn {
        display: flex;
    }
    
    /* PERBAIKAN LAYOUT LAYANAN DESKTOP */
    .pricelist-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Kartu layanan desktop */
    .pricelist-column {
        background: var(--dark-surface);
        border: 1px solid var(--border-color);
        border-radius: 15px;
        padding: 30px 25px;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        min-height: 400px; /* Tinggi minimum konsisten */
    }
    
    .pricelist-column:hover {
        transform: translateY(-8px);
        border-color: var(--accent-white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    /* Header kategori */
    .pricelist-category-title {
        font-size: 1.4em;
        font-family: 'Playfair Display', serif;
        color: var(--accent-white);
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: default; /* Tidak clickable di desktop */
    }
    
    /* Ikon kategori */
    .category-icon svg {
        width: 26px;
        height: 26px;
        stroke: var(--accent-white);
        fill: var(--accent-white);
        opacity: 0.9;
    }
    
    /* List layanan */
    .pricelist-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        max-height: none; /* Reset mobile styles */
        overflow: visible;
        background: none;
        border: none;
        border-radius: 0;
    }
    
    /* Item layanan */
    .pricelist-column li {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 15px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
        font-size: 0.95em;
    }
    
    .pricelist-column li:last-child {
        border-bottom: none;
        margin-top: auto; /* Push ke bawah jika hanya 1 item */
    }
    
    /* Nama layanan */
    .service-name {
        color: var(--text-primary);
        font-weight: 500;
        line-height: 1.4;
        flex: 1;
        margin-right: 15px;
    }
    
    /* Harga layanan */
    .service-price {
        color: var(--accent-white);
        font-weight: 600;
        font-family: 'Playfair Display', serif;
        font-size: 1em;
        text-align: right;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    /* Reset accordion styles untuk desktop */
    .pricelist-category-title::after {
        display: none; /* Hilangkan arrow */
    }
    
    .pricelist-category-title.active {
        border-radius: 0; /* Reset active styles */
    }
    
    /* PERBAIKAN TESTIMONI DESKTOP - TAMPIL 3 KARTU */
    .testimonial-carousel {
        max-width: 1000px;
        margin: 0 auto;
        overflow: visible; /* Tampilkan 3 kartu */
        position: relative;
    }
    
    .testimonial-wrapper {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 30px;
        transform: none; /* Reset transform */
        transition: none;
    }
    
    /* Kartu testimoni desktop - tampil 3 */
    .testimonial-card {
        flex: 0 0 300px;
        width: 300px;
        opacity: 0.7;
        transform: scale(0.95);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
    }
    
    /* Kartu tengah menjadi fokus */
    .testimonial-card.active {
        opacity: 1;
        transform: scale(1);
        border-color: var(--accent-white);
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        z-index: 2;
    }
    
    /* Efek hover */
    .testimonial-card:hover {
        opacity: 1;
        transform: scale(1.02);
    }
    
    .testimonial-card.active:hover {
        transform: scale(1.05);
    }
    
    /* Perbaikan hover untuk gallery container */
    .gallery-container:hover .slider-nav-btn {
        opacity: 1;
        visibility: visible;
    }
    
    /* Perbaikan hover untuk testimonial container */
    .testimonial-container:hover .testimonial-nav-btn {
        opacity: 1;
        visibility: visible;
    }
    
    /* Opacity default - muncul saat hover */
    .slider-nav-btn,
    .testimonial-nav-btn {
        opacity: 0.7;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
        --hero-headline-size: 2.2em;
        --hero-subheadline-size: 1em;
        --section-title-size: 2.1em;
        --section-subtitle-size: 1.05em;
        --footer-padding: 60px 0;
    }
    
    html {
        scroll-behavior: smooth;
    }
    img, video {
        max-width: 100%;
        height: auto;
    }
    
    /* SEMBUNYIKAN TOMBOL NAVIGASI DI MOBILE */
    .testimonial-nav-btn { display: none !important; }
    .slider-nav-btn { display: none !important; }

    .pricelist-column:hover,
    .location-card:hover,
    .slide:hover,
    .testimonial-card.active:hover {
        transform: none;
        animation: none;
    }

    #home {
        min-height: 100vh;
        padding: 80px 0;
        display: flex;
        align-items: center;
    }
    
    #home::before {
        background-image: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.8)), url('https://images.pexels.com/photos/3993444/pexels-photo-3993444.jpeg');
        animation-name: kenBurnsEffectMobile;
        animation-duration: 20s;
    }

    @keyframes kenBurnsEffectMobile {
        0% {
            transform: scale(1.1) translate(0, 0);
        }
        50% {
            transform: scale(1.2) translate(5%, -5%);
        }
        100% {
            transform: scale(1.1) translate(0, 0);
        }
    }

    section { padding: var(--section-padding); }
    .section-subtitle { margin-bottom: var(--spacing-xl); }
    .pricelist-container, .gallery-container, .location-wrapper, .testimonial-container { margin-top: 0; }
    .btn { padding: 14px 30px; font-size: 0.95em; }

    .desktop-nav { display: none; }
    
    .header-icons {
        display: flex; 
        justify-content: center;
        align-items: center;
        min-width: 48px;
        min-height: 48px;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 12px;
        color: var(--text-primary);
        font-family: var(--font-body);
        font-size: 1em;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 1021;
    }
    
    .mobile-nav {
        display: block;
        position: fixed;
        top: 68px; 
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(18, 18, 18, 0.9); 
        backdrop-filter: blur(5px);
        z-index: 1010;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
        padding: 0;
    }

    .mobile-nav.open {
        max-height: 50vh; 
        border-top: 1px solid var(--border-color);
    }

    .mobile-nav .nav-links { 
        display: flex; 
        flex-direction: column; 
        gap: 0; 
        list-style: none; 
        padding: 10px 25px 20px 25px;
    }

    .mobile-nav .nav-links a {
        font-size: 1.3em;
        padding: 15px 0;
        display: block; 
        transition: all var(--transition-speed) ease;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        min-height: 48px;
    }
    .mobile-nav .nav-links a:hover { padding-left: 10px; color: var(--accent-white); }
    
    .close-menu-btn { 
       display: none;
    }

    .hero-content {
        max-width: 90%;
        text-align: left;
    }

    .hero-headline { 
        font-size: var(--hero-headline-size);
        line-height: 1.3;
    }

    .hero-subheadline { 
        font-size: var(--hero-subheadline-size);
        max-width: 100%;
        margin: 20px 0 30px 0;
    }

    .pricelist-container { margin-top: var(--spacing-xl); grid-template-columns: 1fr; gap: var(--spacing-md); }
    .pricelist-column { background: transparent; border: none; padding: 0; border-radius: 0; box-shadow: none; }
    .pricelist-category-title { 
        padding: 18px 20px; 
        background-color: var(--dark-surface); 
        border: 1px solid var(--border-color); 
        border-radius: 15px; 
        cursor: pointer; 
        font-family: var(--font-body); 
        font-weight: 500; 
        font-size: 1.05em; 
        margin-bottom: 0;
        justify-content: flex-start;
        text-transform: capitalize;
        min-height: 48px;
    }
    .category-name {
        margin-right: auto;
    }
    .pricelist-category-title.active { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    .pricelist-category-title::after { 
        content: ''; 
        border: solid var(--text-secondary); 
        border-width: 0 2px 2px 0; 
        display: inline-block; 
        padding: 3px; 
        transform: rotate(45deg); 
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: var(--spacing-sm);
    }
    .pricelist-category-title.active::after { border-color: var(--accent-white); transform: rotate(-135deg); margin-top: -5px; }
    .pricelist-column ul { 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0; 
        margin: 0; 
        list-style: none; 
        background-color: var(--dark-surface); 
        border: 1px solid var(--border-color); 
        border-top: none; 
        border-bottom-left-radius: 15px; 
        border-bottom-right-radius: 15px; 
    }
    .pricelist-column li { padding: 16px 20px; font-size: 0.95em; border-bottom: 1px dashed var(--border-color); }
    
    .pricelist-column li:last-child {
        border-bottom: none;
    }
    
    /* ==============================================
    PERBAIKAN GALERI MOBILE - KHUSUS IPHONE 6 INCH
    ==============================================
    */
    
    /* Perbaikan container galeri untuk mobile */
    .gallery-container {
        position: relative;
        margin-top: 0;
        padding: 0;
    }

    .slider-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 0;
        padding: 0 20px 0 20px; /* Hilangkan padding bottom untuk scrollbar */
        border: none;
        touch-action: pan-x;
        scroll-behavior: smooth;
        scroll-padding-left: 20px;
        /* HILANGKAN SCROLLBAR */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .slider-container::-webkit-scrollbar { 
        display: none; /* HILANGKAN SCROLLBAR */
    }

    .slider-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px; /* Jarak yang optimal antar kartu */
        padding: 0;
        transition: none;
        min-height: 280px; /* Tinggi minimum untuk mencegah gepeng */
    }

    .slide {
        /* PERBAIKAN UTAMA: Menggunakan aspect-ratio yang lebih proporsional */
        flex: 0 0 75%; /* Lebar kartu 75% dari viewport */
        max-width: 320px; /* Maksimal lebar */
        min-width: 260px; /* Minimal lebar untuk iPhone kecil */
        aspect-ratio: 4 / 3; /* Rasio 4:3 lebih proporsional daripada 1:1 */
        min-height: 220px; /* Tinggi minimum mutlak */
        
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        scroll-snap-align: center;
        background: var(--dark-surface);
        
        /* Menghilangkan margin yang tidak perlu */
        margin: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; /* Menghilangkan space bawah gambar */
    }

    /* Perbaikan overlay agar tidak mengganggu proporsi */
    .slide-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0) 100%);
        color: var(--text-primary);
        padding: 30px 20px 20px; /* Padding yang cukup untuk teks */
        transform: translateY(0);
    }

    .slide-overlay h4 {
        font-size: 1.1em;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--accent-white);
    }

    .slide-overlay p {
        font-size: 0.9em;
        line-height: 1.4;
        color: var(--text-secondary);
        margin: 0;
    }
    
    .location-wrapper { flex-direction: column; gap: var(--spacing-xl); }
    .location-card { 
        padding: var(--spacing-xl) 25px; 
        order: 2; 
    }
    .location-image { order: 1; }
    .location-card .section-title::after { margin: var(--spacing-sm) auto var(--spacing-lg) auto; }
    .opening-hours-container { max-width: 280px; margin-bottom: 0; }
    .text-overlay { width: 65%; height: 65%; right: -15%; padding: var(--spacing-xs); }
    .text-overlay .buka-setiap-hari { font-size: 0.7rem; }
    .text-overlay .jam-utama { font-size: 0.9rem; }
    .text-overlay .separator { margin: 4px 0; }
    .text-overlay .wib { font-size: 0.6rem; }

    /* MOBILE TESTIMONIAL - TETAP SCROLL HORIZONTAL */
    .testimonial-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* HILANGKAN SCROLLBAR */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .testimonial-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-wrapper {
        display: flex;
        gap: 15px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        opacity: 1;
        transform: scale(1);
    }

    .footer-content-wrapper { display: none; }
    .footer-mobile-minimalist { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
    .footer-logo-mobile { font-size: 1.8em; color: var(--text-primary); margin-bottom: 25px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
    .footer-address-mobile { color: var(--text-secondary); font-size: var(--font-size-sm); max-width: 280px; line-height: 1.6; margin-bottom: 25px; }
    
    .btn-footer-mobile { 
        width: 90%; 
        max-width: 300px; 
        padding: 14px 0;
        margin-bottom: var(--spacing-lg);
    }
    .social-icons-mobile { 
        list-style: none; 
        display: flex; 
        gap: 25px; 
        margin-bottom: 35px;
        padding: 0; 
    }
    .social-icons-mobile a { color: var(--text-secondary); transition: all var(--transition-speed) ease; }
    .social-icons-mobile a:hover { color: var(--accent-white); transform: scale(1.1); }
    .social-icons-mobile svg { 
        width: 26px; 
        height: 26px; 
        stroke: currentColor; 
        fill: none;
    }
}

/* ==============================================
PERBAIKAN KHUSUS UNTUK IPHONE 6/7/8 DAN SEJENISNYA (375px)
==============================================
*/
@media (max-width: 414px) {
    .slide {
        flex: 0 0 80%; /* Sedikit lebih lebar pada layar kecil */
        min-width: 280px; /* Minimal lebar yang aman */
        aspect-ratio: 4 / 3; /* Tetap gunakan rasio 4:3 */
        min-height: 210px; /* Tinggi minimum untuk iPhone kecil */
    }
    
    .slider-wrapper {
        gap: 15px; /* Jarak lebih kecil untuk layar sempit */
        min-height: 240px;
    }
    
    .slider-container {
        padding: 0 15px 0 15px; /* Padding lebih kecil */
    }
}

/* ==============================================
PERBAIKAN KHUSUS UNTUK LAYAR SANGAT KECIL (iPhone SE, dll)
==============================================
*/
@media (max-width: 350px) {
    .slide {
        flex: 0 0 85%;
        min-width: 260px;
        aspect-ratio: 4 / 3;
        min-height: 195px;
    }
    
    .slider-wrapper {
        gap: 12px;
        min-height: 220px;
    }
    
    .slide-overlay {
        padding: 25px 15px 15px;
    }
    
    .slide-overlay h4 {
        font-size: 1em;
    }
    
    .slide-overlay p {
        font-size: 0.85em;
    }
}

/* Menghilangkan hover effects pada mobile untuk performa */
@media (max-width: 768px) {
    .slide:hover img {
        transform: none;
    }
}