/* Custom Styles */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #81193d;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #9c1c46 !important;
    box-shadow: 0 0 0 3px rgba(156, 28, 70, 0.1) !important;
}

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

/* Mobile Menu Animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Stat Card Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(3deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(1deg);
    }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float2 3.5s ease-in-out infinite;
}

.floating-card-3 {
    animation: float3 4.5s ease-in-out infinite;
}

/* Ensure all text is readable */
.bg-plum-950 h1,
.bg-plum-950 h2,
.bg-plum-950 h3,
.bg-plum-950 h4,
.bg-plum-950 p,
.bg-plum-950 span {
    color: #ffffff;
}

.bg-plum-950 .text-plum-200,
.bg-plum-950 .text-plum-300 {
    color: #f5a5b8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
