/* ROOT VARIABLES & CONFIG */
:root {
    --bg-deep: #0a0a0a;
    --bg-surface: #141414;
    --text-main: #e0e0e0;
    --text-muted: #a3a3a3;
    --gold: #D4AF37;
    --gold-dim: #8a7224;
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Manrope', sans-serif;
    --container-width: 1280px;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* PERFORMANCE FIX: Mencegah 'invisible text' saat font loading */
    font-display: swap; 
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: #fff; }

/* MOBILE FIX: Clamp minimum diturunkan dari 2.5rem ke 2rem agar aman di HP kecil */
h1 { font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
p { color: var(--text-muted); font-weight: 300; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* UTILITY CLASSES */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.hidden { opacity: 0; visibility: hidden; display: none; }

.btn-gold {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}
.btn-gold:hover { background: var(--gold); color: var(--bg-deep); }

/* HEADER / NAV (DEFAULT STATE) */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 25px 0;
    mix-blend-mode: normal;
    transition: all 0.4s ease;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { 
    height: 70px; 
    width: auto; 
    transition: height 0.4s ease;
}

/* HEADER / NAV (SCROLLED STATE) */
header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
header.scrolled .logo img { height: 50px; }

/* HAMBURGER */
.menu-toggle { 
    cursor: pointer; 
    z-index: 102; 
    display: flex; 
    gap: 10px; 
    align-items: center;
    /* MOBILE FIX: Memperbesar area sentuh jari tanpa merusak visual */
    padding: 10px;
    margin-right: -10px;
}
.menu-txt { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #fff; }
.hamburger { width: 30px; height: 10px; position: relative; }
.hamburger span {
    position: absolute; width: 100%; height: 1px; background: #fff;
    transition: var(--transition);
}
.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }

/* HERO SECTION */
.hero {
    height: 100vh; width: 100%; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    /* PERFORMANCE: Fallback color jika video lambat load */
    background-color: #000; 
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; opacity: 0.6;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* ACCESSIBILITY FIX: Gradient sedikit lebih gelap di atas agar teks H1 kontras */
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,1));
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; text-align: center; max-width: 800px;
    padding: 0 20px;
}
.hero-sub {
    display: block; font-family: var(--font-body); font-size: 1rem;
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px;
    color: var(--gold);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 80px; background: rgba(255,255,255,0.1); overflow: hidden; z-index: 2;
}
.scroll-indicator span {
    display: block; width: 100%; height: 100%; background: var(--gold);
    animation: scroll-down 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes scroll-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* FULL SCREEN MENU OVERLAY */
.fs-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-deep); z-index: 101;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateY(-100%); transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.fs-menu.active { transform: translateY(0); }
.fs-menu ul { list-style: none; text-align: center; }
.fs-menu li { margin: 20px 0; overflow: hidden; }
.fs-menu a {
    font-family: var(--font-heading); font-size: 2.5rem; color: var(--text-main);
    display: block; transform: translateY(100%); transition: var(--transition);
}
.fs-menu.active a { transform: translateY(0); transition-delay: 0.3s; }
.fs-menu a:hover { color: var(--gold); font-style: italic; }

/* COLLECTIONS & PARALLAX */
.collection-card {
    position: relative; height: 400px; overflow: hidden; cursor: pointer;
}
.parallax-img-wrapper {
    width: 100%; height: 100%; overflow: hidden; position: relative;
}
.parallax-img {
    width: 100%; height: 120%; object-fit: cover; will-change: transform;
}

/* NARRATIVE FORM (LUXURY STYLE) */
.narrative-form {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 2;
    color: #ccc;
}
.narrative-form p {
    color: #ccc; font-family: var(--font-heading); margin-bottom: 30px;
}
.narrative-form input, .narrative-form select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: inherit;
    text-align: center;
    padding: 0 10px;
    outline: none;
    transition: border-color 0.3s;
    min-width: 100px;
    border-radius: 0; 
}

/* FORM DROPDOWN FIXES */
.narrative-form select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: inherit;
    text-align: center;
    padding: 0 25px 0 10px; 
    outline: none;
    transition: all 0.3s ease;
    min-width: 120px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom Gold Arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23D4AF37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 10px auto;
}
.narrative-form select:hover, .narrative-form select:focus, .narrative-form input:focus {
    border-bottom-color: var(--gold);
}
.narrative-form input::placeholder { color: #444; font-style: italic; font-size: 0.9rem; }
.narrative-form select option {
    background-color: #1f1f1f !important; 
    color: #e5c558 !important; 
    padding: 10px;
}

/* --- FAQ ACCORDION STYLES (NEW!) --- */
.accordion-item {
    border-bottom: 1px solid #333;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}
.accordion-item:hover { border-bottom-color: #555; }

.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Menghilangkan highlight biru saat tap di mobile */
    -webkit-tap-highlight-color: transparent; 
}
.accordion-header h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    margin: 0;
    color: var(--text-main);
}
.accordion-header span {
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease; /* Animasi putar */
}
.accordion-content {
    margin-top: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Active State */
.accordion-item.active .accordion-content {
    max-height: 300px; /* Cukup longgar untuk konten teks */
    opacity: 1;
    margin-top: 15px;
}
.accordion-item.active .accordion-header span {
    transform: rotate(45deg); /* Tanda + berubah jadi X */
}

/* FOOTER */
footer { padding: 80px 0 40px; background: var(--bg-surface); border-top: 1px solid #222; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-bottom: 60px;
}
.footer-title {
    font-family: var(--font-heading); color: var(--gold); margin-bottom: 20px;
    font-size: 1.2rem;
}
/* CLS FIX: Mengganti padding-left dengan transform agar tidak layout shift */
.footer-link { 
    display: block; 
    margin-bottom: 10px; 
    color: var(--text-muted); 
    transition: transform 0.3s ease, color 0.3s ease;
}
.footer-link:hover { 
    transform: translateX(5px);
    color: #fff; 
}
.legal { text-align: center; border-top: 1px solid #222; padding-top: 20px; font-size: 0.8rem; color: #555; }

/* PARTNER LOGOS */
.partner-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 40px;
    opacity: 0.4; filter: grayscale(100%); transition: opacity 0.5s;
}
.partner-grid:hover { opacity: 0.8; }

/* BREADCRUMB STYLES */
.breadcrumb-nav {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    z-index: 10;
}
.breadcrumb-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.breadcrumb-nav a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.breadcrumb-separator {
    color: var(--gold);
    margin: 0 10px;
    font-weight: bold;
}
.breadcrumb-current {
    color: var(--gold);
    cursor: default;
    pointer-events: none;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
}
/* --- TRUST BADGE STYLING (Responsive) --- */
.trust-badge-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0.8;
    width: 100%;
}

/* Khusus Tampilan Mobile (HP) */
@media (max-width: 768px) {
    .trust-badge-container {
        flex-direction: column; /* Ubah jadi susunan vertikal (atas-bawah) */
        gap: 10px; /* Kurangi jarak agar lebih rapat */
        text-align: center; /* Pastikan teks rata tengah */
    }
    
    /* Opsional: Sedikit perbesar logo di HP agar seimbang */
    .trust-badge-container img {
        height: 30px; /* Sedikit lebih besar dari desktop (25px) */
        width: auto;
    }
}