/* Custom animations that extend Tailwind utilities */

/* Anti-Gravity Floating Animation for the Hero Image */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-img {
    animation: float 6s ease-in-out infinite;
    -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, black 60%, transparent 100%);
    mask-image: radial-gradient(50% 50% at 50% 50%, black 60%, transparent 100%);
}

/* Ensure floating labels work perfectly by hiding standard placeholders */
input:not(:placeholder-shown) + label,
textarea:not(:placeholder-shown) + label {
    top: -1rem;
    font-size: 0.875rem;
    color: white;
}

/* Form success/error text colors */
.text-success {
    color: #4ade80; /* Tailwind green-400 */
}

.text-error {
    color: #f87171; /* Tailwind red-400 */
}

/* Scrollbar styling for a more premium feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B192C; 
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4A90E2; 
}

/* Cookie Banner Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
