/* Projects Page Styles */

/* Hero Section */
.projects-hero {
    position: relative;
    background-image: url('assets/plumbing-and-sewer-gallery-15.webp');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.projects-hero .container {
    position: relative;
    z-index: 2;
}

.projects-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 15px;
}

.green-underline {
    width: 80px;
    height: 5px;
    background-color: #39A52B;
}

/* Gallery Section */
.projects-gallery {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-hero {
        height: 250px;
    }

    .projects-hero h1 {
        font-size: 30px;
        line-height: 42px;
    }

    .projects-gallery {
        padding: 60px 0;
    }

    .container {
        justify-content: center;
    }

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

    .gallery-item {
        height: 200px;
    }
}

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

    .gallery-item {
        height: 250px;
    }
}