
/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #ffffff;
    color: #36454f;
}

body.no-scroll {
    overflow: hidden;
}


/* =========================================
   GALLERY PAGE
========================================= */

.gallery-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    padding: 90px 40px;
}

/* =========================================
   PROFESSIONAL GALLERY HEADER
========================================= */

.gallery-header {
    position: relative;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
    padding: 5px 0 10px;
}

/* Small label ABOVE the heading */
.gallery-header::before {
    content: "OUR PROJECTS";
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 16px;
    padding: 7px 15px;

    border: 1px solid rgba(255, 94, 0, 0.28);
    border-radius: 50px;
    background: rgba(255, 94, 0, 0.07);

    color: #ff5e00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.gallery-header:hover::before {
    background: rgba(255, 94, 0, 0.11);
    border-color: rgba(255, 94, 0, 0.4);
    transform: translateY(-2px);
}

/* Main heading */
.gallery-header h1 {
    position: relative;
    display: block;

    margin: 0;
    padding-bottom: 18px;

    color: #1e2933;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

/* Orange underline */
.gallery-header h1::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 72px;
    height: 4px;

    transform: translateX(-50%);

    background: #ff5e00;
    border-radius: 50px;

    transition:
        width 0.4s ease,
        box-shadow 0.4s ease;
}

.gallery-header h1:hover::after {
    width: 125px;
    box-shadow: 0 4px 14px rgba(255, 94, 0, 0.25);
}

/* Description */
.gallery-header p {
    max-width: 620px;
    margin: 24px auto 0;

    color: #68747c;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* =========================================
   GALLERY GRID
========================================= */

.gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================
   GALLERY IMAGE BOX
========================================= */

.gallery-item {
    position: relative;

    width: 100%;
    height: 320px;

    overflow: hidden;

    border-radius: 14px;

    background: #eeeeee;

    cursor: pointer;
}


/* =========================================
   IMAGE
========================================= */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* =========================================
   IMAGE HOVER
========================================= */

.gallery-item:hover img {
    transform: scale(1.06);

    filter: brightness(0.9);
}


/* =========================================
   LIGHTBOX
========================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   LIGHTBOX IMAGE
========================================= */

.lightbox img {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.5);
}


/* =========================================
   LIGHTBOX BUTTONS
========================================= */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================
   BUTTON HOVER
========================================= */

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ff5e00;

    border-color: #ff5e00;

    transform: scale(1.05);
}


/* =========================================
   CLOSE BUTTON
========================================= */

.lightbox-close {
    top: 25px;
    right: 30px;

    font-size: 20px;
}


/* =========================================
   PREVIOUS BUTTON
========================================= */

.lightbox-prev {
    left: 30px;
}


/* =========================================
   NEXT BUTTON
========================================= */

.lightbox-next {
    right: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    background: #151927;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    width: 100%;

    padding: 76px 20px 85px;

    box-sizing: border-box;
}


.footer-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        0.85fr
        0.95fr;

    gap: 65px;
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.footer-column {
    min-width: 0;
}


.footer-column h3 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 700;
}


/* Orange underline */

.footer-line {
    display: block;

    width: 20px;
    height: 2px;

    margin-top: 9px;
    margin-bottom: 27px;

    background: #ff6700;
}


/* =========================================================
   ABOUT
========================================================= */

.footer-description {
    max-width: 290px;

    margin: 0 0 15px;

    color: #b6bac6;

    font-size: 14px;
    line-height: 1.95;
}


.emergency-title {
    margin-top: 5px;

    color: #ff6700;

    font-size: 17px;
    line-height: 1.4;
}


.emergency-number {
    margin-top: 8px;

    color: #ffffff;

    font-size: 24px;
    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   SERVICES
========================================================= */

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-links li {
    margin-bottom: 9px;

    position: relative;

    padding-left: 11px;
}


.footer-links li::before {
    content: "›";

    position: absolute;

    left: 0;
    top: -2px;

    color: #b6bac6;
}


.footer-links a {
    color: #b6bac6;

    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s ease;
}


.footer-links a:hover {
    color: #ff6700;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-info {
    color: #b6bac6;

    font-size: 14px;

    line-height: 1.7;
}


.contact-info p {
    margin: 0 0 8px;
}


.contact-label {
    margin-top: 7px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;
}


.contact-info a {
    display: inline-block;

    color: #b6bac6;

    text-decoration: none;

    margin-top: 1px;

    font-size: 13px;

    transition: color 0.2s ease;
}


.contact-info a:hover {
    color: #ff6700;
}


.email-label {
    margin-top: 7px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-description {
    margin: 0 0 14px;

    color: #b6bac6;

    font-size: 14px;

    line-height: 1.7;
}


/* Input */

.newsletter-input {
    position: relative;

    width: 100%;

    margin-bottom: 20px;
}


.newsletter-input input {
    width: 100%;
    height: 60px;

    box-sizing: border-box;

    padding: 0 50px 0 19px;

    border: 1px solid #5a5f6e;

    border-radius: 2px;

    outline: none;

    background: transparent;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
}


.newsletter-input input::placeholder {
    color: #777c89;
}


.newsletter-input input:focus {
    border-color: #ff6700;
}


.newsletter-input button {
    position: absolute;

    right: 0;
    top: 0;

    width: 52px;
    height: 60px;

    border: none;

    background: transparent;

    color: #ff6700;

    font-size: 17px;

    cursor: pointer;
}


/* Subscribe */

.subscribe-button {
    width: 100%;
    height: 60px;

    border: none;

    border-radius: 2px;

    background: #ff6700;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.subscribe-button:hover {
    background: #e85d00;

    transform: translateY(-1px);
}


/* =========================================================
   BOTTOM FOOTER
========================================================= */

.footer-bottom {
    width: 100%;

    border-top: 1px solid #303442;
}


.footer-bottom-container {
    width: 100%;

    max-width: 1200px;

    min-height: 82px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


/* Copyright */

.copyright {
    margin: 0;

    color: #b6bac6;

    font-size: 14px;
}


.copyright span {
    color: #ff5e00;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-links {
    display: flex;

    align-items: center;

    gap: 14px;
}


.social-links a {
    width: 45px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #343a4c;

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.social-links a:hover {
    background: #ff6700;

    color: #ffffff;
}


.copyright {
    margin: 0;

    font-size: 13px;

    line-height: 1.7;

    color: #8b93a3;
}


.copyright span {
    color: #ffffff;

    font-weight: 600;
}


.copyright a {
    color: #ff5e00;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}


.copyright a:hover {
    color: #ffffff;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

    .footer-container {
        grid-template-columns:
            1fr
            1fr;

        gap: 55px 60px;
    }
}


/* =========================================================
   GALLERY - LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .gallery-page {
        padding: 75px 30px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .gallery-item {
        height: 300px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .gallery-page {
        padding: 60px 20px;
    }

    .gallery-header {
        margin-bottom: 40px;
    }

    .gallery-header h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .gallery-header p {
        font-size: 14px;
    }

    .gallery-header::before {
        margin-bottom: 14px;

        font-size: 10px;

        letter-spacing: 2px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .gallery-item {
        height: 240px;

        border-radius: 12px;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox img {
        max-width: 92vw;

        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;

        right: 15px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}


/* =========================================================
   FOOTER TABLET
========================================================= */

@media (max-width: 700px) {

    .footer-main {
        padding: 60px 25px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .footer-description {
        max-width: 500px;
    }


    .footer-bottom-container {
        min-height: auto;

        padding-top: 25px;
        padding-bottom: 25px;

        flex-direction: column;

        gap: 22px;

        align-items: flex-start;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .gallery-page {
        padding: 50px 15px;
    }

    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-header h1 {
        font-size: 30px;

        letter-spacing: -0.8px;

        padding-bottom: 15px;
    }

    .gallery-header h1::after {
        width: 60px;

        height: 3px;
    }

    .gallery-header p {
        font-size: 13px;

        margin-top: 20px;
    }

    .gallery-header::before {
        padding: 6px 12px;

        font-size: 9px;

        letter-spacing: 1.8px;
    }

    .gallery {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .gallery-item {
        height: 300px;

        border-radius: 12px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}


/* =========================================================
   MOBILE FOOTER
========================================================= */

@media (max-width: 700px) {

    .footer-main {
        padding: 60px 20px;

        overflow-x: hidden;
    }


    .footer-container {
        width: 100%;

        max-width: 100%;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 40px 18px;
    }


    /* About Us full width */

    .footer-column:first-child {
        grid-column: 1 / -1;

        min-width: 0;
    }


    /* Site Links */

    .footer-column:nth-child(2) {
        grid-column: 1;

        min-width: 0;
    }


    /* Contact Info */

    .footer-column:nth-child(3) {
        grid-column: 2;

        min-width: 0;
    }


    /* Prevent long text from creating horizontal overflow */

    .footer-column,
    .footer-column p,
    .footer-column a,
    .footer-contact-item {
        min-width: 0;

        max-width: 100%;

        overflow-wrap: anywhere;

        word-break: break-word;
    }


    .footer-description {
        max-width: 500px;
    }


    .footer-bottom-container {
        min-height: auto;

        padding-top: 25px;
        padding-bottom: 25px;

        flex-direction: column;

        gap: 22px;

        align-items: flex-start;
    }
}


/* =====================================================
   WHATSAPP FLOATING BUTTON
===================================================== */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    height: 54px;

    padding: 0 22px 0 18px;

    background: #25D366;

    color: #ffffff;

    border-radius: 50px;

    text-decoration: none;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20);

    z-index: 9999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.whatsapp-float i {
    font-size: 26px;

    line-height: 1;
}


.whatsapp-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28);
}


@media (max-width: 650px) {

    .whatsapp-float {
        right: 14px;

        bottom: 14px;

        height: 48px;

        padding: 0 18px 0 14px;

        font-size: 14px;
    }


    .whatsapp-float i {
        font-size: 23px;
    }
}
