/* assets/css/navbar-v2.css */

:root {
    --nav-height: 80px;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-accent: #e787da;
    --nav-text: #1a252f;
    --nav-blur: 20px;
    --nav-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(var(--nav-blur));
    -webkit-backdrop-filter: blur(var(--nav-blur));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid var(--nav-accent);
    border-radius: 0;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--nav-shadow);
    padding: 0 40px;
    height: 70px;
}

.header-v2.header-border {
    border: 1.5px solid var(--nav-accent) !important;
}

.header-inner-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
}

/* Logo */
.logo-v2 {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-v2 img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Navigation Links */
.nav-links-v2 {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-v2 {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link-v2:hover,
.nav-link-v2.active {
    color: var(--nav-accent);
    background: rgba(231, 135, 218, 0.08);
}

/* Auth Buttons */
.auth-btns-v2 {
    display: flex;
    gap: 12px;
}

.btn-v2 {
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-v2-outline {
    border: 2px solid var(--nav-accent);
    color: var(--nav-accent);
}

.btn-v2-solid {
    background: var(--nav-accent);
    color: white;
    border: 2px solid var(--nav-accent);
}

/* Mobile Toggler */
.mobile-toggler-v2 {
    display: none;
    background: #f8f9fa;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
    color: var(--nav-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-toggler-v2:hover {
    background: var(--nav-accent);
    color: white;
}

/* Responsive Mobile Layout */
@media (max-width: 991px) {
    .header-v2 {
        padding: 0 20px;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        /* Fixed height when closed */
        border-radius: 0;
        border-bottom: 2px solid var(--nav-accent);
    }

    .header-inner-v2 {
        height: 70px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .header-top-v2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 70px;
        flex-shrink: 0;
    }

    .mobile-toggler-v2 {
        display: flex;
    }

    .mobile-menu-v2 {
        width: 100%;
        display: none;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-v2.mobile-open {
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .header-v2.mobile-open .mobile-menu-v2 {
        display: block;
    }

    .header-v2.mobile-open .header-inner-v2 {
        height: auto;
    }

    .mobile-menu-v2 .nav-links-v2 {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-menu-v2 .nav-link-v2 {
        padding: 15px;
        background: rgba(0, 0, 0, 0.02);
        display: block;
        text-align: center;
    }
}