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

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

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

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3d6426, #4a7a2e);
    color: #fdfcf7;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(61, 100, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 100, 38, 0.4);
    background: linear-gradient(135deg, #32511f, #3d6426);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #3d6426;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 9999px;
    border: 2px solid #3d6426;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #3d6426;
    color: #fdfcf7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 100, 38, 0.25);
}

/* ─── Input Fields ─── */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e8f0e2;
    border-radius: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #213715;
    background: #fdfcf7;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #a3b89a;
}

.input-field:focus {
    border-color: #4a7a2e;
    box-shadow: 0 0 0 4px rgba(74, 122, 46, 0.1);
    background: #fff;
}

/* ─── Cards ─── */
.card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(33, 55, 21, 0.08);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(33, 55, 21, 0.15);
}

.card-img {
    transition: transform 0.6s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

/* ─── Hero Image ─── */
.hero-image {
    animation: float 6s ease-in-out infinite;
}

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

.hero-image-wrapper {
    position: relative;
    padding: 1rem;
}

/* ─── Gallery ─── */
.gallery-item {
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ─── Navbar ─── */
#navbar {
    background: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(188, 208, 171, 0.3);
}

#navbar.scrolled {
    background: rgba(253, 252, 247, 0.95);
    box-shadow: 0 4px 20px rgba(33, 55, 21, 0.08);
}

.nav-link {
    position: relative;
}

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }

/* ─── Decorative Pattern ─── */
.section-pattern {
    background-image: radial-gradient(circle, rgba(74, 122, 46, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-image {
        animation: none;
    }
}
