/* 
    Thaki Light - Global Variables & Base Styles
    Lego Architecture - Core Stylesheet
*/

/* Global Italics & Skew Reset */
*,
*::before,
*::after {
    font-style: normal !important;
    transform: none !important;
    font-synthesis: none !important;
}

:root {
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-shadow: #3b82f6;

    --dark-950: #020617;
    --dark-900: #0f172a;
    --dark-800: #1e293b;

    --glass-bg: #0f172a;
    --glass-border: #334155;
}

/* Base Styles */
body {
    background-color: var(--dark-950);
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
}

/* Global Custom Scrollbar (The Nexus Flow) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #020617;
    /* dark-950 */
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #475569 #020617;
}

/* Scrollbar Utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: #1e293b;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: #243044;
    border-color: var(--primary-500);
    transform: translateY(-4px);
}

/* Effects */
.glow-orange {
    filter: drop-shadow(0 0 8px var(--primary-shadow));
}

.text-gradient {
    background: linear-gradient(to right, #3b82f6, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Selection */
::selection {
    background: var(--primary-500);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* Swiper overrides */
.swiper-pagination-bullet-active {
    background: var(--primary-500) !important;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(-90deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    background-size: 400% 400%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: -135% 0%;
    }
}

/* Swiper Pagination Customization */
.hero-swiper .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #475569 !important;
    opacity: 1 !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 5px !important;
    margin: 0 5px !important;
    border: 1px solid #64748b;
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 32px !important;
    background: var(--primary-500) !important;
    /* Brand Blue */
    border-color: transparent;
}

.hero-swiper .swiper-pagination {
    bottom: 40px !important;
}

/* 404 Stroke Text */
.stroke-text {
    -webkit-text-stroke: 1px #334155;
}

/* 4. Map Utility - Tactical Inversion */
.nexus-map-iframe {
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(1.2) brightness(0.8);
    border-radius: 2.8rem;
}

option { background-color: #1e293b; color: #fff; }

