/* Custom styles for Blended Salon Suites */

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

/* Focus styles */
*:focus-visible {
    outline: 2px solid #2c5c2c;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
    background: #95c095;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2c5c2c;
}

/* Selection color */
::selection {
    background-color: #c5dbC5;
    color: #1c391c;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
    transition: transform 0.3s ease-in-out;
}

#mobileMenu.open {
    transform: translateX(0);
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Image lazy load placeholder */
img {
    background-color: #ebe8e0;
}

/* Prevent layout shift for aspect ratios */
.aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #2c5c2c, #5f9a5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
