/* Basic Reset & Body Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Visual Enhancement: Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333; /* Dark grey text */
    padding-top: 60px; /* Adjusted if sticky nav height changes significantly */
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    display: block;
}

a {
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* General layout classes */
.container { max-width: 1100px; margin: 0 auto; padding: 0 25px; }
.content-section { padding: 50px 0; }
.light-bg { background-color: #f8f9fa; }
.text-center { text-align: center; }

/* Two Column Layout */
.two-column { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.two-column .column { flex: 1; min-width: 300px; } /* Ensure columns wrap on smaller screens */
.two-column .image-column img { border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* List Styles */
.focus-list { list-style: none; padding-left: 0; margin-bottom: 1.2em; }
.focus-list li { margin-bottom: 0.8em; padding-left: 25px; position: relative; color: #333; }
.focus-list li::before { content: '✔'; position: absolute; left: 0; color: #3D8C40; /* Green checkmark for lawncare */ font-weight: bold; }

/* === STICKY NAVIGATION BAR STYLES === */
.sticky-nav {
    background-color: #3D8C40; /* Green for lawncare */
    color: #fff;
    padding: 5px 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sticky-nav-logo-area {
   display: flex;
   align-items: center;
   margin-right: auto;
   flex-shrink: 0;
   color: #fff;
   text-decoration: none;
}

.sticky-nav-logo {
   display: block;
   max-height: 120px; /* Increased from 40px to 120px (3x) */
   width: auto;
   border-radius: 8px;
}

/* Global mobile-first navigation styles */
.sticky-nav-center {
    display: none; /* Hidden by default (mobile menu state) */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2D6B30; /* Darker green for mobile menu */
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 999;
    flex-direction: column;
    padding: 10px 0;
}

.sticky-nav-center.active {
    display: flex; /* Shown when active */
}

.nav-dropdown {
    display: none; /* This class is not used for the main nav, but hiding it just in case */
}

.dropdown-content {
    flex-direction: column; /* Stack menu items vertically */
    gap: 0; /* Remove gap between stacked items */
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    opacity: 1; /* Always visible when .active */
    visibility: visible; /* Always visible when .active */
    transition: none;
}

.dropdown-content li {
    width: 100%; /* Full width for each menu item */
}

.dropdown-content li a {
    color: white;
    padding: 10px 25px; /* Padding for click area */
    text-decoration: none;
    display: block; /* Make link fill the width */
    width: 100%;
    font-size: 0.9em;
    white-space: nowrap;
}
.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: block; /* Always show hamburger icon */
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.sticky-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.sticky-nav-button {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}
.sticky-nav-button:hover { opacity: 0.8; }
.sticky-nav-icon { height: 16px; width: auto; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* === Header Styles === */
.site-header {
    /* The inner .container will now handle the width and centering */
    display: flex; /* Keep flex for inner alignment */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    border-bottom: 1px solid #eee;
    background-color: #fff;
    gap: 20px;
    padding: 0; /* Remove padding from .site-header itself */
}

/* Ensure the .container inside site-header gets proper padding and centering */
.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 25px; /* Apply padding here to match other containers */
    /* max-width and margin: auto are already defined for .container */
}


.site-header .logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    max-height: 720px; /* Increased from 540px to 720px for larger desktop view */
    width: auto;
}

.site-header .header-text {
    text-align: center;
}

.tagline {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85em;
    margin-top: 0;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.service-rating { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 0.85em; color: #333; }
.star-icon { width: 35px; height: auto; flex-shrink: 0; }

.button.book-button {
    font-family: Arial, Helvetica, sans-serif;
    border: 1.5px solid #3D8C40; /* Green border for lawncare */
    border-radius: 25px;
    padding: 10px 18px;
    background-color: #fff;
    color: #3D8C40; /* Green text for lawncare */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8em;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}
.button.book-button:hover {
    background-color: #3D8C40; /* Green background on hover */
    color: #fff;
}
.phone-contact { display: flex; align-items: center; gap: 8px; }
.phone-icon { width: 30px; height: auto; flex-shrink: 0; }
.phone-number {
    font-family: Georgia, Times, 'Times New Roman', serif;
    color: #3D8C40; /* Green for lawncare */
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap;
}

.hero { max-width: 1100px; margin: 20px auto 0 auto; padding: 0 25px; }

/* === Content Section Specific Styles === */
.about-section { background-color: #ffffff; color: #333; }
.about-section h2.main-heading {
    color: #333;
    text-align: center; /* Centered the heading */
}
.about-section h3.sub-heading { font-size: 1.1em; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; color: #6B8E23; /* Olive green for sub-heading */ text-align: center;}
.about-section p { color: #333; }

.content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#benefits h3.sub-heading { color: #6B8E23; }

.reviews-section {
    background: linear-gradient(to right, #3D8C40, #6B8E23); /* Green gradient for lawncare */
    color: #fff;
}
.reviews-section .main-heading, .reviews-section .section-heading { color: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.review-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}
.review-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.review-item blockquote { font-style: italic; margin-bottom: 15px; flex-grow: 1; font-size: 0.95em; line-height: 1.6; border: none; padding: 0; }
.review-item cite { font-weight: bold; margin-bottom: 10px; font-style: normal; display: block; }
.review-stars { color: #FFD700; font-size: 1.4em; margin: 0 auto; line-height: 1; }

.repair-section { background-color: #f8f9fa; color: #333; }
.repair-section .section-heading { color: #333; }
#features h3.sub-heading { color: #6B8E23; }

#faq h3.sub-heading { color: #6B8E23; }

.faq-list ul { list-style: disc; margin-left: 20px; margin-bottom: 1.5em;}
.faq-list li { margin-bottom: 0.8em; }
.faq-list li a { color: #3D8C40; /* Green for lawncare */ text-decoration: underline; }
.faq-list li a:hover { color: #2D6B30; }
.faq-list .faq-item { margin-bottom: 20px; }
.faq-list .faq-item h4 { margin-bottom: 5px; color: #333; }
.faq-list .faq-item p { margin-bottom: 0; }

/* === Footer Styles === */
footer { background-color: #ffffff; color: #333; padding-top: 20px; padding-bottom: 30px; }
.footer-divider { border: none; height: 1px; background-color: #ccc; margin: 40px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.footer-column { flex: 1; min-width: 220px; padding: 0 10px; }
.footer-contact h4 { margin-bottom: 15px; font-size: 1.1em; }
.footer-contact p { margin-bottom: 8px; font-size: 0.9em; }
.footer-contact a { color: #3D8C40; /* Green for lawncare */ text-decoration: none; }
.footer-contact a:hover { opacity: 0.8; }
.footer-book-link { font-weight: bold; display: inline-block; margin-top: 10px; color: #6B8E23; /* Olive green for link */ }
.footer-book-link:hover { opacity: 0.8; text-decoration: underline; }

.footer-booking { text-align: center; margin-top: 30px; }
.footer-book-button {
    background-color: #3D8C40; /* Green for lawncare */
    color: #fff;
    border: none;
    padding: 12px 25px;
    display: inline-block;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}
.footer-book-button:hover { background-color: #2D6B30; /* Darker green on hover */ }

.footer-social { text-align: right; }
.footer-social h4 { margin-bottom: 15px; font-size: 1.1em; }
.social-icons { display: flex; justify-content: flex-end; gap: 20px; }
.social-icons a img { height: 28px; width: auto; transition: opacity 0.2s ease; filter: none; }
.social-icons a:hover img { opacity: 0.8; }

.footer-legal { text-align: center; font-size: 0.85em; color: #555; }
.footer-legal p { margin-bottom: 5px; }
.footer-legal a { color: #3D8C40; /* Green for lawncare */ margin: 0 5px; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* === Media Queries === */
/* Removed @media (min-width: 769px) to apply mobile-first styles universally */

@media (max-width: 992px) {
    body { padding-top: 55px; }
    .sticky-nav { padding: 5px 15px; }
    .sticky-nav-logo-area { gap: 8px; }
    .sticky-nav-logo { max-height: 35px; } /* Adjusted for smaller screens */
    .dropdown-button { font-size: 0.85em; padding: 6px 10px; }
    .site-header .container { /* Target container within header for responsive padding */
        padding: 15px 15px;
    }
    .header-info { gap: 20px; justify-content: center; }
    .header-logo { max-height: 360px; /* 120px * 3 = 360px */ }
    .hero { padding: 0 15px; }
    .content-section { padding: 40px 0; }
     .container { padding: 0 15px; }
    .content-section h2.main-heading, .section-heading { font-size: 2.5em; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-column { min-width: 200px; padding: 0 5px; }
    .footer-booking { margin-top: 20px; }
}

@media (max-width: 768px) {
    body { padding-top: 50px; }
    .sticky-nav { min-height: 45px; }
    .sticky-nav-logo-area { gap: 6px; }
    .sticky-nav-logo { max-height: 30px; } /* Adjusted for smaller screens */

    /* Mobile-specific navigation styles (now apply universally unless overridden by smaller media queries) */
    .sticky-nav-center {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2D6B30; /* Darker green for mobile menu */
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999;
        flex-direction: column;
        padding: 10px 0;
    }

    .sticky-nav-center.active {
        display: flex; /* Shown when active */
    }

    .dropdown-content {
        flex-direction: column; /* Stack menu items vertically */
        gap: 0;
    }
    .dropdown-content li {
        width: 100%;
    }
    .dropdown-content li a {
        padding: 10px 25px;
        display: block;
        width: 100%;
    }
    .dropdown-content li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .mobile-menu-toggle {
        display: block; /* Always show hamburger icon */
    }
    .nav-dropdown {
        display: none;
    }

    .hero { padding: 0 10px; margin-top: 15px; }
    .two-column { gap: 30px; }
    .two-column .column { flex: 1 100%; } /* Ensure columns stack */
    .two-column .image-column img { margin-bottom: 20px; }
    .repair-section .section-heading { font-size: 2.2em; margin-bottom: 25px; }

    .site-header {
        flex-direction: column;
        align-items: center;
        padding: 15px 15px;
        gap: 20px;
    }
    .logo-area {} /* Styles for centering already applied */
    .header-logo { max-height: 300px; /* 100px * 3 = 300px */ }
    .tagline { font-size: 0.8em; }

    /* Mobile Header Info Items: Star, Button, Phone */
    .header-info {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 0;
    }
    .service-rating span { display: none; } /* Hides "TOP RATED SERVICE" text on mobile */
    .star-icon { width: 30px; }
    .button.book-button { margin-bottom: 0; padding: 8px 12px; font-size: 0.75em; }
    .phone-contact { margin-bottom: 0; gap: 5px; }
    .phone-icon { display: inline-block !important; width: 24px !important; height: auto; }
    .phone-number { font-size: 0.9em; }

    .content-section { padding: 30px 0; }
    .container { padding: 0 15px; }
    .content-section h2.main-heading, .section-heading { font-size: 2.2em; }

    .reviews-section .section-heading { font-size: 2.2em; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; } /* Reviews stack on mobile */

    footer .container { padding: 0 15px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-column { padding: 0; min-width: 100%; }
    .footer-booking { margin-top: 0; }
    .footer-social { text-align: center; }
    .social-icons { justify-content: center; }
    .footer-legal { margin-top: 20px; }
}

@media (max-width: 600px) {
    body { padding-top: 50px; }
    .sticky-nav { padding: 5px 10px; }
    .sticky-nav-logo-area { gap: 8px; }
    .sticky-nav-logo { max-height: 28px; } /* Adjusted for smaller screens */
    .sticky-nav-actions { gap: 8px; }
    .sticky-nav-button { font-size: 0.75em; }
    .sticky-nav-icon { height: 15px; }
    .site-header .header-logo { max-height: 240px; /* 80px * 3 = 240px */ }
}

@media (max-width: 400px) {
    body { padding-top: 45px; }
    .sticky-nav { min-height: 40px; }
    .sticky-nav-logo-area { gap: 5px; }
    .sticky-nav-logo { max-height: 25px; } /* Adjusted for smaller screens */
    .sticky-nav-actions { gap: 5px; }
    .sticky-nav-button.call-button span { font-size: 0.8em; }

    /* Mobile Header Info Items - Smallest Screens */
    .header-info { gap: 10px; }
    .button.book-button { padding: 6px 10px; font-size: 0.7em; }
    .phone-number { font-size: 0.85em; }
    .service-rating { font-size: 0.7em;} /* Affects overall rating area if it had text */
    .star-icon { width: 28px; }
    .phone-icon { width: 22px !important; }

    .site-header .logo-area { gap: 5px; }
    .site-header .header-logo { max-height: 180px; /* 60px * 3 = 180px */ }
    .tagline { font-size: 0.75em; }
    .hero { margin-top: 15px; padding: 0 5px; }
    .content-section h2.main-heading, .section-heading { font-size: 2em; }
    .reviews-section .section-heading { font-size: 2em; }
    .review-item { padding: 20px; }

    footer .container { padding: 0 5px; }
    .footer-contact p { font-size: 0.85em; }
    .footer-book-button { padding: 10px 20px; font-size: 0.8em; }
    .social-icons a img { height: 25px; }
    .review-stars { font-size: 1.3em; }
}
