/* Custom styles for Gappy's Barber Shop */

/* Hero animation - visible by default, JS enhances */
.reveal-hero {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .service-card { transition: none; }
    .service-card:hover { transform: none; }
    .cta-pulse { animation: none; }
    img { transition: none; }
}

/* Selection color */
::selection {
    background-color: #C4704B;
    color: white;
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #C4704B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-scrolled a:not(.bg-terracotta) {
    color: #4B5563 !important;
}

.nav-scrolled a:not(.bg-terracotta):hover {
    color: #C4704B !important;
}

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

#mobile-menu.hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

#mobile-menu.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

/* Body scroll lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* Gallery hover */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.05);
}
