﻿/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    scroll-behavior: smooth;
}

section {
    padding: 1rem;
    scroll-margin-top: 6rem;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    font-size: min(2rem, 6vw);
    margin-bottom: 1rem;
    color: #004400;
}

h2 {
    font-size: min(1.5rem, 6vw);
    margin-bottom: 0.5rem;
    color: #004400;
}

h3 {
    font-size: min(1rem, 4vw);
    margin-bottom: 0.175rem;
}
a {
    color: #006400; /* Dark green */
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

p {
    margin-bottom: 0.5rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 3rem;
}

.banner-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 48 / 9;
    object-position: 50% 76%;
    margin-top: 5.5rem;
    object-fit: cover;
}
/* Header */
.site-header {
    background-color: #006400;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.branding .company-name {
    font-size: 2.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .branding .company-name {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .branding .company-name {
        font-size: 1.4rem;
    }
}

.header-top {
    display: flex;
    height: 5.5rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .branding .company-name,
    .branding p {
        margin: 0;
    }

    .branding p {
        font-weight: 400;
        font-size: 1.1rem;
        color: #e0ffe0;
    }

.img-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .img-circle img {
        width: 85%;
        height: 85%;
        object-fit: cover;
        object-position: 50% 50%;
        display: block;
    }

/* Navigation */
.site-nav {
    display: flex;
    gap: 1.5rem;
}

    .site-nav .container {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .site-nav a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        padding: 0.4rem 0.6rem;
        border-radius: 4px;
    }

        .site-nav a:hover {
            background-color: #004d00;
        }

        .site-nav a.active {
            background-color: #009900;
            color: #fff;
            border-radius: 4px;
        }
    .site-nav span {
        font-weight: 500;
        padding: 0.4rem 0.6rem;
    }

/* Burger menu styles */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.privacy-text {
    display: none;
}

/* Responsive Burger Menu */
@media (max-width: 1080px) {
    .menu-toggle {
        display: block;
    }

    .index-site-nav {
        display: none;
        flex-direction: column;
        background-color: #006400;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

        .index-site-nav.active {
            display: flex;
        }

    .pp-site-nav a {
        display: none;
    }

    .pp-site-nav span {
        max-width: 5rem;
    }

    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-nav .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav {
        gap: 1rem;
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .pp-site-nav {
        display: none;
    }

    .privacy-text {
        display: inline;
    }

}

/* Hero section */
#home {
    background-color: #e6ffe6;
    padding: 1rem 7.5rem;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin: 1rem 0;
}

    #home .home-contact-details {
        font-size: 1.5rem;
    }

        #home .home-contact-details strong {
            display: block;
            margin-top: 1rem;
        }

        #home .home-contact-details a {
            display: inline-block;
            margin-bottom: 5px;
        }

@media (max-width: 1000px) {
    #home {
        padding: 1rem 1.5rem;
    }
}

/* About us */
#about-us .about-us-section {
    max-width: 900px;
    margin: 0 auto;
}

#about-us .about-us-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

#about-us .about-us-text {
    flex: 1;
}

#about-us .dave {
    flex-shrink: 0;
    max-width: 450px;
}

    #about-us .dave blockquote {
        text-align: center;
        font-style: italic;
        color: #555;
    }

#about-us .about-us-photo {
    border-radius: 8px;
    object-fit: cover;
    object-position: 50% 50%;
    max-width: 450px;
    border: 5px solid #006400;
}

/* Responsive: stack on smaller screens */
@media (max-width: 1000px) {
    #about-us .about-us-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    #about-us .about-us-photo {
        max-width: 400px;
        margin-top: 1em;
        align-self: center;
        width: 100%;
    }
}

/* Services and areas */
.services-areas-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

    .services-areas-wrapper p {
        flex: 1;
        margin: 0;
    }

.map-container iframe {
    width: 450px;
    height: 350px;
    border-radius: 8px;
}

@media (max-width: 1000px) {
    .services-areas-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .map-container iframe {
        max-width: 400px;
        height: 250px;
        margin-top: 1em;
        align-self: center;
        width: 100%;
    }
}

/* Gallery */
.gallery-swiper img {
    width: 100%;
    max-height: 30rem;
    border-radius: 8px;
    object-fit: cover;
    object-position: 50% 50%;
    height: 50vw;
}

.before-after-pair {
    display: flex;
    gap: 10px;
}

    .before-after-pair figure {
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .before-after-pair figcaption {
        margin-top: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #555;
        font-style: italic;
    }

.swiper-button-next,
.swiper-button-prev {
    font-weight: bolder;
}

.swiper-button-next {
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
}

.swiper-button-prev {
    padding: 1.5rem 1.5rem 1.5rem 1.25rem;
}

.swiper-slide {
    padding-bottom: 2rem;
}

/* Change swiper variables */
.swiper {
    --swiper-navigation-color: #FAF9F6;
    --swiper-theme-color: #006400;
    --swiper-navigation-size: 2rem;
    --swiper-navigation-top-offset: min(calc(25vw + 22px), 16.375rem);
}

#contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.contact-form {
    flex: 1 1 350px;
    box-sizing: border-box;
}

.contact-info {
    flex: 0 1 350px;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Form */
form {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 1rem 0 4rem;
}

    form input, form textarea {
        display: block;
        margin-bottom: 2rem;
    }

    form input,
    form textarea {
        width: 100%;
        padding: 0.6rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    form button {
        background-color: #007700;
        color: white;
        padding: 0.6rem 1.2rem;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-top: 0.5rem;
        font-size: 1.125rem;
    }

        form button:hover {
            background-color: #005f00;
        }

.contact-info a {
    font-size: 1.75rem;
}

.contact-info a.email {
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #ddd;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
}

    .site-footer .container {
        display: flex;
        gap: 3rem;
        align-items: center;
        justify-content: center;
    }

        .site-footer .container a {
            text-decoration: underline;
            color: white;
        }

            .site-footer .container a:hover {
                text-decoration: none;
            }

