/*
============================
    PORTFOLIO NAVIGATION
============================
*/
.port-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.port-nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.port-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.port-logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.3px;
    font-family: "Outfit", sans-serif;
}

.port-logo-title {
    font-size: 0.72rem;
    color: #00C896;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.port-menu {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.port-menu li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.port-menu li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00C896;
    transition: width 0.25s ease;
}

.port-menu li a:hover {
    color: #FFF;
}

.port-menu li a:hover::after {
    width: 100%;
}

/*
===================
    TOGGLE MENU
===================
*/
.port-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.port-toggle span {
    width: 24px;
    height: 2px;
    background: #FFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.port-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.port-toggle.open span:nth-child(2) {
    opacity: 0;
}

.port-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .port-nav-container {
        padding: 14px 16px;
    }

    .port-logo-name {
        font-size: 1rem;
    }

    .port-menu {
        width: 200px;
        top: 62px;
        right: 16px;
        padding: 16px;
        gap: 12px;
    }

    .port-menu li a {
        font-size: 0.95rem;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .port-nav-container {
        padding: 14px 20px;
    }

    .port-menu {
        position: absolute;
        top: 68px;
        right: 20px;
        background: #161616;
        border: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        width: 220px;
        padding: 20px;
        gap: 16px;
        border-radius: 8px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        transform: translateX(130%);
        transition: transform 0.3s ease;
    }

    .port-menu.active {
        transform: translateX(0);
    }

    .port-toggle {
        display: flex;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .port-nav-container {
        padding: 14px 30px;
    }

    .port-menu {
        gap: 24px;
    }
}