/* SPK — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e2023;
}
::-webkit-scrollbar-thumb {
    background: #474a50;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c5f66;
}

/* Selection color */
::selection {
    background: rgba(240, 90, 40, 0.3);
    color: #f7f7f8;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Scroll reveal base state — visible by default for progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Image hover zoom for space section */
.group img {
    will-change: transform;
}

/* Navbar glass effect */
nav.glass {
    background: rgba(15, 16, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Menu item hover */
.bg-charcoal-900 li:hover span:first-child {
    color: #ffd1be;
    transition: color 0.2s ease;
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #f05a28;
    outline-offset: 2px;
    border-radius: 9999px;
}
