.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 9998;
}

/* LOGO */
.logo {
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* MENU */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    z-index: 1000;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}

/* HOVER EFFECT */
.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00f7ff;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: #00f7ff;
}

/* HAMBURGER */
.menu-toggle {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* animasi jadi X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px; /* turun sedikit dari navbar */
        right: 5px;

        width: 180px;   /* 🔥 tetap kecil */
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;

        padding: 15px 0;
        border-radius: 12px;

        transform: translateX(120%);
        opacity: 0;
        visibility: hidden;

        transition: 0.3s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
}

.contact {
    padding: 100px 20px 200px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.contact {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* FORM */
.contact form {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 10px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.2);
    color: white;
    transition: 0.3s;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact input:focus,
.contact textarea:focus {
    background: rgba(255,255,255,0.3);
}

.contact button {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00adb5, #00f7ff);
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.contact button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00f7ff;
}

/* INFO */
.contact form,
.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.contact form:hover,
.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    font-size: 11px;
    padding: 10px;
    background: #00000086;
}