/* Variabel Warna & Gaya Global */
:root {
    --gold-color: #D4AF37;
    --gold-hover-color: #c5a231;
    --dark-blue: #0A2342;
    --light-gray: #f4f4f4;
    --font-color-dark: #333;
    --font-color-light: #fff;
    --header-font-color: #2c2c2c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--font-color-dark); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ------------------- Gaya Header ------------------- */
.sticky-header { background-image: url(images/header.png); background-size: cover; background-position: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.25rem 1rem; font-size: 0.9rem; }
.social-icons { display: flex; align-items: center; gap: 1rem; }
.social-icons img { height: 20px; width: auto; }
.language-selector { display: flex; align-items: center; gap: 0.75rem; }
.language-selector img { height: 18px; width: auto; border-radius: 3px; cursor: pointer; }
.main-nav { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 1rem; position: relative; color: var(--header-font-color); }

/* ------------------- Logika Menu Mobile-First ------------------- */
.nav-left, .nav-right { display: none; flex-direction: column; width: 100%; text-align: center; }
.nav-left ul, .nav-right ul { flex-direction: column; gap: 0; padding: 0; width: 100%; }
.nav-left ul li a, .nav-right ul li a { display: block; padding: 1rem 0; transition: background-color 0.2s ease; }
.nav-left ul li a:hover, .nav-right ul li a:hover, .nav-left ul li a:active, .nav-right ul li a:active { background-color: var(--gold-hover-color); }
.mobile-menu-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--header-font-color); }
.logo-container { height: 60px; }
.logo-container img { height: 100%; width: auto; }
.main-nav.nav-open { flex-wrap: wrap; justify-content: center; row-gap: 1rem; padding-bottom: 1rem; }
.main-nav.nav-open .nav-left, .main-nav.nav-open .nav-right { display: flex; }
.main-nav.nav-open .logo-container { display: none; }
.main-nav.nav-open .mobile-menu-toggle { position: absolute; top: 1.2rem; right: 1rem; }
.has-dropdown .fa-chevron-down, .has-dropdown .fa-chevron-right { font-size: 0.7em; margin-left: 0.5em; transition: transform 0.3s ease; }
.dropdown { display: none; }
.main-nav.nav-open .dropdown { position: static; background-color: var(--gold-hover-color); padding: 0.5rem 0; margin-top: 0.5rem; }
.main-nav.nav-open .dropdown a { padding: 0.75rem 0; font-size: 0.9em; }
.main-nav.nav-open .dropdown a:hover { background-color: #b5922c; }
.main-nav.nav-open .has-dropdown.dropdown-open > .dropdown { display: block; }
.main-nav.nav-open .has-dropdown.dropdown-open > a > .fa-chevron-down, .main-nav.nav-open .has-dropdown.dropdown-open > a > .fa-chevron-right { transform: rotate(180deg); }

/* ------------------- Hero & Content Sections ------------------- */
.hero-section { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #000; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-background video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; }
.video-background video.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0); color: #fff; text-align: center; padding: 1rem; }
.content-section { padding: 4rem 1rem; }
.content-section h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
#property { background-color: var(--light-gray); color: var(--font-color-dark); }
.page-placeholder { background-color: var(--light-gray); }
#services, #testimony { background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(images/background.jpg) center center/cover no-repeat fixed; color: var(--font-color-light); }
#services .service-card { border-color: rgba(255, 255, 255, .5); background-color: rgba(0, 0, 0, .5); color: var(--font-color-light); }
#services .service-icon, #services .service-title { color: var(--font-color-light); }
#property .btn-view-all { border-color: var(--dark-blue); color: var(--dark-blue); }
#property .btn-view-all:hover { background-color: var(--dark-blue); color: #fff; }
#property .properties-nav .arrow-btn { background: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }
#property .properties-nav .arrow-btn:hover { background: #000; }
.testimonial-quote, .client-name { text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
#testimony .testimonial-nav-btn { border-color: var(--font-color-light); color: var(--font-color-light); background-color: rgba(0, 0, 0, .2); }
#testimony .testimonial-nav-btn:hover { background-color: rgba(0, 0, 0, .4); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.service-card { border-radius: 8px; padding: 2rem; text-align: center; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.service-icon { font-size: 3rem; margin-bottom: 1rem; }
.service-title { font-size: 1.3rem; margin-bottom: 1rem; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.service-description { list-style: none; padding-left: 0; margin-top: auto; }
.service-description li { position: relative; padding-left: 1.75em; text-align: left; font-size: .95rem; line-height: 1.8; margin-bottom: 0.5rem; }
.service-description li::before { content: '✓'; position: absolute; left: 0; top: 4px; color: var(--gold-color); font-weight: bold; }
.properties-header { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto 2rem auto; flex-wrap: wrap; gap: 1rem; }
.properties-header .properties-header-title { flex-grow: 1; margin-right: auto; }
.properties-header h2 { margin-bottom: 0; text-align: left; }
.properties-controls { display: flex; align-items: center; gap: 1rem; }
.btn-view-all { padding: .5rem 1.5rem; border-radius: 20px; font-weight: 500; transition: background-color .3s, color .3s, box-shadow .3s; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.btn-view-all:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.properties-nav .arrow-btn { border-radius: 50%; width: 40px; height: 40px; font-size: 1rem; cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.properties-nav .arrow-btn:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.properties-scroll-container { overflow-x: auto; scroll-behavior: smooth; padding-bottom: 1rem; -ms-overflow-style: none; scrollbar-width: none; }
.properties-scroll-container::-webkit-scrollbar { display: none; }
.properties-grid { display: flex; gap: 1.5rem; width: -moz-max-content; width: max-content; }
.property-card { flex: 0 0 320px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); transition: transform .3s ease, box-shadow .3s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.property-image { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.property-image img { width: 100%; height: 100%; object-fit: cover; }
.property-status { position: absolute; top: 1rem; left: 1rem; background: var(--dark-blue); color: #fff; padding: .3rem .8rem; border-radius: 20px; font-size: .8rem; font-weight: 500; }
.property-status.new-status { background: var(--gold-color); color: var(--header-font-color); }
.property-details { padding: 1.5rem; text-align: left; }
.property-title { font-size: 1.2rem; margin-bottom: .5rem; }
.property-location { color: #666; margin-bottom: 1rem; }
.property-price { font-size: 1.3rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 1rem; }
.property-features { display: flex; gap: 1.5rem; color: #666; border-top: 1px solid #eee; padding-top: 1rem; }
.property-features span { display: flex; align-items: center; gap: .5rem; }
.testimonial-container { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonial-slider { display: flex; transition: transform .5s ease-in-out; }
.testimonial-slide { flex: 0 0 100%; padding: 0 4rem; text-align: center; }
.testimonial-quote { font-style: italic; font-size: 1.6rem; line-height: 1.6; margin-bottom: 1.5rem; }
.client-name { font-weight: 700; }
.testimonial-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; width: 45px; height: 45px; font-size: 1.2rem; cursor: pointer; transition: background-color .3s; }
.testimonial-nav-btn.prev { left: 0; }
.testimonial-nav-btn.next { right: 0; }
.testimonial-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.footer-section { background-color: #000; color: #aaa; padding: 4rem 1rem; }
.footer-content { display: flex; flex-direction: column; gap: 2rem; text-align: center; max-width: 1100px; margin: 0 auto; }
.footer-left .footer-contact-link { font-size: 1.5rem; font-weight: 700; color: #fff; display: inline-block; margin-bottom: .5rem; border-bottom: 2px solid var(--gold-color); padding-bottom: .5rem; }
.footer-right h4 { font-weight: 700; color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-company-name { font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-right p { margin-bottom: .5rem; line-height: 1.8; }
.footer-right a { color: #fff; }
.footer-right a:hover { text-decoration: underline; color: var(--gold-color); }
.footer-social-icons { display: flex; justify-content: center; gap: 1.5rem; margin-top: .5rem; }
.footer-social-icons img { height: 30px; width: auto; transition: opacity .3s, transform .3s; }
.footer-social-icons a:hover img { opacity: .8; transform: scale(1.1); }
.footer-qr-code { max-width: 120px; height: auto; margin: 1rem auto 0 auto; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; text-align: center; }
.copyright-text { font-size: .8rem; color: #888; margin-top: 0; }
.page-placeholder h1 { font-size: 4rem; color: #ccc; text-transform: uppercase; letter-spacing: 5px; }

@media (min-width: 992px) {
    .sticky-header { height: 100px; }
    .main-nav {
        display: flex; justify-content: space-between; align-items: center;
        height: 100%; padding: 0 2rem; flex-wrap: nowrap;
        position: static; /* PERBAIKAN: Hapus 'relative' agar tidak mengganggu logo */
    }
    .mobile-menu-toggle { display: none; }
    .main-nav.nav-open .logo-container { display: block; }
    .nav-left, .nav-right { display: flex; flex: 1; }
    .nav-left ul, .nav-right ul { display: flex; flex-direction: row; align-items: center; height: 100%; width: 100%; gap: 0; padding: 0; }
    .nav-left ul { justify-content: flex-start; }
    .nav-right ul { justify-content: flex-end; }
    .nav-left ul li a, .nav-right ul li a { display: flex; align-items: center; height: 100%; padding: 0 1.5rem; font-weight: 500; position: relative; font-size: 1.1rem; text-transform: uppercase; }
    .nav-left ul li a::after, .nav-right ul li a::after { content: ''; position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--header-font-color); transition: width .3s ease-out; }
    .nav-left ul li a:hover::after, .nav-right ul li a:hover::after { width: 60%; }
    
    /* PERBAIKAN FINAL: Logo diposisikan relatif terhadap seluruh header */
    .logo-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 90%; /* Sedikit lebih kecil dari tinggi header */
        max-height: 90px;
        /* Hapus semua properti frame dan bayangan */
        background: none;
        padding: 0;
        box-shadow: none;
    }
    .logo-container img {
        border-radius: 0;
        filter: none;
    }

    .hero-content h1 { font-size: 4rem; }
    .has-dropdown { position: relative; }
    .has-dropdown::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 10px; }
    .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); border-radius: 0 0 4px 4px; z-index: 1010; padding: .5rem 0; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
    .dropdown li a { padding: 1rem 1.5rem; width: 100%; height: auto; white-space: nowrap; transition: background-color .2s ease; text-transform: none; font-size: 1rem; }
    .dropdown li a:hover { background-color: var(--gold-hover-color); }
    .dropdown .has-dropdown > a { display: flex; justify-content: space-between; align-items: center; }
    .dropdown-nested { top: -.5rem; left: 100%; border-radius: 0 4px 4px 4px; }
    .has-dropdown:hover > .dropdown { display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .services-grid { grid-template-columns: repeat(5, 1fr); }
    .testimonial-quote { font-size: 1.8rem; }
    .footer-content { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; }
    .footer-social-icons { justify-content: flex-start; }
    .page-placeholder h1 { font-size: 6rem; }
}