/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transition: all 0.3s ease;
}

.nav-scrolled.scrolled {
    background: rgba(250, 250, 247, 0.98);
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.06);
}

.nav-link {
    position: relative;
}

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

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #2D5A3D;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #264d34;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #2D5A3D;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid #2D5A3D;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2D5A3D;
    color: white;
    transform: translateY(-1px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: #2D5A3D;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #f0f5f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Input fields */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    background: white;
    border: 1px solid rgba(45, 90, 61, 0.2);
    border-radius: 2px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1a3a25;
    transition: all 0.3s ease;
    outline: none;
}

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

.input-field:focus {
    border-color: #2D5A3D;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.08);
}

/* Service cards */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2D5A3D, #5e9360);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.mobile-menu-link {
    font-family: 'Inter', system-ui, sans-serif;
}

.mobile-menu-link:hover {
    color: #2D5A3D;
}

/* Reveal animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Stagger children */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Thin decorative line */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 61, 0.15), transparent);
}

/* Subtle hover on images */
img {
    transition: transform 0.5s ease;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #2D5A3D;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .btn-cta,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
}
