/*NAVBAR*/
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    z-index: 1000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* MENU*/
.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

.menu ul li a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 4px;

    transition:
        transform 0.25s cubic-bezier(.4, 0, .2, 1),
        color 0.25s ease;
}

.menu ul li a:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--deep-purple);
}

/* Gradient underline */
.menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: 1.5px;
    border-radius: 4px;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    transition: width 0.3s ease;
}

.menu ul li a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #111;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #111;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* MOBILE MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1000;

    display: flex;
    align-items: flex-start;   /* ✅ TOP ALIGN */
    justify-content: flex-start;
    padding-top: 80px;         /* ✅ BELOW CLOSE BUTTON */
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-content a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #111;

    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;

    text-align: left;
    transition: 0.3s;
}

.mobile-menu-content a:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.mobile-explore {
    margin-top: 18px;
    margin-bottom: 4px;

    font-size: 13px;
    font-weight: 600;
    color: #6b7280;

    text-align: left;
}

/* EXTRA BUTTONS */
.extra-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    color: white !important;
    text-align: center;
}

.extra-btn.dark {
    background: #111;
    color: white !important;
    border: 1px solid #111;
}

.extra-btn.dark:hover {
    background: #000;
    border-color: #000;
}

/* MOBILE NAVBAR FIX */

@media (max-width: 768px) {

    /* Hide desktop menu */
    .menu {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Adjust navbar padding */
    .nav-bar {
        padding: 0 20px;
    }
}