/* --- Variabel & Reset --- */
:root {
    --color-wall: #EAE0D3;
    --color-floor: #A56D54;
    --color-text-dark: #333333;
    --color-text-light: #555555;
    --color-accent: #9A6650;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    overflow-x: hidden;
}

/* --- Latar Belakang --- */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    display: flex;
    flex-direction: column;
}

.wall { flex: 8; background-color: var(--color-wall); }
.floor { flex: 2; background-color: var(--color-floor); }

/* --- Dekorasi Aset --- */
.decor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none; 
}

/* REVISI 3 & 4: Geser kiri dan tambah bayangan */
.decor-plant {
    position: absolute;
    bottom: 10%;
    left: 0%; /* Digeser lebih ke kiri dari sebelumnya 5% */
    height: 65vh;
    object-fit: contain;
    /* Bayangan realistis mengikuti bentuk daun/pot */
    filter: drop-shadow(15px 15px 15px rgba(0,0,0,0.25)); 
}

/* REVISI 3 & 4: Geser kanan dan tambah bayangan */
.decor-cabinet {
    position: absolute;
    bottom: 10%;
    right: -2%; /* Digeser lebih ke kanan dari sebelumnya 5% */
    height: 38vh;
    object-fit: contain;
    filter: drop-shadow(-15px 20px 20px rgba(0,0,0,0.4));
}

/* REVISI 2 & 4: Tempel ke atas dan tambah bayangan */
.decor-lights {
    position: absolute;
    top: -1%; 
    right: 15%;
    height: 48vh;
    object-fit: contain;
    /* Memaksa gambar rata atas (menghilangkan ruang kosong transparan di atas file PNG) */
    object-position: top; 
    filter: drop-shadow(0px 15px 15px rgba(0,0,0,0.15));
}

/* --- Layout Konten Utama --- */
.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 4%;
}

/* --- Navigasi --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center; /* Memastikan teks dan tombol rata tengah vertikal */
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--color-accent); }

/* Tombol Sign In (sekarang di dalam nav-links) */
.btn-signin-nav {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 10px; /* Jarak ekstra dari menu Contact */
}

.btn-signin-nav:hover { background-color: var(--color-accent); }

.nav-actions {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: #333;
    margin-left: 15px;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.social-icons a:hover { opacity: 0.6; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Area Hero --- */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 10vh;
}

.hero-text { max-width: 600px; }

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    border: none;
    margin: 0 auto 20px auto;
}

.hero h2 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--color-text-dark);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-text-dark);
    color: #fff;
}

.btn-secondary {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-dark);
    transition: width 0.3s ease;
}

.btn-secondary:hover::after { width: 100%; }

/* --- Utility Animasi --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsif --- */
@media (max-width: 992px) {
    .decor-lights { right: 5%; height: 35vh; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links { gap: 15px; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    
    .nav-links { display: none; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-wall);
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 10;
        gap: 20px;
    }
    
    .btn-signin-nav { margin-left: 0; margin-top: 10px; }

    /* --- PERBAIKAN TATA LETAK MOBILE --- */
    
    /* 1. Lampu diperkecil dan didorong ke sudut kanan atas */
    .decor-lights { 
        height: 24vh; 
        right: 20%; 
        top: -1%;
    }

    /* 2. Tanaman diperkecil, ditarik agak keluar layar kiri, dan disamarkan */
    .decor-plant { 
        display: none; 
    } 
    
    /* 3. Kabinet diperkecil, ditarik ke pojok kanan bawah */
    .decor-cabinet { 
        height: 36vh; 
        right: -45%; 
        bottom: 13%; 
        opacity: 0.3; 
    }
    
    /* 4. Area teks utama diberikan padding ekstra agar aman di tengah */
    .hero { 
        padding-top: 8vh;    /* Menjauh dari lampu */
        padding-bottom: 10vh; /* Menjauh dari kabinet/tanaman */
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 0.85rem; padding: 0 10px; }
}