/* Custom styles for Boybarbershop */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(63, 98, 48, 0.08);
}

/* Hide scrollbar for gallery on mobile */
.gallery-grid::-webkit-scrollbar {
    display: none;
}

/* Subtle hover for service cards */
.group:hover .group-hover\:bg-forest-700 {
    background-color: rgb(63, 98, 48);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hover\:scale-105:hover,
    .transition-transform {
        transform: none !important;
        transition: none !important;
    }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgb(63, 98, 48);
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
textarea:focus {
    background-color: rgba(255, 255, 255, 0.12);
}
