/* ===================================
   1. PERSIAPAN ASAS & PEMBOLEHUBAH CSS
   =================================== */
/* CSS Reset untuk memastikan konsistensi merentas pelayar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pembolehubah (Variables) untuk warna dan fon.
   Ini memudahkan kita mengubah tema keseluruhan laman web. */
:root {
    --primary-color: #005A9C; /* Biru Korporat */
    --secondary-color: #F4F4F9; /* Kelabu Sangat Cerah */
    --accent-color: #FFC107;   /* Kuning Emas untuk aksen */
    --text-color: #333333;     /* Kelabu Gelap untuk teks */
    --light-text-color: #FFFFFF; /* Putih */
    --font-primary: 'Roboto', sans-serif; /* Fon untuk body */
    --font-heading: 'Montserrat', sans-serif; /* Fon untuk tajuk */
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   2. TIPOGRAFI & KOMPONEN GLOBAL
   =================================== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color);
}

/* Gaya Butang */
.btn-primary, .btn-contact {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 90, 156, 0.2);
}

.btn-primary:hover {
    background-color: #004170; /* Biru lebih gelap apabila hover */
    transform: translateY(-3px); /* Efek naik sedikit */
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.3);
}

.btn-contact {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.btn-contact:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

/* ===================================
   3. HEADER & NAVIGASI
   =================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.95); /* Putih sedikit lutsinar */
    backdrop-filter: blur(10px); /* Efek kaca moden */
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem; /* Jarak antara pautan */
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* ===================================
   4. BAHAGIAN UTAMA (HERO)
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Gradien lembut */
    padding: 180px 0 100px; /* Padding atas yang besar untuk header fixed */
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* ===================================
   5. FOOTER
   =================================== */
.main-footer {
    background-color: var(--text-color);
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
}

.main-footer p {
    margin: 0;
}

/* ===================================
   6. RESPONSIVITI (Untuk Skrin Kecil)
   =================================== */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}