/* Navbar base styles */
.navbar,
.navbar-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Yeseva One', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #251642 !important;
    text-decoration: none;
    transition: color 0.3s;
    flex-shrink: 0;
}

.nav-brand-Wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand:hover {
    color: #3a2356 !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #251642;
}

.nav-btn {
    background: linear-gradient(135deg, #251642 0%, #3a2356 100%);
    color: white;
    border: 2px solid transparent;
    padding: 0.65rem 1.75rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 22, 66, 0.2);
    letter-spacing: 0.3px;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #3a2356 0%, #251642 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 22, 66, 0.35);
    color: white;
}

.nav-btn:active {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(37, 22, 66, 0.05);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #251642;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    /* Force hamburger visible on small screens */
    .menu-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0.65rem 0;
    }

    .nav-link {
        display: block;
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .nav-btn {
        background: linear-gradient(135deg, #251642 0%, #3a2356 100%);
        color: white;
        border: 2px solid transparent;
        padding: 0.65rem 1.75rem;
        border-radius: 30px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        font-size: clamp(0.85rem, 1.2vw, 0.95rem);
        white-space: nowrap;
        display: inline-block;
        box-shadow: 0 4px 15px rgba(37, 22, 66, 0.2);
        letter-spacing: 0.3px;
    }

    .nav-btn:hover {
        transform: translateY(-2px);
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        width: 90%;
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
    }

    .nav-menu li {
        padding: 0.5rem 0;
    }
}
