/* Custom styles for Hamlett Sheryle DDS */

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

/* Blob animations */
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 50px) scale(1.05); }
}

.animate-blob {
    animation: blob 7s infinite ease-in-out;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animation-delay-1500 {
    animation-delay: 1.5s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Nav styles */
#nav.scrolled {
    background: rgba(250, 245, 249, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(107, 47, 91, 0.08);
}

.nav-link {
    position: relative;
}

/* Input focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle hover glow on cards */
.group:hover .w-14 {
    box-shadow: 0 8px 25px rgba(107, 47, 91, 0.2);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #b87aad, #d97706);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #92408e, #b45309);
}

/* Selection color */
::selection {
    background: rgba(184, 122, 173, 0.3);
    color: #471f3a;
}
