/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

/* Variabel Warna & Style Global */
:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --body-color: #f8f9fa;
    --text-muted: #6c757d;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --border-radius: 0.5rem; /* Radius untuk tombol dan elemen lain */
}

body {
    font-family: var(--font-family);
    background-color: #ffffff;
    color: var(--dark-color);
}

/* Kustomisasi Container */
.container-custom {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* 1. Navbar */
/* Disederhanakan karena styling background dan shadow sudah ditangani oleh class Bootstrap di HTML */
.navbar {
    padding: 1rem 0;
}

.navbar-brand .logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color);
}

/* Konsistensi Tombol */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.nav-buttons {
    gap: 0.75rem; /* Jarak antar tombol */
}

/* 2. Main Content (Hero Section) */
.main-content {
    min-height: calc(100vh - 150px); /* Kalkulasi tinggi agar footer tidak melayang */
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.hero-text .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-image-container {
    /* Menentukan gambar dan path-nya dari folder css */
    background-image: url('../images/hero.jpg');
    
    /* Membuat gambar menutupi seluruh area div tanpa distorsi */
    background-size: cover;
    
    /* Memastikan bagian tengah gambar yang selalu ditampilkan */
    background-position: center center;

    /* Menjaga properti yang sudah ada */
    height: 500px;
    border-radius: var(--border-radius);
}


/* 3. Footer */
.footer-bottom {
    border-top: 1px solid #dee2e6;
    background-color: #ffffff;
}

/* 4. Loader Styling */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid var(--primary-color); /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 5. Generic Section Styling & Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.section {
    padding: 5rem 0;
}

.bg-light-gray {
    background-color: var(--body-color);
}

.section-title {
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-weight: 400;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}


/* 6. "Tentang Kami" Section Styling */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.feature-list li .emoji {
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-subheading {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* 7. "Kontak" Section Styling */
/* Class .contact-section DIHAPUS karena class .section sudah cukup untuk memberikan padding yang konsisten */
/* 8. Tombol Kustom WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
    border-color: #1EBE57;
    color: #ffffff;
}