/* ================= VARIABLES ================= */
:root {
    --primary: #0f172a; /* Navy Blue Gelap - Kesan Profesional */
    --accent: #0ea5e9;  /* Biru Terang - Kesan Teknologi */
    --highlight: #f59e0b; /* Kuning Emas - Kesan Premium */
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden; /* Mencegah scroll samping di HP */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar i { color: var(--highlight); margin-right: 5px; }

@media (max-width: 768px) {
    .top-bar-content { justify-content: center; font-size: 0.75rem; }
}

/* ================= NAVBAR ================= */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo-img { height: 40px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: 0.3s;
}

.nav-link:hover { color: var(--accent); }

.btn-contact {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-contact:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Dropdown */
.nav-item.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 200px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.dropdown-item:hover { background: var(--bg-light); color: var(--accent); }

/* HAMBURGER MENU (MOBILE) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: 0.3s;
}

/* ================= SLIDER HERO ================= */
.slider {
    position: relative;
    height: 80vh; /* Tinggi menyesuaikan layar */
    min-height: 500px;
    background: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6); /* Overlay gelap agar teks terbaca */
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.btn-primary {
    background: var(--highlight);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
}

/* ================= CONTENT SECTIONS ================= */
.content-section { padding: 80px 0; }
.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Features Grid (Kotak Layanan) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.icon-feature {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services Grid (List Kecil) */
.divider { margin: 60px 0; border: 0; border-top: 1px solid #e2e8f0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.service-item {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
}

/* Area Box */
.area-box {
    margin-top: 60px;
    background: #e0f2fe; /* Light Blue Bg */
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px dashed var(--accent);
}

.area-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--primary);
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* Floating WA */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* ================= RESPONSIVE MOBILE ================= */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Tinggi navbar */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px); /* Full height minus navbar */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding-top: 40px;
        gap: 0;
    }

    .nav-menu.active { left: 0; }

    .nav-menu li { width: 100%; padding: 15px 0; }
    
    .btn-contact {
        background: transparent;
        color: var(--primary);
        padding: 0;
    }

    /* Slider di HP */
    .slide-content h1 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
    
    /* Animasi Hamburger */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Animasi Fade In */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }