/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Black.ttf") format("truetype");
    font-weight: 900;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    color: #222;
    background: #fff;
    overflow-x: hidden;
    line-height: 1.8;
}

/* =========================================================
   HEADER
========================================================= */


.site-logo {
    position: relative;
    display: block;
    width: 196px;
    height: 60px;
}

.site-logo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: auto;
    transition: opacity .25s ease;
}

.logo-light {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

.site-header.scrolled .logo-light {
    opacity: 0;
}

.site-header.scrolled .logo-dark {
    opacity: 1;
}



.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all .3s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar {
    padding-top: 28px;
    padding-bottom: 28px;
    transition: all .3s ease;
}

.site-header.scrolled .navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-toggler {
    border-color: rgba(255,255,255,.7);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: #fff !important;
}

.site-header.scrolled .site-logo {
    color: #222 !important;
}

.site-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: 700;
    margin-left: 24px;
}

.site-header.scrolled .nav-link {
    color: #222 !important;
}



.site-header-light {
    background: rgba(255,255,255,.96);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.site-header-light .site-nav .nav-link {
    color: #222 !important;
}

.site-header-light .site-logo {
    color: #222 !important;
}

.page-header {
    padding-top: 180px;
    padding-bottom: 80px;
    background: #fff;
}

.page-kicker {
    display: block;
    margin-bottom: 15px;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #888;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    font-weight: 900;
    color: #222;
}

.content-page {
    padding-bottom: 120px;
}

.content-wrapper {
    max-width: 900px;
}

.content-wrapper h2 {
    margin-top: 70px;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
}

.content-wrapper p,
.content-wrapper li {
    color: #555;
    line-height: 1.9;
}

.nav-home {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    padding-top: 6px;
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 850px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.18);
}

.hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-text {
    max-width: 950px;
    padding-bottom: 120px;
}

.hero-kicker {
    display: block;
    margin-bottom: 20px;
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-text h1 {
    margin: 0 0 24px;
    color: #fff;
    font-weight: 900;
    line-height: .96;
    letter-spacing: -.03em;
    font-size: clamp(4rem, 9vw, 8rem);
    overflow-wrap: break-word;
    hyphens: auto;
    text-shadow: 0 3px 15px rgba(0,0,0,.45);
}

.hero-subline {
    max-width: 720px;
    color: rgba(255,255,255,.92);
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-link {
    display: inline-block;
    margin-top: 24px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    padding-bottom: 6px;
}

/* =========================================================
   INTRO
========================================================= */

.intro-section {
    padding: 140px 0;
}

.intro-section h2 {
    max-width: 1100px;
    margin: 0 auto 30px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.intro-section p {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
}

/* =========================================================
   IMAGE TEXT SECTIONS
========================================================= */

.image-text-section {
    padding: 100px 0;
}

.image-text-section.reverse {
    background: #fafafa;
}

.section-image {
    width: 100%;
    display: block;
}

.content-block {
    padding: 40px;
}

.section-label {
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    color: #888;
}

.content-block h3 {
    margin-bottom: 24px;
    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.15;
}

.content-block p {
    color: #666;
}

/* =========================================================
   FULL IMAGE
========================================================= */

.full-image-section {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.full-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.full-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 140px 0;
}

.services-section h2 {
    font-size: clamp(2.5rem,5vw,4.5rem);
    margin-bottom: 40px;
}

.services-section h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.services-section p {
    color: #666;
}

/* =========================================================
   PROJECTS GRID
========================================================= */

.projects-section {
    padding: 80px 0 140px;
}

.project-image {
    width: 100%;
    display: block;
    margin-bottom: 30px;
    transition: transform .4s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 160px 0;
    background: #111;
    color: #fff;
}

.contact-section h2 {
    margin-bottom: 30px;
    font-size: clamp(2.5rem,5vw,5rem);
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    border-bottom: 2px solid #fff;
}

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 34px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .04em;
    transition: .25s;
}

.contact-button:hover {
    background: #ffffff;
    color: #111111;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    font-size: .9rem;
    color: #777;
}

.site-footer {
    background: #222;
    color: rgba(255,255,255,.75);
    padding-top: 80px;
    padding-bottom: 30px;
}

.footer-columns {
    padding-bottom: 60px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.site-footer p {
    margin: 0;
    line-height: 1.9;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: .2s;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 25px;
    font-size: .9rem;
}

@media (max-width: 991px) {

    .footer-columns > div {
        margin-bottom: 40px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    padding: 140px 0;
    background: #ffffff;
}

.gallery-heading {
    max-width: 800px;
    margin-bottom: 60px;
}

.gallery-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.gallery-item-large img {
    aspect-ratio: 16 / 10;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.gallery-modal .modal-content {
    position: relative;
    background: transparent;
    border: 0;
}

#galleryModalImage {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    display: block;
}

.gallery-close {
    position: absolute;
    top: -42px;
    right: 0;
    filter: invert(1);
    opacity: 1;
    z-index: 5;
}

.gallery-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: #111;
    font-size: 42px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev {
    left: -70px;
}

.gallery-next {
    right: -70px;
}

@media (max-width: 991px) {
    .gallery-section {
        padding: 90px 0;
    }

    .gallery-prev {
        left: 15px;
    }

    .gallery-next {
        right: 15px;
    }
}

@media (max-width: 767px) {
    .gallery-item img,
    .gallery-item-large img {
        aspect-ratio: 4 / 3;
    }

    .gallery-control {
        width: 42px;
        height: 42px;
        font-size: 34px;
    }
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 54px;
    height: 54px;

    border: 0;
    border-radius: 50%;

    background: rgba(17,17,17,.92);
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #000;
}

.back-to-top svg {
    display: block;
}

@media (max-width: 767px) {

    .back-to-top {
        right: 18px;
        bottom: 18px;

        width: 48px;
        height: 48px;
    }

}


/* =========================================================
   STICKY BUTTON
========================================================= */


.sticky-cta {
    position: fixed;
    right: 28px;
    bottom: 100px;
    z-index: 1100;

    padding: 15px 26px;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;
    text-decoration: none;

    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;

    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sticky-cta:hover {
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0,0,0,.24);
}

@media (max-width: 767px) {
    .sticky-cta {
        left: 18px;
        right: 18px;
        bottom: 18px;
        text-align: center;
    }

    .back-to-top {
        bottom: 86px;
    }
}




/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top: 20px;
        padding: 20px;
        background: rgba(0,0,0,.8);
    }

    .site-header.scrolled .navbar-collapse {
        background: #fff;
    }

    .site-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        min-height: 700px;
    }

    .hero-text {
        padding-bottom: 80px;
    }

    .image-text-section {
        padding: 70px 0;
    }

    .content-block {
        padding: 40px 0 0;
    }

    .intro-section,
    .services-section,
    .contact-section {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {

    .hero-section {
        min-height: 620px;
    }

    .hero-text h1 {
        font-size: clamp(2.8rem, 11vw, 4.5rem);
    }

    .hero-subline {
        font-size: 1rem;
    }

    .intro-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}