/* style.css */

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Tombol */
.btn-primary {
    background-color: #0056d2;
    border: none;
}

.btn-primary:hover {
    background-color: #003fad;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
}

.navbar .nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid white;
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
}

/* Kartu berita & fitur */
.card {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Form */
form input, form textarea {
    border-radius: 8px;
}

/* Responsif tambahan */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Animasi scroll elegan */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
