/* Custom styles for Hair Lab Salon Palm Desert */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
    background: #d13a15;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f05020;
}

/* Selection color */
::selection {
    background: #ffb082;
    color: #1a1b20;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse animation for hero badge */
@keyframes soft-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.animate-pulse {
    animation: soft-pulse 2s ease-in-out infinite;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .font-display {
    color: #1a1b20 !important;
}

nav.scrolled a.text-charcoal-600 {
    color: #4a4c54 !important;
}

nav.scrolled a.text-charcoal-600:hover {
    color: #d13a15 !important;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Image placeholder styles */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    nav, .reveal, #mobile-menu { display: none !important; }
    body { color: #000; background: #fff; }
}
