/* Custom Styles for Rose's Nails */

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

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

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

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

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

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

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

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

/* Button Hover Effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Image Hover Container */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.overflow-hidden:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

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

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(15, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}
