/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #3d6628;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #305021;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(61, 102, 40, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3d6628;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid #c7dbb3;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    cursor: pointer;
}
.btn-secondary:hover {
    background: #f2f7f0;
    border-color: #9dbe7e;
    transform: translateY(-1px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #3d6628;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-cta:hover {
    background: #f2f7f0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}

/* ── Inputs ── */
.input-field {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e3ecd9;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1f3416;
    background: #fafaf8;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.input-field::placeholder { color: #9dbe7e; }
.input-field:focus {
    border-color: #74a04e;
    box-shadow: 0 0 0 3px rgba(116, 160, 78, 0.15);
}

/* ── Nav ── */
.navbar { transition: box-shadow 0.3s; }
.navbar.scrolled { box-shadow: 0 1px 12px rgba(61,102,40,0.08); }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #74a04e;
    transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile menu ── */
.mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
    display: block;
    font-size: 1rem;
    color: #3d6628;
    text-decoration: none;
    border-bottom: 1px solid #e3ecd9;
}
.mobile-link:last-child { border: none; }
.mobile-link:hover { color: #74a04e; }

/* ── Hero blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #c7dbb3;
    top: -100px; right: -80px;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px; height: 300px;
    background: #e3ecd9;
    bottom: 10%; left: 5%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px; height: 200px;
    background: #d4e4c4;
    top: 40%; right: 30%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ── Hero cards ── */
.card-main {
    animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.card-float-1 { animation: float1 5s ease-in-out infinite; }
.card-float-2 { animation: float2 6s ease-in-out infinite; }
.card-float-3 { animation: float3 7s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── CTA blobs ── */
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}
.cta-blob.blob-1 {
    width: 500px; height: 500px;
    background: #74a04e;
    top: -200px; left: -100px;
}
.cta-blob.blob-2 {
    width: 400px; height: 400px;
    background: #9dbe7e;
    bottom: -150px; right: -100px;
}

/* ── 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);
}
/* Hidden state for reduced-motion users — JS adds .revealed */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Service card hover ── */
.service-card { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .service-card { transition: opacity 0.5s ease, transform 0.5s ease; }
}

/* ── Gallery ── */
.gallery-item { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .gallery-item { transition: opacity 0.5s ease, transform 0.5s ease; }
}
