/* Reset Margin & Padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom right, #004aad, #e4c500);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar */
.navbar {
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo */
.navbar img {
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.navbar img:hover {
    transform: scale(1.1);
}

/* Navbar Links */
.navbar a {
    color: yellow;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-left: 20px;
    transition: color 0.3s ease-in-out, transform 0.2s;
}

.navbar a:hover {
    color: orange;
    text-decoration: underline;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    background: url('../img/hero.jpg') no-repeat center center/cover;  /* ✅ Background hero */
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Overlay Dark untuk Kontras */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Heading Hero */
.hero h1 {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

/* Hero Paragraph */
.hero p {
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
}

/* Tombol */
.button-container {
    margin-top: 20px;
}

.button-container button {
    background: yellow;
    color: black;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 10px rgba(255, 255, 0, 0.5);
}

.button-container button:hover {
    background: orange;
    box-shadow: 0px 6px 15px rgba(255, 165, 0, 0.6);
    transform: scale(1.05);
}

/* Tentang Kami Section */
.tentang {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    padding: 40px 20px;
    background: white;
    color: black;
    border-radius: 10px;
    margin: 50px auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.tentang h2 {
    font-size: 28px;
    color: #004aad;
    margin-bottom: 10px;
}

/* Fitur Unggulan */
.fitur {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.fitur-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.fitur-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.fitur-box h3 {
    color: yellow;
}

.fitur-box:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: black;
    color: white;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    position: relative;
    bottom: 0;
}

/* Responsiveness */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar a {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .button-container button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .fitur-container {
        flex-direction: column;
    }

    .fitur-box {
        width: 90%;
    }
}
