/* Custom overrides and enhancements */

:root {
    --coral-500: #ff6b42;
    --coral-600: #f05020;
    --charcoal-900: #2e2e38;
    --charcoal-950: #1a1a22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Lora', serif;
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Hero text animation - only below the fold feel, hero is visible immediately */
#hero h1,
#hero p,
#hero .flex,
#hero p:last-child {
    animation: fadeUp 0.8s ease forwards;
}
#hero h1 { animation-delay: 0.1s; }
#hero p:first-of-type { animation-delay: 0.25s; }
#hero .flex { animation-delay: 0.4s; }
#hero p:last-of-type { animation-delay: 0.55s; }

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

/* Selection color */
::selection {
    background: rgba(255, 107, 66, 0.25);
    color: var(--charcoal-900);
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

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

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
