nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 3rem;
    width: 100vw;
    aspect-ratio: 1920 / 142;
    background: #ffffffcb;
    backdrop-filter: blur(50px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;

    img {
        width: auto;
        height: 100%;
        object-fit: contain;
        cursor: pointer;
    }
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    a {
        text-decoration: none;
        color: #bc4f07;
        font-weight: 500;
        font-size: 1.2rem;
        transition: color 0.3s ease;

        &:hover {
            color: #222;
        }
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 3;

    span {
        width: 25px;
        height: 3px;
        background-color: #bc4f07;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    &.active {
        span:nth-child(1) {
            transform: rotate(-45deg) translate(-5.8px, 6.4px);
        }
        span:nth-child(2) {
            opacity: 0;
        }
        span:nth-child(3) {
            transform: rotate(45deg) translate(-5.8px, -6.4px);
        }
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffffcb;
    backdrop-filter: blur(50px);
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding-top: 80px;

    &.active {
        opacity: 1;
        visibility: visible;
    }

    a {
        text-decoration: none;
        color: #bc4f07;
        font-weight: 500;
        font-size: 1.5rem;
        transition: color 0.3s ease;
        padding: 1rem;

        &:hover {
            color: #222;
        }
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    nav {
        padding: 0.5rem 0.8rem;
        aspect-ratio: auto;
        height: 80px;
    }

    body {
        padding-top: 70px;
    }

    .nav-links {
        display: none;
    }

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

    .mobile-menu {
        display: flex;
    }

    .logo-placeholder {
        height: 40px;
        width: 80px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0.8rem;
    }

    .mobile-menu {
        a {
            font-size: 1.3rem;
        }
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 900px) {
    nav {
        padding: 0.5rem 0.8rem;
    }

    .nav-links {
        gap: 1.5rem;

        a {
            font-size: 1.1rem;
        }
    }
}

.active {
    color: #222 !important;
    cursor: default;
}

.def {
    display: inline;
    cursor: pointer;
}

.cus {
    display: none;
    cursor: pointer;
}
