/* ====================== */
/* 1. Reset & Variabel */
/* ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #fff; /* Putih */
    --text-color: #006699; /* Biru Gelap Utama */
    --secondary: #006699; /* Sama dengan text-color, bisa untuk penekanan */
    --text-color2: #333; /* Abu-abu Gelap untuk teks umum */
    --third: #007bff; /* Biru Cerah untuk aksen */
    --light-bg: #f8f9fa; /* Latar belakang terang untuk bagian tertentu */
    --dark-bg: #212529; /* Latar belakang gelap untuk footer */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color2); /* Teks umum sekarang abu-abu gelap */
    background-color: var(--primary);
    padding-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--text-color); /* Tautan umum berwarna biru gelap */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px;
}

.button-primary {
    display: inline-block;
    background-color: var(--secondary); /* Warna biru gelap */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Transisi lebih cepat */
    font-weight: bold;
}

.button-primary:hover {
    background-color: var(--text-color); /* Tetap biru gelap saat hover */
    text-decoration: none;
}

.button-primary.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.button-secondary {
    display: inline-block;
    background-color: var(--secondary); /* Warna biru gelap */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Transisi lebih cepat */
    font-weight: bold;
}

.button-secondary:hover {
    background-color: var(--primary); /* Latar belakang putih saat hover */
    color: var(--text-color); /* Teks biru gelap saat hover */
    text-decoration: none;
}



/* ====================== */
/* 2. Header */
/* ====================== */
.main-header {
    background-color:#fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    display: flex;
    align-items: center;
}

.logo1 {
    width: 50px;
    height: 50px;
    margin-right: 10px; /* Jarak antara logo gambar dan teks */
}

.main-header .logo a {
    font-size: 1.5rem; /* Ukuran font lebih proporsional */
    font-weight: bold;
    color: var(--third); /* Abu-abu gelap untuk nama brand */
    text-decoration: none;
}
.main-header .logo a span {
    color: var(--third); /* Biru cerah untuk span di logo */
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-right: 25px;
}

.main-nav ul li a {
    font-weight: 500;
    color: var(--text-color2); /* Warna teks menu */
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--secondary); /* Warna saat hover */
    text-decoration: none;
}

/* Sembunyikan hamburger menu di desktop */
.navbar-extra {
    display: none;
}

/* ====================================================== */
/* 3. HERO SECTION */
/* ====================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Sedikit lebih tinggi */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Kompensasi untuk navbar fixed */
    background-color: var(--light-bg); /* Warna latar belakang jika gambar belum load */
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-buttons {
    position: absolute;
    z-index: 10;
    display: flex;
    gap: 20px; /* Jarak antar tombol sedikit lebih lebar */
    bottom: 80px; /* Posisi tombol agak ke atas dari bawah */
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: wrap;
    justify-content: center;
}

/* ====================================================== */
/* 4. WHY US SECTION */
/* ====================================================== */
.why-us-section {
    padding: 80px 0;
    background-color: var(--primary); /* Putih */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Kolom responsif */
    gap: 30px;
}

.why-us-item {
    background-color: var(--light-bg); /* Latar belakang terang */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.why-us-item i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.why-us-item p {
    font-size: 0.95rem;
    color: var(--text-color2);
}

/* ====================================================== */
/* 5. SERVICES SECTION */
/* ====================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg); /* Latar belakang terang */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Kolom lebih padat */
    gap: 25px;
}

.service-item {
    background-color: var(--primary); /* Putih */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* ====================================================== */
/* 6. TESTIMONIALS SECTION */
/* ====================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--primary);
}

.testimonial-carousel {
    display: flex;
    justify-content: center;
    gap: 30px; /* Jarak antar testimoni */
    flex-wrap: wrap; /* Agar bisa turun baris di mobile */
}

.testimonial-item {
    flex: 0 0 auto; /* Tidak flex-grow, tidak flex-shrink, basis otomatis */
    width: 280px; /* Lebar tetap untuk setiap item testimoni */
    max-width: 90%; /* Pastikan tidak melebihi lebar layar di mobile */
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden; /* Pastikan gambar tidak meluap */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-item img {
    width: 100%;
    height: auto; /* Biarkan tinggi menyesuaikan */
    display: block;
}

/* ====================================================== */
/* 7. CONTACT US SECTION */
/* ====================================================== */
.contact-us-section {
    padding: 80px 0;
    background-color: var(--dark-bg); /* Latar belakang gelap */
    color: var(--primary); /* Teks putih */
}

.contact-us-section h2 {
    color: var(--primary); /* Judul putih */
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.contact-info, .social-media {
    flex: 1;
    min-width: 300px; /* Lebar minimum agar tidak terlalu sempit */
    max-width: 450px;
    background-color: #343a40; /* Sedikit lebih terang dari dark-bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-info h3, .social-media h3 {
    color: var(--third); /* Judul bagian biru cerah */
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--third);
}

.social-media a {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--primary); /* Teks tautan putih */
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--third); /* Biru cerah saat hover */
    text-decoration: none;
}

.social-media a i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}
.social-media a:hover i {
    color: var(--third);
}

/* ======================== */
/* 8. Footer */
/* ======================== */
.main-footer {
    background-color: var(--dark-bg); /* Warna gelap seperti di situs asli */
    color: white;
    padding: 40px 0 20px 0;
    font-size: 0.9em;
    border-top: 1px solid rgba(255,255,255,0.1); /* Garis pemisah dari contact section */
}

.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.main-footer .footer-col {
    flex: 1;
    min-width: 200px;
}

.main-footer .footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.main-footer .footer-col ul {
    list-style: none;
}

.main-footer .footer-col ul li {
    margin-bottom: 8px;
}

.main-footer .footer-col ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.main-footer .footer-col ul li a:hover {
    color: var(--third); /* Biru cerah saat hover */
    text-decoration: none;
}

.main-footer .footer-col p {
    color: #bbb;
}

.main-footer .copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #bbb;
}

/* ====================================================== */
/* 9. Media Queries (Mobile) */
/* ====================================================== */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-nav,
    .button-primary {
        display: none;
    }

    .navbar-extra {
        display: block;
        margin-left: auto;
    }
    .img-fluid {
    max-width: 100%; /* Gambar tidak akan pernah melebihi lebar kontainer induknya */
    height: auto;    /* Tinggi gambar akan dihitung secara otomatis untuk menjaga rasio aspek */
    display: block;  /* Menghilangkan ruang kosong di bawah gambar */
}

    /* Penyesuaian Hero Section di Mobile */
    .hero-section {
        height: 60vh;
        padding-top: 70px;
    }

    .hero-buttons {
        bottom: 30px;
        flex-direction: column;
        align-items: center;
    }

    .button-primary.large {
        width: 80%;
        max-width: 300px;
    }

    .button-secondary {
        margin-left: 0;
        margin-top: 10px;
        width: 80%;
        max-width: 300px;
    }

    /* Penyesuaian Why Us Section di Mobile */
    .why-us-grid {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
    }

    /* Penyesuaian Services Section di Mobile */
    .services-grid {
        grid-template-columns: 1fr; /* Satu kolom di mobile */
    }
    .service-item {
        max-width: 350px;
        margin: 0 auto; /* Tengah item */
    }

    /* Penyesuaian Testimonials Section di Mobile */
    .testimonial-carousel {
        flex-direction: column;
        align-items: center;
    }

    /* Penyesuaian Contact Us Section di Mobile */
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-info, .social-media {
        width: 90%; /* Ambil lebih banyak lebar di mobile */
        max-width: 400px; /* Batasi maksimum */
    }
}
/* ================= */
/* Media */
/* ================= */

@media (max-width: 480px) {
    .main-header {
        padding: 10px 0;
    }
    .logo1 {
        width: 40px;
        height: 40px;
    }
    .main-header .logo a {
        font-size: 1.3rem;
    }
    #hamburger-menu {
        font-size: 1.6rem;
    }

    .hero-section {
        height: 50vh;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

