/* ============================================
   NAVBAR STYLES - Unified across all pages
   ============================================ */

.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.3);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-brand svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    right: 0;
}

.nav-link:hover {
    color: #8b5cf6 !important;
}

/* Bootstrap Grid Support */
.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when menu is open */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2),
.mobile-menu-btn.active .hamburger span:nth-child(3) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(4) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide Desktop Menu on Mobile, Show Hamburger */
@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Show Desktop Menu on Desktop, Hide Hamburger */
@media (min-width: 992px) {
    .desktop-menu {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

