/* ==================== FADE IN ==================== */

.fade-in {
    animation: fadeIn 1s ease-in;
}

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


/* ==================== SLIDE UP (legacy) ==================== */

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

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


/* ==================== SCROLL REVEAL ==================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ==================== PAGE LOAD TRANSITION ==================== */

body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}


/* ==================== FLOATING BACKGROUND SHAPES ==================== */

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 { animation-delay: 0s; animation-duration: 25s; }
.shape-2 { animation-delay: 2s; animation-duration: 30s; }
.shape-3 { animation-delay: 4s; animation-duration: 28s; }
.shape-4 { animation-delay: 1s; animation-duration: 32s; }
.shape-5 { animation-delay: 3s; animation-duration: 26s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, 30px) rotate(5deg); }
    50% { transform: translate(-20px, 50px) rotate(-5deg); }
    75% { transform: translate(40px, -30px) rotate(3deg); }
}


/* ==================== FLOATING DOTS ==================== */

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    animation: floatDot 15s ease-in-out infinite;
    pointer-events: none;
}

.dot-large {
    width: 12px;
    height: 12px;
    background: rgba(212, 165, 116, 0.4);
}

.dot-1  { animation-delay: 0s; }
.dot-2  { animation-delay: 1s; }
.dot-3  { animation-delay: 2s; }
.dot-4  { animation-delay: 3s; }
.dot-5  { animation-delay: 4s; }
.dot-6  { animation-delay: 1.5s; }
.dot-7  { animation-delay: 2.5s; }
.dot-8  { animation-delay: 3.5s; }
.dot-9  { animation-delay: 0.5s; }
.dot-10 { animation-delay: 2.2s; }

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}


/* ==================== FLOATING MEDIUM ELEMENTS ==================== */

.floating-medium {
    position: absolute;
    background: rgba(212, 165, 116, 0.15);
    border-radius: 50%;
    animation: floatMedium 18s ease-in-out infinite;
    pointer-events: none;
}

.medium-1 { animation-delay: 0s; }
.medium-2 { animation-delay: 2s; }
.medium-3 { animation-delay: 4s; }
.medium-4 { animation-delay: 1s; }
.medium-5 { animation-delay: 3s; }

@keyframes floatMedium {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-15px, 25px) scale(0.9);
        opacity: 0.5;
    }
}
