/* Custom Styles for Hairbyshannon */

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

/* Animation Utility Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Initial state for scroll reveal (handled by JS for progressive enhancement) */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Image object fit overrides */
img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a2538;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c5a028;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Typography adjustments */
h1, h2, h3 {
    letter-spacing: -0.02em;
}
