/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FAFAF5;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

/* Circles */
.shape-circle-1 {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, #6fa86f 0%, transparent 70%);
    top: -120px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #9cc49c 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #c6dfc6 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-circle-4 {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, #4d8a4d 0%, transparent 70%);
    bottom: -60px;
    right: 15%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.shape-circle-5 {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, #3d6e3d 0%, transparent 70%);
    top: -80px;
    left: -100px;
    animation: float-slow 22s ease-in-out infinite;
}

/* Squares */
.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #9cc49c;
    top: 25%;
    left: 5%;
    transform: rotate(45deg);
    animation: float-slow 16s ease-in-out infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #6fa86f;
    bottom: 20%;
    right: 8%;
    transform: rotate(20deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.shape-square-3 {
    width: 160px;
    height: 160px;
    background: #284628;
    bottom: -40px;
    right: 10%;
    transform: rotate(30deg);
    animation: float-slow 20s ease-in-out infinite;
}

/* Triangles */
.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #9cc49c;
    top: 60%;
    left: 15%;
    animation: float-slow 13s ease-in-out infinite;
    opacity: 0.12;
}

/* Diamond */
.shape-diamond-1 {
    width: 140px;
    height: 140px;
    background: #6fa86f;
    top: 15%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 17s ease-in-out infinite reverse;
}

/* Dots Pattern */
.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #6fa86f 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.2;
    top: 20%;
    right: 5%;
}

/* Stripe */
.shape-stripe-1 {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6fa86f, transparent);
    top: 50%;
    left: -50px;
    transform: rotate(-15deg);
    animation: float-slow 19s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.shape-circle-1, .shape-circle-2, .shape-circle-3, .shape-circle-4, .shape-circle-5 {
    --rotation: 0deg;
}

.shape-square-1 { --rotation: 45deg; }
.shape-square-2 { --rotation: 20deg; }
.shape-square-3 { --rotation: 30deg; }
.shape-diamond-1 { --rotation: 45deg; }

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

.scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Mobile Menu */
#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: #FAFAF5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6fa86f;
}

/* Selection */
::selection {
    background: #6fa86f;
    color: #fff;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #6fa86f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}
