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

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

body {
    overflow-x: hidden;
}

::selection {
    background-color: #b9d0b5;
    color: #1c3727;
}

/* ─── Navigation ─── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7FB069;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08);
}

#navbar.scrolled .nav-link {
    color: #2d5a3d;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #2D5A3D;
    color: #faf9f6;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: #3a6235;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #2d5a3d;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid #dce8dc;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: #2d5a3d;
    background: #f0f5ef;
    transform: translateY(-2px);
}

/* ─── Tags ─── */
.tag-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a7a44;
    background: #eaf3e3;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid #d5e6cc;
}

/* ─── Input Fields ─── */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    background: #faf9f6;
    transition: all 0.25s ease;
    outline: none;
}

.input-field::placeholder {
    color: #9ca3af;
}

.input-field:focus {
    border-color: #7FB069;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.15);
}

/* ─── Menu Items ─── */
.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f5ef;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item:hover h4 {
    color: #4a7a44;
}

.menu-item h4 {
    transition: color 0.2s ease;
}

/* ─── Cards ─── */
.card-elevated {
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 4px 24px rgba(45, 90, 61, 0.06);
    transition: all 0.4s ease;
}

.card-elevated:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(45, 90, 61, 0.12);
}

/* ─── Floating Animations ─── */
@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

.animate-float-card {
    animation: float-card 4s ease-in-out infinite;
}

.animate-float-card-delayed {
    animation: float-card-delayed 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s 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; }

/* ─── Mobile Menu ─── */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #4a7a44;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .font-serif:nth-of-type(2) {
        font-size: 2rem;
    }

    #hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .font-serif {
        font-size: 2rem;
    }
}
