/* Particle System - more energetic */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(212, 160, 23, 0.4);
    border-radius: 50%;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Leaf Animations - more rhythmic */
@keyframes leaf-sway-1 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-10px) rotate(-8deg); }
    75% { transform: translateX(10px) rotate(8deg); }
}

@keyframes leaf-sway-2 {
    0%, 100% { transform: translateX(0) rotate(15deg); }
    33% { transform: translateX(15px) rotate(20deg); }
    66% { transform: translateX(-15px) rotate(10deg); }
}

@keyframes leaf-sway-3 {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

.leaf {
    animation-duration: 7s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.leaf-1 { animation-name: leaf-sway-1; }
.leaf-2 { animation-name: leaf-sway-2; animation-delay: 1s; }
.leaf-3 { animation-name: leaf-sway-3; animation-delay: 2s; }
.leaf-4 { animation-name: leaf-sway-1; animation-delay: 3s; }
.leaf-5 { animation-name: leaf-sway-2; animation-delay: 4s; }
.leaf-6 { animation-name: leaf-sway-3; animation-delay: 5s; }
.leaf-7 { animation-name: leaf-sway-1; animation-delay: 6s; }
.leaf-8 { animation-name: leaf-sway-2; animation-delay: 7s; }

/* Vine Growth Animation - warmer */
@keyframes vine-grow {
    0% { height: 0; opacity: 0; }
    100% { height: 300px; opacity: 0.2; }
}

.vine {
    animation: vine-grow 2s ease-out;
}

/* Page Transition Animations */
@keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

main {
    animation: page-fade-in 0.5s ease-out;
}

/* Section Entrance Animations */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Button Pulse Animation - latin rhythm */
@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

.cta-button.primary {
    animation: button-pulse 2s infinite;
}

/* Logo Glow Animation */
@keyframes logo-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 160, 23, 0.5); }
    50% { text-shadow: 0 0 20px rgba(212, 160, 23, 0.8), 0 0 30px rgba(205, 92, 60, 0.5); }
}

.hero-logo-main {
    animation: logo-glow 3s ease-in-out infinite;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .leaf,
    .vine,
    .particle {
        display: none;
    }
}