* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(121, 121, 121, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
}

/* ===== NAVBAR BRAND ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: #088395;
    transition: all 0.3s ease;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 35px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #088395 0%, #05445e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVBAR MENU ===== */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #050A30;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    cursor: pointer;
}

.navbar.scrolled .nav-link {
    color: #333;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1fbc92 0%, #000000 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #19857a;
}

.navbar.scrolled .nav-link:hover {
    color: #088395;
}

/* ===== AUTH LINKS CONTAINER ===== */
#auth-links {
    display: flex;
    color: #000000;
    gap: 1rem;
    align-items: center;
    margin-left: 1rem;
}

/* ✅ AUTH LINKS - Pastikan clickable */
#auth-links a {
    padding: 0.6rem 1.5rem;
    color: #050A30;
    text-shadow: #000000;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1002;
    white-space: nowrap;
}

/* Login Button - Outline Style */
#auth-links a:first-child {
    color: #088395;
    border: 2px solid #088395;
    background: transparent;
}

#auth-links a:first-child:hover {
    background: #088395;
    color: rgb(0, 0, 0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 131, 149, 0.3);
}

/* Register Button - Solid Style */
#auth-links a:last-child,
.profile-btn {
    background: linear-gradient(135deg, #40e0d0 0%, #088395 100%);
    color: rgb(0, 0, 0) !important;
    border: none;
}

#auth-links a:last-child:hover,
.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.4);
}

/* Disable underline for auth buttons */
#auth-links a::after {
    display: none !important;
}

/* ===== MOBILE MENU TOGGLE ===== */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #050A30;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-toggle span {
    background: #333;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem 1.5rem;
        gap: 1rem;
        margin-top: 0;
        border-bottom: 1px solid rgba(200, 200, 200, 0.3);
        border-radius: 0 0 15px 15px;
    }

    .navbar-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-toggle {
        display: flex;
    }

    .nav-link {
        color: #333;
        width: 100%;
        padding: 0.8rem 0;
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(64, 224, 208, 0.1);
        padding-left: 1rem;
        border-radius: 8px;
    }

    #auth-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        color: #050A30;

    }

    #auth-links a {
        width: 100%;
        color: #050A30;
        text-align: center;
    }

    body {
        padding-top: 70px;
    }
}

/* Profile Link dengan Avatar */
.profile-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #088395, #05445e);
    color: rgb(0, 0, 0) !important;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.profile-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 131, 149, 0.3);
}

.profile-avatar {
    font-size: 1.2rem;
}

.profile-name {
    font-weight: 600;
}

/* Logout Button */
.logout-btn {
    padding: 0.5rem 1.5rem;
    background: #f44336;
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.logout-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Login & Register Buttons (default) */
.login-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #088395;
    border: 2px solid #088395;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #088395;
    color: white;
}


