:root {
    --primary: #059669;
    --dark: #1e293b;
    --border: #e2e8f0;
    --gray: #475569;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;

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

    border-bottom: 1px solid var(--border);

    z-index: 1000;

    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.2rem;

    display: flex;
    align-items: center;
    width: 100%;
}

/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.4rem;
}

.logo i {
    color: var(--primary);
}

/* ================= MENU DESKTOP ================= */

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;

    margin: 0 auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    position: relative;
    transition: color .3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

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

    width: 0;
    height: 2px;
    background: var(--primary);

    transition: width .3s;
}

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

/* ================= BUTTON ================= */

.btn-outline {
    padding: 0.45rem 1.2rem;

    border-radius: 999px;
    border: 2px solid var(--primary);

    color: var(--primary);
    text-decoration: none;
    font-weight: 500;

    transition: .3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ================= HAMBURGER ================= */

.mobile-menu-btn {
    display: none;

    flex-direction: column;
    justify-content: space-between;

    width: 30px;
    height: 22px;

    background: none;
    border: none;

    cursor: pointer;

    margin-left: auto;
    z-index: 1001;
}

.menu-icon {
    width: 100%;
    height: 3px;

    background: #1e293b;

    border-radius: 2px;

    transition: all .3s ease;
}

/* Animation */

.mobile-menu-btn.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
}

.mobile-menu-btn.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
}

/* ================= OVERLAY ================= */

.nav-overlay {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s;

    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .mobile-menu-btn {
        display: flex;
    }

    .nav-container {
        position: fixed;

        top: 0;
        right: -100%;

        width: 100%;
        height: 100vh;

        background: white;

        flex-direction: column;
        align-items: flex-start;

        padding: 90px 30px;

        gap: 2rem;

        transition: right .35s ease;

        z-index: 1000;
    }

    .nav-container.active {
        right: 0;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
    }
}
