/* Custom Styles for Sharpcuts Barbershop */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animations */
.reveal-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-image {
    animation: fadeIn 1s ease-out forwards;
}

/* Staggered delays for hero text */
.reveal-text:nth-child(1) { animation-delay: 0.1s; }
.reveal-text:nth-child(2) { animation-delay: 0.3s; }
.reveal-text:nth-child(3) { animation-delay: 0.5s; }
.reveal-text:nth-child(4) { animation-delay: 0.7s; }

/* Image reveal animation */
.reveal-image {
    animation-delay: 0.2s;
}

/* Hover effects for service cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

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

::-webkit-scrollbar-thumb {
    background: #2d2d2d;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b55;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #ff6b55;
    outline-offset: 2px;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}
