/* ============================================
   MODERN NAVIGATION - UX/UI EXPERT DESIGN
   ============================================ */

.modern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary, #0a0e27);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Scarcity Banner */
.scarcity-banner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scarcity-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.scarcity-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.scarcity-content i {
    font-size: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.scarcity-content strong {
    font-weight: 700;
}

.scarcity-content #spots-left {
    font-weight: 700;
    font-size: 16px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Main Navigation */
.main-nav {
    background: var(--bg-primary, #0a0e27);
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand Logo (Text) */
.brand-logo-text {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.brand-logo-text:hover {
    transform: scale(1.05);
}

.brand-name {
    font-family: 'Urbanist', 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.brand-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation Menu */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary, #e0e0e0);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--bg-card, #1e2838);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.nav-contact-item:hover {
    background: var(--bg-secondary, #141b2d);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: var(--text-primary, #e0e0e0);
}

.nav-contact-item.whatsapp:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-color: #25d366;
}

.nav-contact-item.email:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
}

.nav-contact-item i {
    font-size: 18px;
}

.nav-text {
    display: inline-block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary, #e0e0e0);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation Menu */
.nav-menu-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary, #0a0e27);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-menu-mobile.active {
    max-height: 300px;
}

.mobile-nav-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary, #e0e0e0);
    font-size: 15px;
    font-weight: 500;
    background: var(--bg-card, #1e2838);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.mobile-nav-item:hover {
    background: var(--bg-secondary, #141b2d);
    transform: translateX(5px);
    color: var(--text-primary, #e0e0e0);
}

.mobile-nav-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.mobile-nav-item:first-child:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.mobile-nav-item:last-child:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .nav-menu-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-mobile {
        display: block;
    }
    
    .scarcity-content {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .scarcity-content i {
        font-size: 14px;
    }
    
    .scarcity-content #spots-left {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .brand-name {
        font-size: 20px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .scarcity-banner {
        padding: 8px 0;
    }
    
    .scarcity-content {
        font-size: 11px;
    }
    
    .mobile-nav-item {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .brand-name {
        font-size: 18px;
    }
    
    .scarcity-content span {
        display: block;
        width: 100%;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Header scroll effect */
.modern-header {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

