/* ========================================
   Futuristic Overlay Navigation & Hero
   Seamless Integration Design
   ======================================== */

/* ========================================
   Background - Solid Color
   ======================================== */

.hero-background-futuristic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #0a0e1a;
    pointer-events: none;
}

.hero-background-futuristic::before,
.hero-background-futuristic::after {
    display: none;
}

/* Depth layer */
.hero-background-depth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: none;
}

/* ========================================
   Overlay Navigation - Transparent & Integrated
   ======================================== */

.site-header-nav-futuristic {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(8px);
    transition: all 300ms ease-in-out;
}

.site-header-nav-futuristic.scrolled {
    background: #FFFFFF;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header-nav-inner-futuristic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--spacing-2xl);
    gap: var(--spacing-xl);
}

/* Logo Section */
.site-branding-futuristic {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
    z-index: 10;
}

.site-logo-futuristic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 50px;
    transition: all var(--transition-base);
}

.site-logo-futuristic img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.site-logo-futuristic:hover {
    opacity: 0.8;
}

.site-title-futuristic {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
    text-decoration: none;
    transition: all var(--transition-base);
}

.site-title-futuristic:hover {
    color: var(--color-accent-secondary);
    text-shadow: 0 0 10px rgba(66, 213, 232, 0.5);
}

/* Primary Navigation Menu */
.primary-nav-futuristic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-nav-futuristic ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-2xl);
    margin: 0;
    padding: 0;
}

.primary-nav-futuristic li {
    margin: 0;
}

.primary-nav-futuristic a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all var(--transition-base);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.primary-nav-futuristic a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transition: width var(--transition-base);
}

.primary-nav-futuristic a:hover {
    color: var(--color-accent-secondary);
    text-shadow: 0 0 10px rgba(66, 213, 232, 0.6);
}

.primary-nav-futuristic a:hover::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--color-accent-secondary);
    text-shadow: 0 0 8px rgba(66, 213, 232, 0.5);
}

.nav-item.active a::after {
    width: 100%;
}

.primary-nav-futuristic a.current,
.primary-nav-futuristic a.active {
    color: var(--color-accent-secondary);
    text-shadow: 0 0 8px rgba(66, 213, 232, 0.5);
}

.primary-nav-futuristic a.current::after,
.primary-nav-futuristic a.active::after {
    width: 100%;
}

/* Header Social Icons */
.header-social-futuristic {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-shrink: 0;
}

.social-icon-link-futuristic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    transition: all var(--transition-base);
    position: relative;
}

.social-icon-link-futuristic svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    fill: none;
    stroke: currentColor;
    transition: all var(--transition-base);
}

.social-icon-link-futuristic:hover {
    transform: scale(1.25);
    color: var(--color-accent-secondary);
    filter: drop-shadow(0 0 8px rgba(66, 213, 232, 0.6));
}

.social-icon-link-futuristic:hover svg {
    stroke-width: 1;
}

/* Menu Toggle Button */
.menu-toggle-futuristic {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 11;
    transition: all var(--transition-base);
}

.menu-toggle-futuristic span {
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all var(--transition-base);
    display: block;
}

.menu-toggle-futuristic:hover span {
    background: var(--color-accent-secondary);
    box-shadow: 0 0 8px rgba(66, 213, 232, 0.6);
}

.menu-toggle-futuristic.active span:nth-child(1) {
    transform: rotate(45deg) translateY(16px);
}

.menu-toggle-futuristic.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-futuristic.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-16px);
}

/* Scrolled State Styles */
.site-header-nav-futuristic.scrolled .primary-nav-futuristic a {
    color: #1a1a1a;
    text-shadow: none;
}

.site-header-nav-futuristic.scrolled .primary-nav-futuristic a:hover {
    color: #0055cc;
    text-shadow: none;
}

.site-header-nav-futuristic.scrolled .nav-item.active a {
    color: #0055cc;
    text-shadow: none;
}

.site-header-nav-futuristic.scrolled .social-icon-link-futuristic {
    color: #1a1a1a;
}

.site-header-nav-futuristic.scrolled .social-icon-link-futuristic:hover {
    color: #0055cc;
    filter: none;
}

.site-header-nav-futuristic.scrolled .menu-toggle-futuristic span {
    background: #1a1a1a;
}

.site-header-nav-futuristic.scrolled .menu-toggle-futuristic:hover span {
    background: #0055cc;
    box-shadow: none;
}

/* ========================================
   Hero Section - Seamless Integration
   ======================================== */

.hero-editorial-futuristic {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    z-index: 3;
}

/* Ensure hero content is above background */
.hero-content-futuristic {
    position: relative;
    z-index: 4;
    max-width: 900px;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-2xl);
}

.hero-tag-futuristic {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(66, 213, 232, 0.3);
    border-radius: 24px;
    background: rgba(66, 213, 232, 0.05);
    animation: fade-in-down 0.8s ease-out;
}

.hero-title-futuristic {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
    margin: var(--spacing-lg) 0;
    animation: fade-in-up 0.8s ease-out 0.2s both;
    letter-spacing: -1px;
}

.hero-title-accent-futuristic {
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(66, 213, 232, 0.4));
}

.hero-subtitle-futuristic {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 700px;
    margin: var(--spacing-2xl) auto;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.hero-cta-futuristic {
    margin-top: var(--spacing-3xl);
    animation: fade-in-up 0.8s ease-out 0.6s both;
}

.button-hero-futuristic {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(22, 139, 238, 0.3);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.button-hero-futuristic:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(66, 213, 232, 0.5);
}

/* ========================================
   Responsive Design - Mobile Navigation
   ======================================== */

@media (max-width: 1024px) {
    .site-header-nav-inner-futuristic {
        padding: 0 var(--spacing-lg);
    }

    .primary-nav-futuristic ul {
        gap: var(--spacing-lg);
    }

    .primary-nav-futuristic a {
        font-size: 0.9rem;
    }

    .menu-toggle-futuristic {
        display: flex;
    }

    .primary-nav-futuristic {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(66, 213, 232, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-2xl) var(--spacing-lg);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height var(--transition-smooth), visibility var(--transition-smooth);
        z-index: 999;
    }

    .primary-nav-futuristic.active {
        max-height: 500px;
        visibility: visible;
    }

    .primary-nav-futuristic ul {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .primary-nav-futuristic a::after {
        bottom: -8px;
        width: 0;
    }

    /* Hide active state on mobile - remove all styling */
    .primary-nav-futuristic .nav-item.active a {
        color: #FFFFFF !important;
        text-shadow: none !important;
    }

    .primary-nav-futuristic .nav-item.active a::after {
        display: none !important;
    }

    .header-social-futuristic {
        gap: var(--spacing-md);
    }

    /* Prevent content overlap */
    main {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .site-header-nav-futuristic {
        height: 70px;
    }

    .site-header-nav-inner-futuristic {
        padding: 0 var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .site-title-futuristic {
        display: none;
    }

    .hero-editorial-futuristic {
        padding-top: 70px;
    }

    .hero-content-futuristic {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .hero-title-futuristic {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-subtitle-futuristic {
        font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    }

    .button-hero-futuristic {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: 0.95rem;
    }

    .header-social-futuristic {
        display: none;
    }

    .site-header-nav-futuristic.scrolled {
        height: 70px;
    }

    .site-header-nav-futuristic.scrolled .primary-nav-futuristic {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* ========================================
   Accessibility & Motion Preferences
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-background-futuristic,
    .hero-background-futuristic::before,
    .hero-background-futuristic::after,
    .hero-background-depth,
    .site-header-nav-futuristic,
    .primary-nav-futuristic a,
    .social-icon-link-futuristic,
    .hero-tag-futuristic,
    .hero-title-futuristic,
    .hero-subtitle-futuristic,
    .hero-cta-futuristic,
    .button-hero-futuristic {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   Keyboard Navigation & Focus States
   ======================================== */

.primary-nav-futuristic a:focus-visible,
.social-icon-link-futuristic:focus-visible,
.button-hero-futuristic:focus-visible,
.site-logo-futuristic:focus-visible {
    outline: 2px solid var(--color-accent-secondary);
    outline-offset: 4px;
    border-radius: 4px;
}

.menu-toggle-futuristic:focus-visible {
    outline: 2px solid var(--color-accent-secondary);
    outline-offset: 4px;
}
