/* Custom styles for Hair Creations By Laurie */
/* All primary styles are in index.html <style> block; this file provides additional overrides */

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

/* Ensure all interactive elements are accessible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid #9cc191;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Better image loading */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background-color: #c5dbbe;
    color: #284323;
}

/* Subtle page transition */
@media (prefers-reduced-motion: no-preference) {
    body {
        animation: fadeIn 0.4s ease-out;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
}

/* Ensure hero is always visible (no JS dependency) */
#hero {
    min-height: 100vh;
    min-height: 100dvh;
}

/* Prevent overflow on mobile */
@media (max-width: 640px) {
    .float-1, .float-2, .float-3 {
        animation: none !important;
    }
}
