/* Custom Styles for Apple Of Eden Hair Studio */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

p, a, span, input, textarea, select, button {
    font-family: 'Lato', sans-serif;
}

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

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

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

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

/* Focus States for Accessibility */
input:focus, textarea:focus, select:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #800020;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

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

/* Service Card Hover */
.group:hover .group-hover\:bg-eden-burgundy {
    background-color: #800020;
}

/* Ensure images have consistent aspect ratios */
img {
    object-fit: cover;
}
