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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Hero decorative circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.deco-1 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.deco-2 {
    width: 250px;
    height: 250px;
    background: #fcd34d;
    bottom: 10%;
    left: -60px;
    animation-delay: 2s;
}

.deco-3 {
    width: 180px;
    height: 180px;
    background: #86efac;
    top: 30%;
    right: 5%;
    animation-delay: 4s;
}

.deco-4 {
    width: 120px;
    height: 120px;
    background: white;
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-hidden.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8cb88c;
}

/* Selection color */
::selection {
    background: #b5cfb5;
    color: #1d331d;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #4a7c4a;
    outline-offset: 2px;
}

/* Button hover effects handled by Tailwind */

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(74, 124, 74, 0.15);
}
