/* Custom styles for Gentlemen Republic Barbershop */

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

/* Custom animations */
@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf9f6;
}

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #450a0a;
}

/* Selection color */
::selection {
    background: #7f1d1d;
    color: #faf9f6;
}

/* Typography enhancements */
.font-serif {
    letter-spacing: -0.02em;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.7s ease;
}

/* Focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

/* Testimonial card hover */
.bg-cream:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Gallery hover */
.aspect-square:hover img {
    transform: scale(1.1);
}

/* Form input focus animation */
input:focus, textarea:focus {
    border-bottom-color: #7f1d1d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        letter-spacing: 0;
    }
}
