/* ========================================= */
/* 1. VARIABEL & RESET GLOBAL */
/* ========================================= */
:root {
    /* Tema Warna Biru Muda Elegan */
    --color-primary: #A5DFF9;     /* Light Sky Blue - Aksen */
    --color-secondary: #002E64;   /* Dark Navy - Teks/Footer */
    --color-accent: #FFFFFF;      /* Putih Bersih */
    --color-light-bg: #F0F8FF;    /* Alice Blue - Latar Belakang Section Ringan */
    --color-text: #333333;        /* Abu-abu Gelap */
    --color-shadow: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif; /* Asumsi menggunakan Google Font Poppins */
    color: var(--color-text);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mencegah scroll horizontal yang tidak diinginkan */
}

h1, h2, h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5em;
    font-weight: 700;
}

/* ========================================= */
/* 2. NAVIGATION BAR (STICKY) */
/* ========================================= */
.navbar {
    position: fixed; /* Ganti sticky menjadi fixed agar lebih solid */
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--color-accent);
    box-shadow: 0 4px 12px var(--color-shadow);
    transition: background-color 0.3s ease-in-out;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.navbar a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--color-primary);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

/* ========================================= */
/* 3. TOMBOL A K S I */
/* ========================================= */
.button {
    background-color: var(--color-primary);
    color: var(--color-secondary) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(165, 223, 249, 0.4);
}

.button:hover {
    background-color: #89CFF0; /* Biru muda sedikit lebih gelap */
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(165, 223, 249, 0.6);
}

/* Tombol di section gelap */
.section#contact .button {
    background-color: var(--color-accent);
    color: var(--color-secondary) !important;
}

.section#contact .button:hover {
    background-color: #f0f0f0;
    box-shadow: none;
}

/* ========================================= */
/* 4. SECTION UMUM */
/* ========================================= */
.section {
    padding: 100px 5%;
    position: relative;
}

/* ========================================= */
/* 5. HERO SECTION */
/* ========================================= */
#hero {
    background-color: var(--color-secondary);
    color: var(--color-accent);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Efek visual latar belakang: Ganti dengan gambar proyek Anda */
    background-image: url('placeholder-engineering.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    /* Overlay biru muda transparan untuk kesan elegan */
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 46, 100, 0.85); /* Navy transparan */
    z-index: 1;
}

#hero > div {
    z-index: 2;
    max-width: 900px;
}

#hero h1 {
    color: var(--color-accent);
    font-size: 3.5em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* ========================================= */
/* 6. SERVICES (CARD) */
/* ========================================= */
#services {
    background-color: var(--color-light-bg);
}

.services-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1;
    background-color: var(--color-accent);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--color-shadow);
    text-align: center;
    border-top: 5px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Efek terangkat */
    box-shadow: 0 10px 25px rgba(0, 46, 100, 0.15);
}

/* ========================================= */
/* 7. CONTACT FORM */
/* ========================================= */
#contact {
    background-color: var(--color-secondary);
    color: var(--color-accent);
}

#contact h2 {
    color: var(--color-primary);
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-top: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    transition: border-color 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
    outline: none;
    border-color: var(--color-primary); /* Garis fokus biru muda */
}

/* ========================================= */
/* 8. FOOTER */
/* ========================================= */
footer {
    background-color: var(--color-secondary);
    padding: 30px 5%;
    text-align: center;
    color: #b0b0b0;
    border-top: 3px solid var(--color-primary);
}

footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-accent);
}

/* ========================================= */
/* 9. SCROLL REVEAL CLASS (ANIMASI) */
/* ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* 10. MEDIA QUERIES (RESPONSIVE) */
/* ========================================= */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 2.5em;
    }

    .services-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none; /* Sembunyikan Navigasi di layar kecil (untuk kesederhanaan, asumsikan menu hamburger terpisah) */
    }

    .navbar-content {
        justify-content: center;
    }
    
    .section {
        padding: 60px 5%;
    }

    #hero h1 {
        font-size: 2em;
    }

    #about > div {
        flex-direction: column;
    }
}