/* Custom Styles for Heads Up Barber Shop */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 5px;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hover Effects for Service Cards */
.group:hover .group-hover\:bg-amber-400 {
    background-color: #d4af37;
}

.group:hover .group-hover\:text-slate-900 {
    color: #0f172a;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Image Hover Zoom */
img {
    transition: transform 0.3s ease;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Section Spacing */
section {
    position: relative;
}

/* Gold Accent Line */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5c542);
    margin: 1rem 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}
