/* ==================================================
   GALLERY PAGE
================================================== */

/* ==================================================
   HERO
================================================== */

.gallery-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55),rgba(0, 0, 0, 0.55)),
        url("images/Gallery_hero.webp");

    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    padding: 150px 0;
    text-align: center;
    color: var(--ns-white);
}

.gallery-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.gallery-label {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ns-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gallery-hero h1 {
    font-size: 55px;
	font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
}

.gallery-hero p {
    font-size: 19px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,.92);
}

@media (max-width: 768px) {

    .gallery-hero {
        padding: 115px 0;
    }
}

/* ==================================================
   INTRO
================================================== */

.gallery-intro {
    padding: 90px 0 50px;
    text-align: center;
}

.gallery-intro .container {
    max-width: 850px;
}

.gallery-intro h2 {
    color: #2f3976;
    font-size: 45px;
    margin-bottom: 20px;
	line-height: 1.3;
}

.gallery-intro p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .gallery-intro {
        padding: 70px 0 35px;
    }
}

/* ==================================================
   PROJECT GALLERY SECTIONS
================================================== */

.gallery-project {
    padding: 80px 0;
    border-bottom: 1px solid #e5e5e5;
}

.gallery-project-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.gallery-project-content h2 {
    color: var(--ns-blue);
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ns-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gallery-project-content p {
    color: #444;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-services span {
    display: block;
    color: var(--ns-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-services li {
    position: relative;
    color: #444;
    font-size: 13px;
    line-height: 1.6;
    padding-left: 24px;
    margin-bottom: 6px;
}

.project-services li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ns-red);
    font-weight: 800;
}

/* IMAGES */

.gallery-project-images {
    display: grid;
    grid-template-columns: minmax(0, 3fr) 140px;
    gap: 10px;
	margin-top: -5px;
}

.project-main-image {
    display: block;
    aspect-ratio: 13 / 7;
    overflow: hidden;
    border-radius: 6px;
}

.project-main-image img,
.project-side-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.project-main-image:hover img,
.project-side-images a:hover img {
    transform: scale(1.04);
}

.project-side-images {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.project-side-images a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.view-gallery {
    grid-column: 2;
    color: var(--ns-red);
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
}

.view-gallery:hover {
    color: var(--ns-blue);
}

/* RESPONSIVE */

@media (max-width: 1100px) {

    .gallery-project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-project-content {
        max-width: 720px;
    }

}

@media (max-width: 800px) {

    .gallery-project {
        padding: 65px 0;
    }

    .gallery-project-images {
        grid-template-columns: 1fr;
    }

    .project-main-image {
        height: 300px;
    }

    .project-side-images {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: none;
    }

    .project-side-images a {
        height: 120px;
    }

    .view-gallery {
        grid-column: 1;
    }

}

@media (max-width: 520px) {

    .gallery-project-content h2 {
        font-size: 24px;
    }

    .project-main-image {
        height: 250px;
    }

    .project-side-images {
        grid-template-columns: 1fr;
    }

    .project-side-images a {
        height: 180px;
    }

}

/* ==================================================
   GALLERY CTA
================================================== */

.gallery-cta {
    background:
        linear-gradient(
            rgba(255,255,255,.35),
            rgba(255,255,255,.35)
        ),
        url("images/cta_background.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.gallery-cta-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.gallery-cta-label {
    color: var(--ns-red);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gallery-cta h2 {
    color: var(--ns-blue);
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 22px;
}

.gallery-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-cta-primary,
.gallery-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    transition: .2s ease;
}

.gallery-cta-primary {
    background: var(--ns-red);
    color: var(--ns-white);
}

.gallery-cta-primary:hover {
    background: var(--ns-red-dark);
    transform: translateY(-2px);
}

.gallery-cta-secondary {
    border: 2px solid var(--ns-blue);
    color: var(--ns-blue);
}

.gallery-cta-secondary:hover {
    background: var(--ns-blue);
    color: var(--ns-white);
}

@media (max-width:700px) {

    .gallery-cta {
        padding: 75px 0;
    }

    .gallery-cta h2 {
        font-size: 32px;
    }

    .gallery-cta-buttons {
        flex-direction: column;
    }

    .gallery-cta-primary,
    .gallery-cta-secondary {
        width: 100%;
    }
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

    .gallery-project {
        padding: 65px 0;
    }
}

/* ==================================================
   glightbox
================================================== */
.glightbox-clean .gclose {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.glightbox-clean .gclose svg {
    display: block !important;
}