/* =========================================================
   DRW Lawn Care — stylesheet
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --primary-color: #1b4332;       /* Deep Forest Green from logo */
    --primary-light: #2d6a4f;       /* Medium Forest Green */
    --accent-color: #74c69d;        /* Bright Grass Green */
    --secondary-color: #ffb703;     /* Bright Harvest Gold */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.08);
    --radius: 10px;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
a {
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* =========================== Header =========================== */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-placeholder {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.logo-text .accent-text {
    color: var(--primary-light);
}
nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
nav .nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
nav .nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}
nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}
nav .nav-links a:hover, nav .nav-links a.active {
    color: var(--primary-light);
}
nav .nav-links a:hover::after, nav .nav-links a.active::after {
    width: 100%;
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.header-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================== Buttons =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: #1b4332;
}
.btn-primary:hover {
    background-color: #e0a100;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}
.btn-outline-dark {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-facebook {
    background-color: #1877F2;
    color: var(--white);
}
.btn-facebook:hover {
    background-color: #145dc0;
    transform: translateY(-2px);
}

/* =========================== Hero =========================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(27,67,50,0.93) 0%, rgba(45,106,79,0.88) 100%), url('images/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 150px 0 120px;
    text-align: left;
}
.hero-content {
    max-width: 650px;
}
.hero-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Small page hero used on interior pages */
.page-hero {
    background: linear-gradient(135deg, rgba(27,67,50,0.95) 0%, rgba(45,106,79,0.9) 100%);
    color: var(--white);
    padding: 90px 0 60px;
    text-align: center;
}
.page-hero .section-tag { color: var(--accent-color); }
.page-hero h1 {
    font-size: 2.4rem;
    margin: 10px 0 12px;
}
.page-hero p {
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
}
.breadcrumb {
    margin-top: 18px;
    font-size: 0.85rem;
    opacity: 0.75;
}
.breadcrumb a { text-decoration: none; color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }

/* =========================== Info bar =========================== */
.info-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid #e9ecef;
    padding: 24px 0;
}
.info-bar-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.info-icon {
    color: var(--primary-light);
    background: var(--white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.info-item h3 {
    font-size: 0.95rem;
    color: var(--text-dark);
}
.info-item a, .info-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}
.info-item a:hover {
    color: var(--primary-light);
}

/* =========================== Section basics =========================== */
.section-title-wrapper {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px auto;
}
.section-tag {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-tag.light {
    color: var(--accent-color);
}
.section-title-wrapper h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin: 8px 0 15px 0;
}
.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}
.title-underline.left {
    margin: 0 0 20px 0;
}
.section-description {
    color: var(--text-muted);
}

/* =========================== Work showcase / gallery =========================== */
.work-showcase {
    padding: 90px 0;
    text-align: center;
    background: #f7f7f5;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
    aspect-ratio: 4 / 5;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================== Services =========================== */
.services-section {
    padding: 100px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}
.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(116, 198, 157, 0.16);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon-box .icon {
    width: 26px;
    height: 26px;
}
.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================== Why choose us =========================== */
.why-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}
.why-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
@media (min-width: 768px) {
    .why-container {
        grid-template-columns: 1fr 1fr;
    }
}
.why-image-wrap {
    position: relative;
}
.why-image-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}
.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -16px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.experience-badge .icon {
    width: 26px;
    height: 26px;
    color: var(--secondary-color);
    margin-bottom: 6px;
}
.badge-text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 110px;
    font-weight: 700;
}
.why-content h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-top: 8px;
}
.why-content > p {
    color: var(--text-muted);
    margin-top: 16px;
}
.why-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.why-feature-item {
    display: flex;
    gap: 16px;
}
.feature-check {
    background-color: rgba(116, 198, 157, 0.2);
    color: var(--primary-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-check .icon {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}
.why-feature-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.why-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================== CTA banner =========================== */
.cta-banner {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
}
.cta-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cta-banner h2 {
    font-size: 1.9rem;
    margin-bottom: 6px;
}
.cta-banner p {
    opacity: 0.85;
}
.cta-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================== Contact section (used on contact page) =========================== */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 4fr 6fr;
    }
}
.contact-info-panel h2 {
    font-size: 2.25rem;
    margin: 10px 0 20px 0;
}
.contact-info-panel > p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.detail-icon {
    color: var(--accent-color);
    background-color: rgba(255,255,255,0.1);
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-item h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.detail-item a, .detail-item span {
    font-size: 1.15rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}
.detail-item a:hover {
    color: var(--secondary-color);
}
.facebook-cta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.facebook-cta p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.contact-form-panel {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 8px;
}
.contact-form-panel h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.contact-form-panel > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(116, 198, 157, 0.25);
}
.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 14px;
    margin-top: 10px;
}
.btn-submit:hover {
    background-color: var(--primary-light);
}
.form-status {
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--primary-light);
    display: none;
}
.form-status.visible {
    display: block;
}

/* =========================== Footer =========================== */
footer {
    background-color: #112a20;
    color: #cfd8d3;
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}
.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.3rem;
}
.footer-brand .logo-text .accent-text {
    color: var(--accent-color);
}
.footer-brand p {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #9fb3ac;
    max-width: 280px;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background-color: #1877F2;
    transform: translateY(-3px);
}
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    text-decoration: none;
    color: #9fb3ac;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover {
    color: var(--accent-color);
}
.footer-col .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #9fb3ac;
    font-size: 0.9rem;
}
.footer-col .footer-contact-item .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--accent-color);
}
.footer-bottom {
    padding: 26px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #7c9089;
}

/* =========================== Back to top =========================== */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: var(--primary-light);
}

/* =========================== Scroll reveal =========================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================== Responsive nav =========================== */
@media (max-width: 860px) {
    .header-cta {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    nav .nav-links {
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    nav .nav-links.open {
        max-height: 400px;
    }
    nav .nav-links li {
        border-top: 1px solid #eee;
    }
    nav .nav-links a {
        display: block;
        padding: 16px 24px;
    }
    nav .nav-links a::after {
        display: none;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .info-bar-grid {
        justify-content: center;
        text-align: center;
    }
    .experience-badge {
        right: 10px;
    }
    .cta-banner-inner {
        text-align: center;
        justify-content: center;
    }
}
