/* Custom styles for Cali 6880 */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #a11f36;
    color: #fefdfb;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #a11f36;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #841d32;
}

/* Mobile menu animation for hamburger */
#menu-toggle.active #bar1 {
    transform: translateY(6px) rotate(45deg);
}
#menu-toggle.active #bar2 {
    opacity: 0;
}
#menu-toggle.active #bar3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Subtle entrance for hero (no JS required — always visible) */
#hero h1,
#hero p,
#hero .flex {
    animation: fadeUp 0.8s ease forwards;
}
#hero h1 { animation-delay: 0.1s; }
#hero p  { animation-delay: 0.3s; }
#hero .flex { animation-delay: 0.5s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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; }
}
