/* partnership-futuristic.css */
/* This file contains the styles for the futuristic WebGL effects and scroll animations. */

/* --- Global Overrides for Full Immersion ---
   Make the body and main sections transparent to reveal the WebGL canvas. */
body.futuristic-active {
    background-color: #000 !important; /* Fallback for when canvas is loading */
}

.futuristic-active .header,
.futuristic-active .footer,
.futuristic-active .partnership-section {
    background: transparent !important; /* Override existing backgrounds */
}

/* --- WebGL Canvas Container ---
   This ensures the canvas stays fixed in the background. */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Places the canvas behind all other content */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: fadeIn 2s 0.5s forwards;
}

/* Fade in the canvas once WebGL is loaded */
@keyframes fadeIn {
    to {
        opacity: 0.7; /* Keep it slightly dimmed to not overwhelm content */
    }
}

/* --- Holographic/Glassmorphism Panels (BORDER-ONLY) ---
   This style is GLOBAL and applies to both desktop and mobile. */
.futuristic-active .animated-border-box,
.futuristic-active .feature-card,
.futuristic-active .checklist-item,
.futuristic-active .service-item {
    background: transparent !important; /* REMOVED background for a border-only look */
    backdrop-filter: none !important; /* REMOVED backdrop-filter */
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.futuristic-active .animated-border-box:hover,
.futuristic-active .feature-card:hover,
.futuristic-active .checklist-item:hover,
.futuristic-active .service-item:hover {
    background: rgba(10, 25, 47, 0.15) !important; /* Add a very subtle glow on hover */
    border-color: rgba(255, 215, 0, 0.7);
}

/* --- Text Readability ---
   Ensure text is clear against the dynamic background. */
.futuristic-active .partnership-title,
.futuristic-active .partnership-subtitle,
.futuristic-active p,
.futuristic-active h2,
.futuristic-active h3,
.futuristic-active .checklist-item {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* --- Scroll Animation Enhancements ---
   These styles create a smooth fade-and-slide-in effect for sections as they appear. */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Futuristic Button Style ---
   A subtle glow and transition for the main call-to-action button. */
.btn-futuristic {
    background: var(--neon-gold);
    color: var(--dark-background);
    border: 1px solid var(--neon-gold);
    box-shadow: 0 0 10px var(--neon-gold), 0 0 20px var(--neon-gold-transparent);
    transition: all 0.3s ease;
}

.btn-futuristic:hover {
    background: transparent;
    color: var(--neon-gold);
    box-shadow: 0 0 15px var(--neon-gold), 0 0 25px var(--neon-gold-transparent);
    transform: scale(1.05);
}

/* --- General Futuristic Feel ---
   Adding a subtle glow to key text elements to enhance the cyberpunk aesthetic. */
.neon-text {
    text-shadow: 0 0 5px var(--neon-gold-transparent), 0 0 10px var(--neon-gold-transparent);
}

.highlight {
    color: var(--neon-gold);
    text-shadow: 0 0 5px var(--neon-gold-transparent);
}

.nav-actions-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/*
=================================================================
DESKTOP NAVIGATION OVERHAUL (for partnership.html only)
=================================================================
*/
@media (min-width: 769px) {
    .futuristic-active .header {
        background: transparent !important;
    }

    /* Hide the original desktop nav links */
    .futuristic-active .header nav {
        display: none;
    }

    /* Show the mobile toggle button on desktop */
    .futuristic-active .mobile-nav-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 2rem;
        z-index: 1001;
    }

    /* Style the nav panel for desktop side-sliding */
    .futuristic-active .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: min(30vw, 300px); /* Adjust width as needed */
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        background-color: rgba(10, 25, 47, 0.9); /* Semi-transparent background */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -10px 0 30px -15px rgba(2, 12, 27, 0.7);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    /* When active, slide the panel in from the right */
    .futuristic-active .nav-links.active {
        right: 0;
    }
}