/* =========================================
   RESET & VARIABEL (WARNA ASLI ANDELIA)
   ========================================= */
:root {
    --cream: #fdf7eb;
    --paper: #f4efdf;
    --olive: #555f3c;
    --deep: #303b2c;
    --ink: #32382e;
    --muted: #666b5d;
    --line: #d8d8c6;
    --display: 'Cormorant Garamond', Georgia, serif;
    --body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font: inherit; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

em { font-weight: 600; color: var(--olive); font-style: italic; }
p { color: var(--muted); }

.wrap { width: min(1240px, 88%); margin: 0 auto; }

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--olive);
    margin-bottom: 24px;
}

.button {
    display: inline-flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    background: var(--olive);
    color: white;
    min-height: 54px;
    padding: 15px 24px;
    border: 1px solid var(--olive);
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}
.button:hover { background: var(--deep); transform: translateY(-2px); }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }

/* =========================================
   HEADER (WARNA ASLI)
   ========================================= */
.header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    gap: 25px;
}

.brand img { width: 114px; height: auto; }
.desktop-nav { display: flex; gap: 40px; }
.desktop-nav a { font-size: 14px; font-weight: 600; color: var(--ink); transition: color 0.3s; }
.desktop-nav a:hover { color: var(--olive); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--olive);
    border-bottom: 1px solid var(--olive);
    padding-bottom: 4px;
    transition: color 0.3s;
}
.nav-cta:hover { color: var(--deep); border-color: var(--deep); }

/* =========================================
   LIQUID GALLERY (HERO) - REVISI TOTAL
   ========================================= */
.liquid-gallery-container {
    position: relative;
    width: 100vw;
    /* Mengisi sisa layar dikurangi tinggi header, dan menghapus padding */
    height: calc(100vh - 110px); 
    padding: 0 !important; /* Memaksa padding 0 agar menempel ke atas */
    margin: 0;
    overflow: hidden;
    background: var(--cream);
}

.gallery {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
}

.panel {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: flex 0.9s cubic-bezier(0.25, 1, 0.3, 1), filter 0.6s ease;
    overflow: hidden;
    filter: brightness(0.6) sepia(0.2) grayscale(20%); 
}

.panel:hover, .panel.active {
    flex: 7; 
    filter: brightness(1) sepia(0) grayscale(0%);
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: -1;
}

.panel:hover::before, .panel.active::before {
    transform: scale(1.08) rotate(1deg); 
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(48, 59, 44, 0.95) 0%, rgba(48, 59, 44, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.panel:hover .overlay, .panel.active .overlay {
    opacity: 1;
}

/* Teks Vertikal (Desktop) - DIPERKECIL AGAR TIDAK TERPOTONG */
.vertical-name {
    position: absolute;
    top: 50%;
    left: 20px; /* Sedikit digeser ke kiri */
    transform: translateY(-50%);
    writing-mode: vertical-rl; 
    text-orientation: mixed;
    font-family: var(--display);
    font-size: 1.6rem; /* Diperkecil dari 2.2rem */
    font-weight: 600;
    color: var(--cream); 
    letter-spacing: 6px; /* Jarak huruf dirapatkan */
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1);
    opacity: 1;
    white-space: nowrap; /* Mencegah teks turun ke baris baru */
    animation: verticalFloatDesktop 4s ease-in-out infinite alternate;
}

.panel:hover .vertical-name, .panel.active .vertical-name {
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
    filter: blur(5px);
}

/* Teks Horizontal (Konten) */
.content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    color: var(--cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(50px) skewX(15deg) scale(0.95);
    filter: blur(10px);
    transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s ease, filter 0.9s ease;
    white-space: nowrap;
}

.panel:hover .content, .panel.active .content {
    opacity: 1;
    transform: translateY(0) skewX(0) scale(1);
    filter: blur(0);
    white-space: normal;
    pointer-events: auto;
    animation: liquidFloat 4s ease-in-out infinite alternate;
}

.content h2 {
    font-family: var(--display);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    color: var(--cream); 
}

.content p {
    font-family: var(--body);
    font-size: 1rem;
    color: #e6e6d8; 
    line-height: 1.7;
    max-width: 500px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Keyframes */
@keyframes liquidFloat {
    0% { transform: translateY(0) skewX(0); }
    100% { transform: translateY(-8px) skewX(1deg); }
}

@keyframes verticalFloatDesktop {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(5px); }
}

/* =========================================
   SECTION UMUM & KONTEN LAINNYA (WARNA ASLI)
   ========================================= */
/* Padding dipindahkan ke spesifik section, bukan global */
section:not(.liquid-gallery-container) { 
    padding: 100px 0; 
}

.intro { text-align: center; max-width: 800px; margin: 0 auto; }
.intro h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 30px; }
.intro p { font-size: 18px; }

.signature { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.section-heading h2 { font-size: clamp(36px, 4vw, 56px); }

.treatment {
    display: grid;
    grid-template-columns: 50px 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.treatment:last-child { border-bottom: none; }
.treatment-number { font-family: var(--display); font-size: 20px; color: var(--olive); font-weight: 600; }
.treatment h3 { font-size: 28px; margin-bottom: 12px; }
.treatment p { font-size: 15px; }

.duration-list { display: flex; flex-direction: column; gap: 12px; }
.treatment-choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    transition: color 0.2s;
}
.treatment-choice:hover { color: var(--olive); }
.treatment-choice strong { font-weight: 600; }

.contact { background: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-copy h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 30px; }
.contact-copy p { font-size: 18px; margin-bottom: 40px; }
.contact-info h3 { font-size: 22px; margin-bottom: 30px; }
.hours { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-info p { font-size: 15px; margin: 20px 0; }
.contact-info a { display: block; font-weight: 600; margin-bottom: 10px; }
.contact-info a:hover { color: var(--olive); }

.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* =========================================
   RESPONSIF MOBILE
   ========================================= */
@media (max-width: 768px) {
    .header-inner { min-height: 80px; }
    
    .liquid-gallery-container {
        height: calc(100vh - 80px);
    }

    .gallery {
        flex-direction: column;
    }

    .panel:hover, .panel.active {
        flex: 6;
    }

    .vertical-name {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        writing-mode: horizontal-tb;
        font-size: 1.2rem;
        letter-spacing: 4px;
        animation: horizontalFloatMobile 3s ease-in-out infinite alternate;
    }

    .panel:hover .vertical-name, .panel.active .vertical-name {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-30px);
        filter: blur(5px);
    }

    .content {
        padding: 25px;
        transform: translateY(30px) skewX(10deg);
    }

    .content h2 { font-size: 1.8rem; margin-bottom: 8px; }
    .content p { font-size: 0.85rem; line-height: 1.5; }

    .desktop-nav, .nav-cta { display: none; }
    .section-heading, .contact-inner { grid-template-columns: 1fr; gap: 20px; }
    .treatment { grid-template-columns: 1fr; gap: 20px; }
}

@keyframes horizontalFloatMobile {
    0% { transform: translate(-50%, -50%) translateY(0); }
    100% { transform: translate(-50%, -50%) translateY(5px); }
}

/* =========================================
   EXPERIENCE
   ========================================= */
.experience { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.experience-image figcaption { font-size: 12px; margin-top: 10px; color: var(--muted); }
.experience-copy h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 30px; }
.experience-copy > p { font-size: 18px; margin-bottom: 40px; }

.qualities { display: flex; flex-direction: column; gap: 30px; }
.quality { display: flex; gap: 20px; }
.quality span { font-family: var(--display); font-size: 20px; color: var(--olive); font-weight: 600; }
.quality h3 { font-size: 20px; margin-bottom: 6px; }
.quality p { font-size: 15px; }

/* =========================================
   PAUSE
   ========================================= */
.pause { background: var(--olive); color: var(--cream); text-align: center; }
.pause p { color: var(--cream); opacity: 0.8; }
.pause h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 24px; }
.pause h2 em { color: var(--cream); }

/* =========================================
   BOOKING
   ========================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; list-style: none; }
.steps li span { font-family: var(--display); font-size: 20px; color: var(--olive); font-weight: 600; display: block; margin-bottom: 12px; }
.steps li h3 { font-size: 22px; margin-bottom: 8px; }
.steps li p { font-size: 15px; }

.booking-note { text-align: center; }
.booking-note .button { margin-bottom: 20px; }
.booking-note p { font-size: 14px; }

/* =========================================
   FAQ
   ========================================= */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq h2 { font-size: clamp(36px, 4vw, 56px); }

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary span { font-size: 24px; font-weight: 400; color: var(--olive); }
details p { margin-top: 15px; font-size: 15px; }

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: 60px 0 20px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.footer-logo { width: 100px; }
.footer-social { display: flex; gap: 30px; }
.footer-social a { font-size: 14px; font-weight: 600; }
.footer-social a:hover { color: var(--olive); }

.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom div { display: flex; gap: 20px; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--olive);
    position: relative;
    padding-bottom: 4px;
    text-decoration: none;
}

.nav-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* Mulai dari tengah */
    transform: translateX(-50%); /* Posisi tengah yang presisi */
    width: 0%;
    height: 2px;
    background-color: var(--deep); /* Warna hijau gelap */
    transition: width 0.3s ease-in-out;
}

.nav-cta:hover::after {
    width: 100%;
}