/* Custom styles for Soaring Ambition at Salon Concepts */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f6;
}
::-webkit-scrollbar-thumb {
    background: #9a2323;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7f1e1e;
}

/* Selection color */
::selection {
    background: #d44040;
    color: #fdf8f6;
}

/* Animation for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion support */
@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;
    }
}

/* Nav scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(61, 12, 12, 0.08);
}

/* Button hover effects */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce7e7 0%, #f9d0d0 100%);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d44040;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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