

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #283522;
    background-color: #F5F1E8;
    background-image: url("../images/gps_treeline_transparent.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    background-attachment: fixed;
}

header {
    background-color: #DDD6C5;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.brand img {
    width: 55px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #283522;
    text-decoration: none;
    font-size: 14px;
}

.nav-button,
.button {
    display: inline-block;
    background-color: #46543B;
    color: white !important;
    padding: 14px 22px;
    text-decoration: none;
}

.hero {
    min-height: 400px;
    padding: 20px 70px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-logo {
    width: 300px;
    max-width: 80%;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 42px;
    letter-spacing: 3px;
    margin-bottom: 18px;
    color: #000000;
}

.hero p {
    font-size: 21px;
    margin-bottom: 30px;
    color: #283522;
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 30px;
    }
}

.welcome {
    background-color: #DDD6C5;
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    text-align: center;
    border-radius: 8px;
}

.welcome-content {
    max-width: 850px;
    margin: 0 auto;
}

.welcome h2 {
    font-size: 34px;
    color: #000000;
    margin-bottom: 30px;
}

.welcome p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #283522;
}

@media (max-width: 700px) {
    .welcome {
        margin: 30px 15px;
        padding: 40px 20px;
    }
}

.services {
    max-width: 1100px;
    margin: 60px auto;
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 34px;
    color: #000000;
    margin-bottom: 35px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background-color: #DDD6C5;
    flex: 1;
    padding: 40px 25px;
    border-radius: 8px;
}

.service-icon {
    font-size: 45px;
    color: #46543B;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #283522;
}

@media (max-width: 700px) {
    .services {
        margin: 30px 15px;
    }

    .service-cards {
        flex-direction: column;
    }
}

.services-button {
    margin-top: 35px;
}

.projects {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px 20px;
    text-align: center;
}

.projects h2 {
    font-size: 34px;
    color: #000000;
    margin-bottom: 35px;
}

.project-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.project-card {
    background-color: #DDD6C5;
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    font-size: 18px;
    color: #000000;
    padding: 22px 15px;
}

.projects-button {
    margin-top: 35px;
}

@media (max-width: 700px) {
    .projects {
        margin: 30px 15px;
    }

    .project-cards {
        flex-direction: column;
    }

    .project-card img {
        height: 250px;
    }
}

.why-choose {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    background-color: #DDD6C5;
    color: #283522;
    text-align: center;
    border-radius: 8px;
}

.why-choose h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #000000;
}

.why-intro {
    font-size: 18px;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 45px;
    color: #283522;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 50px;
}

.why-icon {
    font-size: 40px;
    color: #46543B;
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #000000;
}

.why-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #283522;
}

@media (max-width: 700px) {
    .why-choose {
        margin: 30px 15px;
        padding: 40px 25px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.get-started {
    max-width: 1100px;
    margin: 60px auto;
    padding: 70px 50px;
    background-color: #DDD6C5;
    border-radius: 8px;
    text-align: center;
}

.get-started-content {
    max-width: 800px;
    margin: 0 auto;
}

.get-started h2 {
    font-size: 34px;
    color: #000000;
    margin-bottom: 25px;
}

.section-line {
    width: 65px;
    height: 2px;
    background-color: #46543B;
    margin: 0 auto 30px;
}

.get-started p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #283522;
}

.closing-tagline {
    color: #283522;
    font-style: italic;
    font-weight: bold;
    margin-top: 30px;
}

@media (max-width: 700px) {
    .get-started {
        margin: 30px 15px;
        padding: 45px 25px;
    }

    .get-started h2 {
        font-size: 28px;
    }
}

/* Homepage icons */

.service-icon,
.why-icon {
    color: #46543B;
}

.service-icon svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.8;
}

.why-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.8;
}

/* Paragraphs and card descriptions */

p,
.service-card p,
.project-card p,
.why-item p,
.get-started p {
    color: #283522;
}

/* Navigation text */

.nav-links a {
    color: #283522;
}


.get-started .closing-tagline {
    color: #283522;
}




/* Mobile Website Improvements */

@media (max-width: 700px) {

    .hero {
        min-height: 400px;
        padding: 30px 20px;
    }

    .hero-logo {
        width: 220px;
    }

    .hero h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }

    body {
        background-attachment: scroll;
    }

    .welcome h2,
    .services h2,
    .projects h2,
    .why-choose h2 {
        font-size: 28px;
    }
}



/* Website Footer */

.site-footer {
    background-color: #DDD6C5;
    padding: 60px 5% 20px;
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content h2 {
    font-size: 26px;
    color: #000000;
    margin-bottom: 15px;
}

.footer-content h3 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
}

.site-footer p {
    font-size: 16px;
    line-height: 1.8;
    color: #283522;
}

.footer-accent {
    width: 60px;
    height: 2px;
    background-color: #46543B;
    margin: 30px auto;
}

.footer-locations {
    margin-bottom: 5px;
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #46543B;
}

.footer-bottom p {
    font-size: 13px;
    color: #283522;
}

/* Footer Mobile Layout */

@media (max-width: 700px) {
    .site-footer {
        padding: 45px 20px 20px;
    }

   
.footer-content h2 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
}

.footer-content h3 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
}

    .footer-bottom {
        margin-top: 30px;
    }
}


/* ABOUT PAGE */

.about-intro,
.team-section,
.about-commitment {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    text-align: center;
    background-color: #DDD6C5;
    border-radius: 8px;
}

.about-intro h1 {
    font-size: 34px;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-intro h2,
.team-section h2,
.about-commitment h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 20px;
}

.about-intro p {
    max-width: 850px;
    margin: 20px auto;
    font-size: 17px;
    line-height: 1.8;
    color: #283522;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: #46543B;
    margin: 25px auto;
}

/* TEAM PROFILES */

.team-intro {
    font-size: 17px;
    color: #283522;
    margin-bottom: 35px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.team-card {
    background-color: #F5F1E8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.team-photo-placeholder {
    height: 220px;
    background-color: #E9E3D6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.team-photo-placeholder svg {
    width: 65px;
    height: 65px;
    color: #46543B;
    stroke-width: 1.5;
}

.team-card h3 {
    font-size: 23px;
    color: #000000;
    margin-bottom: 8px;
}

.team-role {
    font-size: 15px;
    font-weight: bold;
    color: #46543B;
    margin-bottom: 20px;
}

.team-card p:not(.team-role) {
    font-size: 15px;
    line-height: 1.8;
    color: #283522;
}

/* OUR COMMITMENT */

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.commitment-item svg {
    width: 42px;
    height: 42px;
    color: #46543B;
    stroke-width: 1.8;
    margin-bottom: 20px;
}

.commitment-item h3 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.commitment-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #283522;
}

/* ABOUT PAGE MOBILE */

@media (max-width: 700px) {

    .about-intro,
    .team-section,
    .about-commitment {
        margin: 30px 15px;
        padding: 35px 20px;
    }

    .about-intro h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .about-intro h2,
    .team-section h2,
    .about-commitment h2 {
        font-size: 25px;
    }

    .team-grid,
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .team-photo-placeholder {
        height: 200px;
    }

    .commitment-grid {
        gap: 35px;
    }
}


/* SERVICES PAGE */

.services-intro,
.services-detail,
.services-consultation {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    text-align: center;
    background-color: #DDD6C5;
    border-radius: 8px;
}

.services-intro h1 {
    font-size: 34px;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.services-intro h2,
.services-detail h2,
.services-consultation h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 20px;
}

.services-intro p,
.services-consultation p {
    max-width: 850px;
    margin: 20px auto;
    font-size: 17px;
    line-height: 1.8;
    color: #283522;
}

/* SERVICE CARDS */

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-detail-card {
    background-color: #F5F1E8;
    border-radius: 8px;
    padding: 35px;
    text-align: left;
}

.service-detail-card > svg {
    width: 42px;
    height: 42px;
    color: #46543B;
    stroke-width: 1.8;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 23px;
    color: #000000;
    margin-bottom: 15px;
}

.service-detail-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #283522;
    margin-bottom: 20px;
}

.service-detail-card ul {
    padding-left: 20px;
    color: #283522;
}

.service-detail-card li {
    font-size: 16px;
    line-height: 1.9;
}

/* CONSULTATION SECTION */

.services-consultation .button {
    display: inline-block;
    margin-top: 20px;
}

/* SERVICES PAGE MOBILE */

@media (max-width: 700px) {

    .services-intro,
    .services-detail,
    .services-consultation {
        margin: 30px 15px;
        padding: 35px 20px;
    }

    .services-intro h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .services-intro h2,
    .services-detail h2,
    .services-consultation h2 {
        font-size: 25px;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        padding: 25px;
    }

    .service-detail-card h3 {
        font-size: 21px;
    }
}


/* OUR WORK PAGE */

.portfolio-intro,
.portfolio-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    text-align: center;
    background-color: #DDD6C5;
    border-radius: 8px;
}

.portfolio-intro h1 {
    font-size: 34px;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.portfolio-intro h2,
.portfolio-section h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 20px;
}

.portfolio-intro p {
    max-width: 850px;
    margin: 20px auto;
    font-size: 17px;
    line-height: 1.8;
    color: #283522;
}

/* PORTFOLIO CATEGORY CARDS */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.portfolio-card {
    display: block;
    background-color: #F5F1E8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #283522;
    transition: transform 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
}

.portfolio-image {
    height: 220px;
    background-color: #E9E3D6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.portfolio-image svg {
    width: 65px;
    height: 65px;
    color: #46543B;
    stroke-width: 1.5;
}

.portfolio-card h3 {
    font-size: 23px;
    color: #000000;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 16px;
    color: #283522;
    margin-bottom: 20px;
}

.portfolio-card span {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #46543B;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* PORTFOLIO MOBILE */

@media (max-width: 700px) {

    .portfolio-intro,
    .portfolio-section {
        margin: 30px 15px;
        padding: 35px 20px;
    }

    .portfolio-intro h1 {
        font-size: 26px;
    }

    .portfolio-intro h2,
    .portfolio-section h2 {
        font-size: 25px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        height: 200px;
    }
}


/* PROJECT CATEGORY PAGES */

.category-intro,
.category-projects {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 50px;
    text-align: center;
    background-color: #DDD6C5;
    border-radius: 8px;
}

.category-intro h1 {
    font-size: 34px;
    color: #000000;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.category-intro h2,
.category-projects h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 20px;
}

.category-intro p {
    max-width: 850px;
    margin: 20px auto;
    font-size: 17px;
    line-height: 1.8;
    color: #283522;
}

/* BACK TO OUR WORK */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #46543B;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 35px;
}

.back-link:hover {
    text-decoration: underline;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

/* INDIVIDUAL PROJECT CARDS */

.category-project-grid {
    display: block;
    margin-top: 40px;
}

.category-project-card {
    background-color: #F5F1E8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.category-project-image {
    height: 250px;
    background-color: #E9E3D6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.category-project-image svg {
    width: 65px;
    height: 65px;
    color: #46543B;
    stroke-width: 1.5;
}

.category-project-card h3 {
    font-size: 23px;
    color: #000000;
    margin-bottom: 15px;
}

.category-project-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #283522;
    margin-bottom: 20px;
}

.project-coming-soon {
    display: inline-block;
    color: #46543B;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* MOBILE CATEGORY PAGES */

@media (max-width: 700px) {

    .category-intro,
    .category-projects {
        margin: 30px 15px;
        padding: 35px 20px;
    }

    .category-intro h1 {
        font-size: 26px;
    }

    .category-intro h2,
    .category-projects h2 {
        font-size: 25px;
    }

    .category-project-grid {
        grid-template-columns: 1fr;
    }

    .category-project-image {
        height: 200px;
    }
}


/* FENCING PROJECT FILMSTRIPS */

.fencing-project {
    background-color: #F5F1E8;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.fencing-project h3 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
}

.fencing-project p {
    font-size: 16px;
    line-height: 1.8;
    color: #283522;
    margin-bottom: 25px;
}

.filmstrip-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.filmstrip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1;
    min-width: 0;
    scrollbar-width: thin;
}

.filmstrip img {
    width: 280px;
    height: 210px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    scroll-snap-align: start;
    cursor: pointer;
}

.filmstrip-arrow {
    background-color: #46543B;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.filmstrip-arrow svg {
    width: 22px;
    height: 22px;
}

.filmstrip-arrow:hover {
    background-color: #283522;
}

@media (max-width: 700px) {
    .fencing-project {
        padding: 20px;
    }

    .filmstrip img {
        width: 230px;
        height: 175px;
    }

    .filmstrip-arrow {
        width: 30px;
        height: 30px;
    }
}


/* ENLARGED PROJECT PHOTO VIEWER */

.photo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
}

.photo-lightbox.active {
    display: flex;
}

.photo-lightbox img {
    max-width: 80%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: #46543B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #647557;
}

@media (max-width: 700px) {
    .photo-lightbox {
        gap: 8px;
        padding: 50px 10px;
    }

    .photo-lightbox img {
        max-width: calc(100% - 90px);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
    }
}



/* OUR WORK DROPDOWN */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-link svg {
    width: 15px;
    height: 15px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background-color: #F5F1E8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #283522;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #DDD6C5;
    color: #283522;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}
