/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    height: 70px;
    padding: 0 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #e5e7eb;
}

/* LOGO */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    color: #111827;
}

/* MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: 0.25s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background: #2563eb;
    transition: 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUTTON */
.btn-nav-login,
.btn-nav-register {
    padding: 9px 20px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    transition: 0.25s;
}

.btn-nav-login {
    border: 1px solid #2563eb;
    color: #2563eb;
}

.btn-nav-login:hover {
    background: #eff6ff;
}

.btn-nav-register {
    background: #2563eb;
    color: white;
}

.btn-nav-register:hover {
    background: #3b82f6;
}

/* BURGER */
.burger {
    display: none;
}

/* MOBILE */
@media (max-width: 768px) {

    .navbar {
        padding: 0 20px;
    }

    .burger {
        display: block;
        font-size: 30px;
        cursor: pointer;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;
        padding: 20px;

        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
    }

    .btn-nav-login,
    .btn-nav-register {
        width: 100%;
        text-align: center;
    }
}