/* =========================================================
   1. VARIABLES & RESET (SINKRON DENGAN CONTACT)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --bg-color: #F9F7F2;
    --text-dark: #1B2A39;
    --text-body: #333333;
    --accent: #B39A6A;
    --white: #ffffff; /* Tetap Putih Mutlak */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
    background: var(--bg-color);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
    --bg-color: #0f1720;
    --text-dark: #ffffff;
    --text-body: #e0e0e0;
    /* PENTING: var(--white) tetap #ffffff */
}

.theme-toggle {
    background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1400px; margin: auto; padding: 0 5%; }

/* =========================================================
   2. NAVBAR & MENU (STANDARD)
   ========================================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--bg-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transform: translateY(-100%); opacity: 0;
    transition: transform 0.5s ease, opacity 0.4s ease;
}
.navbar.nav-visible { transform: translateY(0); opacity: 1; }

.nav-container {
    height: 80px; display: flex; width: 100%; max-width: none;
    margin: 0 auto; padding: 0 24px; align-items: center; gap: 40px;
}

.nav-logo { font-family: var(--font-heading); font-weight: 700; display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; transition: transform 0.3s ease; }
.nav-logo:hover img { transform: scale(1.05); }

/* [FIX] LOGO NAVBAR DARK MODE (Agar Putih) */
body.dark .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-menu { display: flex; list-style: none; gap: 25px; margin-left: auto; align-items: center; }
.nav-link { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; padding: 10px 0; }
.nav-link:hover { color: var(--accent); }

.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: -20px;
    background: var(--white); min-width: 220px; padding: 15px 0;
    list-style: none; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-top: 3px solid var(--accent);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 25px; font-size: 0.75rem; text-transform: uppercase; }
.dropdown-menu li a:hover { background: #f4f4f4; color: var(--accent); padding-left: 30px; }

.nav-extras { display: flex; gap: 20px; align-items: center; }
.btn-get-product { background: var(--accent); color: var(--white); padding: 10px 25px; font-size: 0.75rem; text-transform: uppercase; }

/* Hamburger Desktop: Hidden */
.hamburger { display: none; cursor: pointer; }

/* =========================================================
   3. SERVICE HERO (VIDEO BACKGROUND)
   ========================================================= */
.service-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Paksa teks putih agar kontras dengan video gelap */
    color: #ffffff; 
    overflow: hidden; 
    background: #000;
}

/* Video Wrapper */
.video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.video-background iframe {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; height: 56.25vw;
    min-height: 100vh; min-width: 177.77vh; 
}

/* Overlay */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 42, 57, 0.5); /* Gelap transparan */
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }

/* Dekorasi Garis Emas */
.service-hero::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 1px; height: 60px;
    background: var(--accent);
    z-index: 2;
}

.service-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px; line-height: 1.1;
    color: #ffffff;
}

.service-hero p {
    font-family: var(--font-body);
    font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 3px; opacity: 0.9; color: var(--accent);
}

.service-hero .hero-desc {
    text-transform: none; letter-spacing: 0.5px;
    font-size: 1.1rem; max-width: 600px;
    margin: 20px auto 0; opacity: 0.9; font-weight: 300; color: #fff;
}

/* =========================================================
   4. SERVICE GRID
   ========================================================= */
.service-grid-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center; font-size: 2.5rem; margin-bottom: 60px;
    font-family: var(--font-heading); color: var(--text-dark);
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background-color: var(--accent); margin: 15px auto 0;
}

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

@media (min-width: 1200px) {
    .grid-container { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}

/* Cards */
.service-card {
    background: var(--white); /* Light mode: Putih */
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Dark Mode Card Adjustment */
body.dark .service-card {
    background: #151f2b; /* Dark card bg */
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
}

.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0%; height: 4px; background-color: var(--accent);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.service-card:hover::after { width: 100%; }

.card-icon img {
    width: 70px; height: 70px; object-fit: contain;
    transition: 0.4s;
}
.service-card:hover .card-icon img { transform: scale(1.1); }

/* Typography Card */
.service-card h3 {
    font-family: var(--font-heading); font-size: 1.5rem;
    color: var(--text-dark); margin-bottom: 15px;
}
.service-card p {
    font-size: 0.95rem; color: var(--text-body);
    line-height: 1.6; margin-bottom: 30px; opacity: 0.8;
}

/* Buttons inside Card */
.button-group { display: flex; flex-direction: column; gap: 12px; }

.full-width {
    width: 100%; display: block; padding: 12px 0;
    font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600; border-radius: 4px;
}

.btn-primary {
    background-color: var(--text-dark); color: #ffffff;
    border: 1px solid var(--text-dark);
}
.btn-primary:hover {
    background-color: var(--accent); border-color: var(--accent);
}
body.dark .btn-primary {
    background-color: var(--white); color: #000; border-color: var(--white);
}
body.dark .btn-primary:hover {
    background-color: var(--accent); color: #fff; border-color: var(--accent);
}

.btn-outline {
    background: transparent; color: var(--text-dark);
    border: 1px solid rgba(128,128,128, 0.3);
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent);
}
body.dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* =========================================================
   5. CLIENTS SECTION
   ========================================================= */
.client-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}
body.dark .client-section {
    background-color: var(--bg-color); /* Kembali gelap */
    border-color: rgba(255,255,255,0.05);
}

.client-section h3 {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px;
    color: #999; margin-bottom: 40px; font-weight: 500;
}

.client-logos {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}

.client-logos img {
    height: 60px; width: auto; object-fit: contain;
    filter: grayscale(100%); opacity: 0.5; transition: 0.4s;
}

/* Filter logo agar terlihat di dark mode */
body.dark .client-logos img { filter: grayscale(100%) invert(1); }

.client-logos img:hover {
    filter: grayscale(0%); opacity: 1; transform: scale(1.1);
}
body.dark .client-logos img:hover { filter: grayscale(0%) invert(1); }


/* =========================================================
   CLAIM FORM SPECIFIC STYLING (NO HTML CHANGE)
   ========================================================= */

/* 1. SECTION BACKGROUND */
#claim-form {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

/* 2. WRAPPER (KARTU FORM) */
/* Kita buat style kartu elegan menggantikan .luxury-border-wrapper */
#claim-form .form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--white);
    
    /* Style Kartu Mewah */
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border-top: 3px solid var(--accent); /* Aksen emas di atas */
    border-radius: 4px;
    text-align: center;
    position: relative;
}

/* Dark Mode Wrapper */
body.dark #claim-form .form-wrapper {
    background: #151f2b; /* Warna kartu gelap */
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--accent);
}

/* 3. TYPOGRAPHY (JUDUL & SUBJUDUL) */
#claim-form h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

#claim-form p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-body);
    opacity: 0.7;
    margin-bottom: 50px;
}

/* 4. FORM GROUP (CONTAINER INPUT) */
#claim-form .form-group {
    margin-bottom: 35px;
    text-align: left; /* Label rata kiri */
    position: relative;
}

/* 5. LABEL (STATIC ELEGANT STYLE) */
#claim-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--accent); /* Warna Emas */
    margin-bottom: 8px;
    transition: 0.3s;
}

/* 6. INPUT & SELECT (UNDERLINE STYLE) */
#claim-form input,
#claim-form select {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15); /* Garis tipis */
    border-radius: 0;
    
    font-family: var(--font-heading); /* Font Serif biar mewah */
    font-size: 1.3rem;
    color: var(--text-dark);
    
    outline: none;
    transition: border-color 0.4s ease;
}

/* Style Placeholder */
#claim-form input::placeholder {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(0,0,0,0.3);
    font-weight: 300;
}

/* Efek Fokus Input */
#claim-form input:focus,
#claim-form select:focus {
    border-bottom-color: var(--accent); /* Garis jadi emas saat diketik */
}

/* Dark Mode Inputs */
body.dark #claim-form label {
    color: rgba(255,255,255,0.6); /* Label agak putih pudar */
}
body.dark #claim-form input,
body.dark #claim-form select {
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.dark #claim-form input::placeholder {
    color: rgba(255,255,255,0.2);
}
body.dark #claim-form input:focus,
body.dark #claim-form select:focus {
    border-bottom-color: var(--accent);
    background: transparent;
}
/* Fix label warna saat fokus di dark mode */
body.dark #claim-form .form-group:focus-within label {
    color: var(--accent);
}

/* 7. BUTTON PRIMARY (SINKRON DENGAN TOMBOL LUXURY LAIN) */
#claim-form .btn-primary {
    display: block;
    margin-top: 30px;
    padding: 18px;
    background: var(--text-dark);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#claim-form .btn-primary:hover {
    background: var(--accent);
    letter-spacing: 3px; /* Efek widening saat hover */
}

/* Dark Mode Button */
body.dark #claim-form .btn-primary {
    background: transparent;
    border: 1px solid #ffffff !important; /* Paksa border putih */
    color: #ffffff;
}

body.dark #claim-form .btn-primary:hover {
    background: #ffffff;
    color: #0f1720; /* Teks jadi gelap */
}

/* 8. RESPONSIVE MOBILE */
@media (max-width: 768px) {
    #claim-form .form-wrapper {
        padding: 40px 25px;
        border-top: 2px solid var(--accent);
    }
    
    #claim-form h2 {
        font-size: 2rem;
    }
    
    #claim-form input,
    #claim-form select {
        font-size: 1.1rem;
    }
}

/* =========================================================
   7. TESTIMONIALS (EDITORIAL GRID 3)
   ========================================================= */
.testimonial-section {
    padding: 100px 5%; /* Tambahkan padding samping agar tidak mepet layar */
    background-color: var(--bg-color);
    text-align: center; /* KUNCI: Membuat judul section rata tengah */
}

/* Container Grid Utama */
.testimonial-grid {
    display: grid;
    /* KUNCI: Membuat 3 kolom sama besar */
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px; /* Jarak antar kolom */
    margin-top: 60px;
    align-items: start; /* Rata atas agar rapi jika panjang teks beda */
}

/* Style Kartu Testimoni */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ikon & Teks rata tengah secara horizontal */
    text-align: center;  /* Teks rata tengah */
    position: relative;
    padding: 0 10px;
}

/* Ikon Kutipan */
.quote-icon {
    font-family: var(--font-heading); 
    font-size: 5rem;
    line-height: 1; 
    color: var(--accent); 
    opacity: 0.3; 
    margin-bottom: -10px; /* Sedikit overlap dengan teks */
}

/* Teks Isi */
.testi-text {
    font-family: var(--font-heading); 
    font-style: italic;
    font-size: 1.25rem; 
    line-height: 1.6; 
    color: var(--text-dark); 
    margin-bottom: 25px;
}

/* Info Penulis */
.testi-author h4 {
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.testi-author span {
    font-size: 0.75rem;
    color: var(--text-body);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Dark Mode Support --- */
body.dark .testimonial-section {
    background-color: var(--bg-color);
}
body.dark .testi-text {
    color: #e0e0e0;
}
body.dark .testi-author h4 {
    color: var(--white);
}
body.dark .testi-author span {
    color: rgba(255,255,255,0.6);
}

/* --- Responsive (Mobile Stack) --- */
@media (max-width: 968px) {
    .testimonial-grid {
        /* Di HP/Tablet, ubah jadi 1 kolom ke bawah */
        grid-template-columns: 1fr; 
        gap: 80px; /* Jarak antar testimoni diperlebar di HP */
    }
    
    .testi-text {
        font-size: 1.1rem; /* Ukuran font disesuaikan di HP */
    }
}
/* =========================================================
   8. RESPONSIVE MOBILE (FIXED & LUXURY)
   ========================================================= */
@media (max-width: 968px) {

    /* --- 1. NAVBAR (SAMA DENGAN CONTACT) --- */
    .nav-container { padding: 0 24px; justify-content: flex-start; }
    
    .nav-logo { margin-right: auto; z-index: 1100; }
    
    .theme-toggle { order: 2; margin-right: 20px; font-size: 1.3rem; display: block; z-index: 1100; }
    
    .nav-extras { 
        order: 3; margin-left: 0; gap: 0; z-index: 1100; 
        display: flex; align-items: center; 
    }

    /* Hamburger Config */
    .hamburger {
        display: flex; flex-direction: column; justify-content: center;
        gap: 6px; cursor: pointer; width: 35px; height: 35px;
        z-index: 1100; background: transparent; padding: 0; border: none;
    }
    .bar {
        width: 100%; height: 2px; background: var(--text-dark);
        transition: 0.3s; margin: 0 !important; border-radius: 2px;
    }
    /* Animasi Hamburger */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .btn-get-product { display: none; }

    /* Menu Drawer */
    .nav-menu {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
        background: var(--bg-color); flex-direction: column; justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1050; padding-top: 60px;
    }
    .nav-menu.active { left: 0; }

    /* --- 2. HERO ADJUSTMENT --- */
    .video-background iframe {
        width: 300%; left: -100%; /* Zoom in video di HP agar fokus */
    }

    /* --- 3. FORM MOBILE --- */
    .luxury-border-inner { padding: 30px 20px; }
    .form-wrapper h2 { font-size: 2rem; }
}

