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

    .floating-decor,
    .particles,
    .cursor-glow,
    .shape {
        display: none;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Custom Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sage);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-forest);
}

/* ========================================
   Focus States (Accessibility)
======================================== */
*:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 2px;
}

/* ========================================
   Utility Classes
======================================== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .navbar,
    .cursor-glow,
    .particles,
    .floating-decor,
    .scroll-cue {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
    }
}
