/* K&D Tree and Property Maintenance - Stylesheet */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #2d5016;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2d5016;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.logo:hover {
    text-decoration: none;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    color: #2d5016;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin: 5px;
}

.btn:hover {
    text-decoration: none;
    opacity: 0.9;
}

.btn-primary {
    background: #2d5016;
    color: #fff;
}

.btn-secondary {
    background: #555;
    color: #fff;
}

/* Sections */
section {
    padding: 50px 0;
}

section h2 {
    font-size: 1.8rem;
    color: #2d5016;
    margin-bottom: 30px;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 5px;
    text-align: center;
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    background: #e0e0e0;
    aspect-ratio: 4/3;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.review-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 5px;
    border-left: 4px solid #2d5016;
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #444;
}

.review-card .reviewer {
    font-weight: bold;
    color: #2d5016;
    font-style: normal;
}

/* Contact Info */
.contact-info {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info h3 {
    color: #2d5016;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info a {
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #2d5016;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background: #234010;
}

/* Page Header */
.page-header {
    background: #2d5016;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
}

/* Trust Section */
.trust-section {
    background: #fff;
    text-align: center;
}

.trust-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #555;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #9ccc65;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2d5016;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}
