/* --- VARIABLES & RESET --- */
:root {
    /* Warna Utama (ComNav Blue & Lextera Gold) */
    --primary-blue: #004b8d; 
    --dark-blue: #002a50;
    --accent-gold: #c5a059; /* Warna Emas Logo */
    --accent-orange: #ff6b00; /* Untuk tombol CTA urgent */
    
    /* Warna Netral */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Font */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
.text-gold { color: var(--accent-gold); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}
.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--white);
    border: none;
}
.btn-gold:hover { background-color: #b08d48; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 50px; width: auto; } /* Sesuaikan tinggi logo */
.logo-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--text-dark); letter-spacing: 1px; }
.brand-tag { font-size: 0.7rem; color: var(--accent-gold); text-transform: uppercase; font-weight: 600; }

.navbar .nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }
.mobile-cta { display: none; }

.btn-wa-header {
    background: #25D366;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; }
.bar { width: 25px; height: 3px; background-color: var(--text-dark); margin: 5px 0; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero {
    height: 125vh; /* Sedikit lebih pendek dari 100vh untuk memberi sedikit ruang atas bawah */
    min-height: 600px; /* Minimal tinggi agar tidak terlalu kecil di layar kecil */
    background-color: var(--dark-blue); /* Latar belakang biru solid */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0; 
    padding-top: 80px; /* Offset untuk fixed header */
    box-sizing: border-box; /* Pastikan padding dihitung dalam tinggi */
}

.hero-overlay { /* Ini tidak lagi dibutuhkan untuk warna solid, bisa dihapus atau dikomentari */
    display: none; /* Menyembunyikan overlay */
}

/* START: Perubahan Utama untuk Layout Hero Rata Kiri & Gambar */
.hero-split-layout { /* Ini adalah container utama untuk teks dan gambar */
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Menjaga jarak antara teks dan gambar */
    width: 100%; /* Pastikan mengisi lebar container */
    height: 100%; /* Pastikan mengisi tinggi hero section */
}

.hero-text-content {
    flex: 1; /* Mengambil ruang yang tersedia */
    max-width: 600px; /* Batasi lebar teks */
    text-align: left;
    padding-right: 30px; /* Jarak antara teks dan gambar */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 20px 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
}

.hero-image-content {
    flex: 1; /* Mengambil sisa ruang */
    display: flex;
    justify-content: flex-end; /* Posisikan gambar di kanan */
    align-items: center;
    /* Tidak perlu padding-left di sini, biarkan justify-content yang mengatur */
}

.product-hero-img {
    max-width: 100%; 
    max-height: 450px; /* Batasi tinggi gambar agar proporsional */
    width: auto; /* Mempertahankan rasio aspek */
    height: auto;
    background-color: #333; /* Warna background untuk placeholder "Foto Hero" */
    color: #fff; /* Warna teks untuk placeholder "Foto Hero" */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; /* Ukuran teks untuk placeholder "Foto Hero" */
    font-weight: 700;
    border-radius: 10px; /* Sudut sedikit melengkung */
    box-shadow: 0 15px 40px rgba(0,0,0,0.3); /* Bayangan untuk efek kedalaman */
    /* Pastikan gambar asli yang diupload nanti juga memenuhi ini */
    object-fit: contain; /* Agar gambar tidak terpotong dan muat dalam kotak */
}
/* END: Perubahan Utama untuk Layout Hero Rata Kiri & Gambar */

/* Responsive untuk Hero Section di Mobile */
/* Responsive untuk Hero Section di Mobile */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh; /* Full screen di HP biar gagah */
        padding-top: 100px;
        padding-bottom: 50px;
        text-align: center; /* Pastikan semua teks rata tengah */
    }

    .hero-split-layout {
        flex-direction: column;
        justify-content: center; /* Konten vertikal di tengah */
        align-items: center;     /* Konten horizontal di tengah */
    }

    .hero-text-content {
        max-width: 100%;
        margin-bottom: 0; /* Hapus margin bawah karena gambar sudah hilang */
        padding-right: 0; /* Hapus padding kanan */
        text-align: center; /* Paksa teks rata tengah di HP */
    }

    .hero-buttons {
        justify-content: center; /* Tombol di tengah */
        margin-top: 30px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; margin: 0 auto 20px auto; } /* Margin auto biar paragraf di tengah */

    /* --- INI BAGIAN PENTINGNYA --- */
    .hero-image-content {
        display: none; /* MENGHILANGKAN GAMBAR DI MOBILE */
    }
}

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 5;
    margin-top: -50px; /* Overlap effect */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.trust-item h4 { font-size: 1rem; margin-bottom: 2px; color: var(--dark-blue); }
.trust-item p { font-size: 0.85rem; color: var(--text-gray); }

/* --- SECTIONS GENERAL --- */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header { margin-bottom: 50px; }
.section-subtitle { color: var(--accent-gold); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 2.5rem; color: var(--dark-blue); }
.title-line { width: 60px; height: 4px; background: var(--accent-gold); margin: 15px auto 0; }

/* --- ABOUT SPLIT --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-text p { margin-bottom: 20px; color: var(--text-gray); }

.feature-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.feature-list i { color: var(--primary-blue); }

.split-image { position: relative; }
.split-image img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.exp-badge {
    position: absolute;
    bottom: -20px; left: -20px;
    background: var(--primary-blue);
    color: white;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.big-num { font-size: 2rem; font-weight: 800; color: var(--accent-gold); }

/* --- PRODUCTS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}
.product-card:hover { transform: translateY(-10px); }

.badge-new, .badge-hot {
    position: absolute;
    top: 15px; right: 15px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    z-index: 2;
}
.badge-new { background: var(--primary-blue); color: white; }
.badge-hot { background: var(--accent-orange); color: white; }

.prod-img-box {
    background: #f4f4f4;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prod-img-box img { max-height: 200px; width: auto; mix-blend-mode: multiply; }

.prod-details { padding: 25px; }
.prod-cat { color: var(--text-gray); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.prod-details h3 { color: var(--dark-blue); margin: 5px 0 10px; font-size: 1.2rem; }
.prod-details p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 20px; }
.btn-prod { color: var(--primary-blue); font-weight: 600; font-size: 0.9rem; }
.btn-prod:hover { color: var(--accent-gold); text-decoration: underline; }

/* --- CTA SECTION --- */
.cta-section {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.cta-section h2 { margin-bottom: 10px; }
.cta-section p { margin-bottom: 30px; opacity: 0.8; }

/* --- FOOTER --- */
footer { background: #111; color: #aaa; padding-top: 60px; font-size: 0.9rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo h3 { color: var(--white); font-size: 1.5rem; letter-spacing: 1px; }
.footer-logo p { color: var(--accent-gold); font-size: 0.7rem; letter-spacing: 3px; margin-bottom: 20px; }

.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent-gold); }

.contact-list i { width: 25px; color: var(--accent-gold); }

.footer-bottom { padding: 20px 0; text-align: center; background: #000; }

/* --- FLOATING WA --- */
.float-wa {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25D366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}
.float-wa:hover { transform: scale(1.1); }

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links {
        position: absolute;
        right: 0px;
        top: 80px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        box-shadow: -2px 5px 10px rgba(0,0,0,0.1);
        padding-top: 40px;
    }
    .nav-links.active { transform: translateX(0%); }
    .nav-links li { opacity: 0; }
    .hamburger { display: block; margin-left: 15px; }
    
    .btn-wa-header { display: none; }
    .mobile-cta { display: block; margin-top: 20px; }
    .mobile-cta a { background: var(--primary-blue); color: white; padding: 10px 30px; border-radius: 5px; }
    
    .split-layout { grid-template-columns: 1fr; }
    .split-image { order: -1; margin-bottom: 20px; }
    
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}