/* Custom styles for Your Fairy Godmother */

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal base styles - always visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Progressive enhancement: hide for reveal when JS is enabled and not yet triggered */
@media (prefers-reduced-motion: no-preference) {
    .reveal.is-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: #120c10;
}

::-webkit-scrollbar-thumb {
    background: #4a0e0c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7b241c;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fdf8f6;
}

/* Select dropdown styling */
select option {
    background: #120c10;
    color: #fdf8f6;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(18, 12, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f0d48a 0%, #d4a843 50%, #e8c060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
