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

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

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #2d8a34;
    top: -100px;
    right: -100px;
}

.geo-diamond {
    position: absolute;
    background: #e3ad42;
    opacity: 0.1;
    transform: rotate(45deg);
}

.geo-diamond--1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: -40px;
}

.geo-circle--2 {
    width: 200px;
    height: 200px;
    background: #2d8a34;
    bottom: 20%;
    right: 5%;
    opacity: 0.08;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.08;
}

.geo-triangle--1 {
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent #e3ad42 transparent;
    top: 60%;
    left: 5%;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: #e3ad42;
    bottom: 10%;
    left: 15%;
    opacity: 0.06;
}

.geo-diamond--2 {
    width: 80px;
    height: 80px;
    background: #2d8a34;
    top: 50%;
    right: 10%;
    opacity: 0.07;
}

/* ===== DOT PATTERN ===== */
.dot-pattern {
    background-image: radial-gradient(circle, #2d8a34 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===== NAVBAR ===== */
.nav {
    background: rgba(250, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 138, 52, 0.08);
    transition: all duration-500;
}

.nav.scrolled {
    background: rgba(250, 250, 245, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

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

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

.nav-logo-mark {
    color: #2d8a34;
    transition: transform 0.3s ease;
}

.nav-logo-mark:hover {
    transform: rotate(15deg) scale(1.1);
}

.nav-cta {
    background: #1e6b26;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #2d8a34;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 138, 52, 0.3);
}

/* Mobile Menu */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    border-bottom: 1px solid rgba(45, 138, 52, 0.08);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e6b26;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2d8a34;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(45, 138, 52, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1e6b26;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid #1e6b26;
    transition: all 0.3s ease;
}

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

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e3ad42;
    color: #0c2e12;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: #eecc74;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 173, 66, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

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

/* ===== HERO ===== */
.hero-geo {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-geo--green {
    width: 500px;
    height: 500px;
    background: #d9edda;
    top: 10%;
    right: -5%;
    opacity: 0.5;
}

.hero-geo--cream {
    width: 300px;
    height: 300px;
    background: #f5e8b0;
    bottom: 10%;
    left: 5%;
    opacity: 0.4;
}

.hero-geo--accent {
    width: 150px;
    height: 150px;
    background: #e3ad42;
    top: 40%;
    left: 45%;
    opacity: 0.2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-badge {
    animation: fadeInDown 0.6s ease forwards;
}

.hero-content > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card--1 {
    animation-delay: 0s;
}

.floating-card--2 {
    animation-delay: -2s;
}

.floating-card--3 {
    animation-delay: -4s;
}

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

/* ===== SERVICE CARDS ===== */
.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(45, 138, 52, 0.06);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover .service-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(45, 138, 52, 0.12);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    cursor: pointer;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    font-family: 'Playfair Display', serif;
    color: #d9edda;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(45, 138, 52, 0.1);
}

/* ===== FORM STYLES ===== */
.input-field {
    border: 2px solid #e8f0e6;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #0c2e12;
    background: #fafaf5;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field:focus {
    border-color: #2d8a34;
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 138, 52, 0.1);
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .floating-card {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== CTA GEOMETRIC SHAPES ===== */
.cta-geo {
    position: absolute;
    opacity: 0.1;
}

.cta-geo--1 {
    width: 200px;
    height: 200px;
    background: #e3ad42;
    border-radius: 50%;
    top: -50px;
    left: 10%;
}

.cta-geo--2 {
    width: 120px;
    height: 120px;
    background: white;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
}

.cta-geo--3 {
    width: 80px;
    height: 80px;
    background: #e3ad42;
    bottom: -20px;
    right: 30%;
    border-radius: 50%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-geo--green {
        width: 300px;
        height: 300px;
    }

    .hero-geo--cream {
        width: 200px;
        height: 200px;
    }

    .floating-card--1 {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
    }

    .floating-card--2 {
        position: relative;
        bottom: auto;
        right: auto;
        margin-bottom: 16px;
    }

    .floating-card--3 {
        display: none;
    }

    .hero-card-main img {
        height: 400px;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: -5px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-content .flex {
        flex-direction: column;
    }
}
