html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 4rem;
}

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

.form-message {
    animation: slideDown 0.3s ease-out;
}

nav {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

nav.transparent {
    background-color: rgba(41, 37, 36, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#mobile-menu.transparent {
    background-color: rgba(41, 37, 36, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

#consent-banner {
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Removed static float animation - now handled by JavaScript repelling effect */
.animate-float {
    /* Elements are now positioned absolutely and controlled by JavaScript */
    transition: opacity 0.3s ease;
}

.animate-logo-entrance {
    animation: logoEntrance 1.2s ease-out 0.3s both, float 3s ease-in-out 1.5s infinite;
}

@keyframes logoEntrance {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.animate-logo-entrance {
    animation: logoEntrance 1.2s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-down {
    animation: slideInDown 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-up.delay-100 {
    animation-delay: 0.1s;
}

.animate-slide-in-up.delay-200 {
    animation-delay: 0.2s;
}

.animate-slide-in-up.delay-300 {
    animation-delay: 0.3s;
}

@keyframes focusGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

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

.form-input-focus {
    transition: all 0.3s ease;
}

.form-input-focus:focus {
    animation: focusGlow 0.6s ease-out;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    #consent-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

