/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Hero decorative shapes */
.hero-shape-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #d9efd9 0%, #b5dfb5 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.6;
    animation: morphShape 8s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    bottom: 20%;
    left: 3%;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #b5dfb5 0%, #82c482 100%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-3 {
    position: absolute;
    top: 30%;
    left: 45%;
    width: 80px;
    height: 80px;
    background: #f3f0de;
    border-radius: 16px;
    transform: rotate(45deg);
    opacity: 0.7;
    animation: spin 12s linear infinite;
}

.hero-shape-4 {
    position: absolute;
    bottom: 15%;
    right: 35%;
    width: 120px;
    height: 120px;
    border: 3px solid #d9efd9;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 36% 64% / 54% 66% 34% 46%; }
    50% { border-radius: 42% 58% 64% 36% / 46% 54% 46% 54%; }
    75% { border-radius: 64% 36% 42% 58% / 36% 42% 58% 64%; }
}

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

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* Navbar */
.nav-fixed {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 92, 30, 0.08);
}

.nav-scrolled {
    box-shadow: 0 4px 20px rgba(30, 92, 30, 0.08);
}

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Scroll reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3,
    .hero-shape-4 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        transition: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #faf8ef;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #82c482;
}
