/* General Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FAF7F0; /* Light beige background */
    color: #333333;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: 'Georgia', serif; /* A slightly more traditional font for headings */
    color: #4A7C59; /* Darker green for headings */
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
    text-align: center;
    padding-top: 20px;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 0.7em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #5D9C9A; /* Soft teal for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

/* Header & Navigation */
header {
    background-color: #FFFFFF;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo h1 {
    margin: 0;
    font-size: 1.5em;
    color: #4A7C59;
}

nav ul {
    display: flex;
}

nav .nav-links li { /* Changed from nav ul li */
    margin-left: 25px;
}

nav .nav-links li a { /* Changed from nav ul li a */
    font-weight: bold;
    font-size: 1em;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Ensure it's above other nav elements */
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background-color: #4A7C59;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4A7C59;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Styles for when the menu is open (toggled by JS) */
.nav-open .nav-links {
    display: flex; /* Show the links */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nav-open .nav-links li {
    margin: 0;
    text-align: center;
}

.nav-open .nav-links li a {
    display: block;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}

.nav-open .nav-links li a:hover {
    background-color: #f0f0f0;
}

.nav-open .hamburger {
    background-color: transparent; /* Hide middle line */
}

.nav-open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* Main Content & Sections */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E6F0EA; /* Light green-ish background for hero */
    padding: 50px 30px;
    border-radius: 8px;
}

#hero .hero-content {
    flex: 1;
    padding-right: 30px;
}

#hero .hero-content h2 {
    font-size: 2.2em;
    color: #3A6B47;
    text-align: left;
    padding-top: 0;
}

#hero .hero-image {
    flex-basis: 40%;
    text-align: center;
}

#hero .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background-color: #D4A373; /* Warm accent color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #BF8F62; /* Darker accent on hover */
    text-decoration: none;
}

/* About Section */
#about h3 {
    margin-top: 30px;
}
#about ul {
    padding-left: 20px;
}
#about ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-item {
    background-color: #F9F9F9; /* Slightly off-white for service items */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #EDEDED;
}

.service-item h3 {
    margin-top: 0;
}

/* Reviews Section */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-item {
    background-color: #E6F0EA; /* Light green-ish for reviews */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #D8E6DD;
}

.review-item p:first-child {
    font-style: italic;
}

.review-item p:last-child {
    text-align: right;
    font-size: 0.9em;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Contact Section */
#contact .contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

#contact .contact-details strong {
    color: #4A7C59;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    background-color: #333333;
    color: #FFFFFF;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show hamburger on small screens */
    }

    nav .nav-links { /* Changed from nav ul */
        display: none; /* Hide links by default on small screens */
        /* Other styles for dropdown will be applied by .nav-open class */
    }
    
    /* Keep existing hero adjustments if needed, or modify */
    #hero {
        flex-direction: column;
        text-align: center;
    }

    #hero .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
     #hero .hero-content h2 {
        text-align: center;
    }

    .service-grid, .review-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.3em;
    }
    #hero .hero-content h2 {
        font-size: 1.9em;
    }
    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
}
