/* Custom styles for Michele Ann's Beauty Salon */

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

/* Custom font styles */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Custom colors */
.text-plum {
    color: #7B4A6B;
}

.bg-plum {
    background-color: #7B4A6B;
}

.bg-plum-dark {
    background-color: #3D2B2B;
}

.bg-amber {
    background-color: #C8963C;
}

.bg-amber-dark {
    background-color: #B07D2F;
}

/* Custom transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Custom shadows */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

/* Hover effects for cards */
.group:hover .group-hover\:bg-amber {
    background-color: #C8963C;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #7B4A6B;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6A3D5C;
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.875rem;
    }
    
    .text-5xl {
        font-size: 2.25rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-7xl {
        font-size: 3.5rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in-up {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}
