/* ===== Custom Styles for The Dirty Flo ===== */

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

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

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

.floating-card:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none; opacity: 1; transform: none; }
    .floating-card { animation: none; }
    .group-hover\:scale-105 { transition: none; }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity: 0;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(250, 245, 251, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

/* Custom selection color */
::selection {
    background: rgba(168, 85, 176, 0.2);
    color: #4d224f;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #a855b0;
    outline-offset: 2px;
}

/* Subtle gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #7B2D8E 0%, #E8A838 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
