/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(26, 92, 42, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #1a5c2a;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #ffe4b8;
    top: -80px;
    left: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #a5d6a7;
    top: 20%;
    right: 5%;
    animation: floatShape 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffcc7a;
    bottom: 25%;
    left: 8%;
    animation: floatShape 7s ease-in-out infinite 1s;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: #c8e6c9;
    bottom: 20%;
    right: 12%;
    transform: rotate(45deg);
    animation: spinShape 12s linear infinite;
}

.geo-square-2 {
    width: 60px;
    height: 60px;
    background: #ffe4b8;
    top: 30%;
    left: 15%;
    transform: rotate(20deg);
    animation: spinShape 15s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #a5d6a7;
    top: 15%;
    right: 20%;
    animation: floatShape 9s ease-in-out infinite 0.5s;
    opacity: 0.15;
}

.geo-dots {
    background-image: radial-gradient(circle, rgba(255, 228, 184, 0.5) 2px, transparent 2px);
    background-size: 30px 30px;
    width: 200px;
    height: 200px;
    bottom: 30%;
    left: 5%;
    opacity: 0.4;
}

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

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

/* ===== PRODUCT CARDS ===== */
.product-card {
    cursor: pointer;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #faf8f4;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }

    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
}
