/* ==========================================================================
   Homepage Fullscreen Hero Styles - Locked, No Scroll
   ========================================================================== */

/* Prevent scrolling on homepage */
body.home {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Hide footer on homepage */
body.home .site-footer {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

.homepage-fullscreen-only {
    padding-top: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

/* Fullscreen Hero Section - Locked */
.hero-fullscreen-locked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-video-bg iframe,
.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Fallback Gradient Background */
.hero-fallback-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-secondary) 100%);
    z-index: 1;
}

.hero-fallback-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(247, 147, 30, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Video Loading Overlay */
.video-loading-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-dark-bg);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.video-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade in video */
.hero-video-bg {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-video-bg.loaded {
    opacity: 1;
}

/* Hero Content - Just Navigation Buttons */
.hero-content-center {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Ensure no logos or social icons in hero content */
.hero-content-center img,
.hero-content-center .custom-logo-link,
.hero-content-center .social-icons,
.hero-content-center .social-icon {
    display: none !important;
}

/* Only show nav buttons */
.hero-content-center .hero-nav-buttons {
    display: flex !important;
}

/* Hero Navigation Links - Vertical Stack on Left */
.hero-nav-buttons {
    position: absolute;
    left: var(--spacing-xxl);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-link {
    position: relative;
    padding: 1rem 2rem;
    font-size: 2.5rem;
    font-weight: 300;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-base);
    z-index: 1;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Hidden box that appears on hover */
.hero-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(200, 200, 200, 0.15);
    border-radius: var(--border-radius-md);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.hero-link:hover::before {
    opacity: 1;
}

.hero-link:hover {
    color: var(--color-text-light);
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero-nav-buttons {
        left: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .hero-link {
        padding: 0.875rem 1.5rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-nav-buttons {
        left: var(--spacing-md);
    }
    
    .hero-link {
        padding: 0.75rem 1.25rem;
        font-size: 1.125rem;
        letter-spacing: 1px;
    }
}
