/* Reset CSS Dasar */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}
body {
    font-family:'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #1a1616;
    background-image: url("http://localhost/36124003/praktikum_14/aset/gambar/bg14.jpg"); /* Menggunakan gambar Anda */
    background-color: #ffffff;      /* Warna cadangan (putih bersih) */
    background-size: cover;         /* Memastikan gambar menutupi seluruh layar */
    background-position: center;    /* Memposisikan gambar di tengah */
    background-repeat: no-repeat;   /* Mencegah gambar berulang */
    background-attachment: fixed;  
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Navigasi Bar */
.navbar {
    background: #83c2e5;
    color: #0d0808;
    padding: 1rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 4px rgba(31, 125, 148, 0.1);
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #010509;
}
.nav-links {
    list-style: none;
    display: flex;
}

/* --- Root Variables for Colors (Opsional, tapi direkomendasikan) --- */
:root {
    --primary-color: #4a69ff; 
    --secondary-color: #ff6b6b;
    --background-color: #ecf0f1; 
    --card-bg: #ffffff; /* Putih untuk menu dropdown */
    --text-color: #2c3e50; 
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- btn-group container --- */
.btn-group {
    position: relative; /* Penting untuk positioning dropdown */
    display: inline-flex;
    vertical-align: middle;
}

/* --- Base Button Styling (.btn) --- */
.btn {
    /* Hapus semua styling default Bootstrap */
    background: none; /* Hapus latar belakang */
    border: none; /* Hapus bingkai */
    padding: 0.5rem 1rem; /* Sesuaikan padding agar mirip link nav */
    font-size: 1.5rem;
    font-weight: 400; /* Sesuaikan font weight agar mirip nav link */
    line-height: 0;
    color: var(--text-color); /* Gunakan warna teks standar Anda */
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease-in-out; /* Transisi halus saat hover */
    font-family: 'Times New Roman', Times, serif;
}

.btn-danger:hover {
    background-color: var(--bs-danger-hover);
    border-color: var(--bs-danger-hover);
}

/* --- Dropdown Toggle Styling (.dropdown-toggle) --- */
.dropdown-toggle {
    /* Menambahkan padding ekstra untuk menampung panah (caret) */
    padding-right: 1.125rem; 
}

/* Membuat panah (caret) menggunakan pseudo-element */
.dropdown-toggle::after {
     /* ... (kode panah tetap sama seperti jawaban sebelumnya) ... */
    border-top: 4px solid var(--text-color);
}

/* --- Dropdown Menu Container (.dropdown-menu) --- */
.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    z-index: 1000;
    min-width: 250px; /* Sedikit lebih kecil */
    padding: 0.5rem 1rem; /* Menghapus padding container agar item memenuhi */
    margin: 20; /* Margin dari tombol utama */
    font-size: 1.3rem;
    color:blanchedalmond;
    text-align: left;
    list-style: none;
    background-color:#0b4352;
    border-radius: 0.25rem;
    font-family: 'Times New Roman', Times, serif;
}

/* Menampilkan menu saat kelas 'show' ditambahkan ke btn-group oleh JavaScript */
.btn-group.show .dropdown-menu {
    display: block; 
}*/

/* --- Dropdown Items (.dropdown-item) --- */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.2rem; /* Padding yang sama dengan nav-link */
    clear: both;
    font-weight: 500; /* Font weight yang sama */
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    background-color:#3c699a;
    border: 0;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    font-family: 'Times New Roman', Times, serif;
}

.dropdown-item:hover, .dropdown-item:focus {
     color: var(--secondary-color); /* Warna hover yang sama */
    background-color: var(--background-color); /* Latar belakang abu-abu terang */
}

/* --- Dropdown Divider (.dropdown-divider) --- */
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--background-color);
}

.nav-links li a {
    color: #0f0b0b;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}
.nav-links li a:hover {
    color: #878c92;
}



/* Hero Section */
.hero-section {
    background: transparent;
    color: rgb(13, 15, 15);
    padding: 70px 0;
    text-align:center;
}
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.cta-button {
    background: #22a0c3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background: #46545e;
}

/* Fitur Section */
.features-section {
    padding: 60px 20px;
    text-align: center;
}
.features-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}
.feature-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.card {
    background: #22a0c3;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(115, 216, 233, 0.1);
    flex: 1;
}

/* Footer */
.site-footer {
    background: #0a2857;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
.footer-links a {
    color: #95bee9;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* Responsif Dasar (Mobile View) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        padding: 0.5rem;
    }
    .feature-cards {
        flex-direction: column;
    }
}