/* ============================================
   GREENCUT LAWN MOWER SERVICING
   Garden & Maintenance Themed Design
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

:root {
    /* Earthy greens */
    --green-deep: #1a3c1a;
    --green-dark: #2a5c2a;
    --green-mid: #3d7c3f;
    --green-bright: #4a9a4d;
    --green-light: #6ab04c;
    --green-pale: #e8f2e0;

    /* Warm earth tones */
    --earth-dark: #3e2f1c;
    --earth-mid: #5a4a3a;
    --earth-warm: #8b7355;
    --earth-light: #c4a96a;

    /* Backgrounds */
    --bg-cream: #f4f7f0;
    --bg-warm: #faf8f3;
    --bg-card: #ffffff;

    /* Text */
    --text-primary: #1a2e1a;
    --text-body: #3a4a3a;
    --text-muted: #6b7b6b;

    /* Misc */
    --shadow-sm: 0 2px 8px rgba(26, 60, 26, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 60, 26, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 60, 26, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-cream);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(244, 247, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 12px rgba(26, 60, 26, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(61, 124, 63, 0.3);
}

.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-deep);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s;
    position: relative;
}

.nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-bright);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--green-dark);
}

.btn-nav {
    background: var(--green-deep);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s !important;
    box-shadow: 0 2px 8px rgba(26, 60, 26, 0.2);
}

.btn-nav:hover {
    background: var(--green-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 60, 26, 0.25) !important;
}

/* Hamburger menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 110;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--green-deep);
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.mobile-menu span:nth-child(1) { top: 0; }
.mobile-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu span:nth-child(3) { bottom: 0; }

.mobile-menu.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu.open span:nth-child(2) { opacity: 0; }
.mobile-menu.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--green-deep) 0%, #1e4d1e 30%, var(--green-dark) 60%, var(--green-mid) 100%);
    color: #fff;
    padding: 120px 0 160px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(106, 176, 76, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(74, 154, 77, 0.1) 0%, transparent 50%);
}

/* Subtle topographic / field pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.3) 40px, rgba(255,255,255,0.3) 41px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 36px;
    opacity: 0.85;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #fff;
    color: var(--green-deep);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}

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

/* Grass edge between hero and services */
.hero-grass {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.hero-grass svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-badge {
    display: inline-block;
    background: rgba(61, 124, 63, 0.08);
    color: var(--green-mid);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-badge.light {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title.left {
    text-align: left;
}

.section-title.light {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 48px;
}

.section-subtitle.light {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 80px 0 90px;
    background: var(--bg-cream);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.service-card {
    background: var(--bg-card);
    padding: 36px 28px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(26, 60, 26, 0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-light), var(--green-bright));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--green-pale), rgba(106, 176, 76, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-mid);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 90px 0;
    background: var(--bg-warm);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    background: linear-gradient(160deg, var(--green-pale) 0%, rgba(106, 176, 76, 0.12) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    border: 1px solid rgba(61, 124, 63, 0.1);
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(106, 176, 76, 0.08) 0%, transparent 70%);
}

.mower-illustration {
    position: relative;
    z-index: 1;
}

.mower-illustration svg {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(26, 60, 26, 0.1));
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.stat {
    background: #fff;
    padding: 14px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-mid);
}

.stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-text .section-badge {
    display: inline-block;
}

.about-text .section-title {
    margin-top: 4px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.about-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.about-list li {
    padding: 10px 12px 10px 36px;
    position: relative;
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
    background: rgba(61, 124, 63, 0.04);
    border-radius: 8px;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--green-bright);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 90px 0 100px;
    background: linear-gradient(160deg, var(--green-deep) 0%, #1e4d1e 40%, var(--green-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 50px 50px;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-top: 8px;
}

.contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(8px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
}

.contact-item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #e0e5dc;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 14px;
    transition: all 0.2s;
    background: var(--bg-cream);
    color: var(--text-primary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-bright);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 154, 77, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
    color: #fff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(61, 124, 63, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(61, 124, 63, 0.4);
}

.form-note {
    margin-top: 14px;
    font-size: 0.88rem;
    text-align: center;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--earth-dark);
    color: rgba(255,255,255,0.5);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-brand h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--green-light);
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger service cards */
.service-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.service-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.service-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.service-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.service-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
        border-radius: var(--radius);
        border: 1px solid rgba(26, 60, 26, 0.06);
    }

    .nav-open {
        display: flex;
    }

    .nav a:not(.btn-nav)::after {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .btn-nav {
        text-align: center;
        width: 100%;
    }

    .hero {
        padding: 80px 0 120px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-grass svg {
        height: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-badge {
        text-align: center;
        display: block;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form {
        padding: 28px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .stat {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
