/* Global Variables */
:root {
    --primary-color: #4D4D4D;
    --secondary-color: #B0DB52;
    --border-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 2.5rem; /* Gunakan padding fleksibel */
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);

    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-brand img {
    height: 25px; /* Tinggi logo fleksibel */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.89rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none; /* Default: hidden untuk perangkat kecil */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .mobile-menu {
        display: flex; /* Tampilkan menu burger */
    }
}

/* Responsiveness for Large Screens */
@media (min-width: 1920px) {
    nav {
        padding: 1rem 10%; /* Lebih banyak padding di layar besar */
    }

    .nav-link {
        font-size: 1.25rem; /* Teks lebih besar untuk layar besar */
    }
}
