/* =========================================================
   01. GLOBAL RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   02. HTML
   ========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   03. BODY
   ========================================================= */

body {
    background: #ffffff;
    color: #111;
    line-height: 1.9;
    font-size: 15px;

    opacity: 1;
}

body.page-loaded {
    opacity: 1;
}


/* =========================================================
   04. FADE ANIMATION
   ========================================================= */

.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade.show {
    opacity: 1;
    transform: none;
}


/* =========================================================
   05. GLOBAL IMAGE
   ========================================================= */

img {
    display: block;
    width: 100%;
}


/* =========================================================
   06. GLOBAL LINK
   ========================================================= */

a {
    color: #111;
    text-decoration: none;
}


/* =========================================================
   07. CONTAINER
   ========================================================= */

.container {
    width: 1180px;
    max-width: 92%;
    margin: auto;
}


/* =========================================================
   08. HERO
   ========================================================= */

.hero {
    width: 100%;
    overflow: hidden;
}

.hero img {
    display: block;

    width: 100%;
    height: 92vh;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   09. CONTENT
   ========================================================= */

.content {
    padding: 80px 0;
}

.content h1 {
    margin-bottom: 30px;

    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
}

.project-description {
    max-width: 820px;
}

.project-description p {
    margin-bottom: 20px;

    color: #666;

    font-size: 15px;
    font-weight: 300;

    text-align: justify;
}


/* =========================================================
   10. PROJECT INFO
   ========================================================= */

.project-info {
    max-width: 550px;

    margin-top: 60px;
    margin-bottom: 90px;
}

.info-row {
    display: flex;

    margin-bottom: 18px;
}

.info-label {
    width: 160px;

    color: #222;

    font-weight: 600;
}

.info-value {
    color: #666;
}


/* =========================================================
   11. GALLERY
   ========================================================= */

.gallery {
    padding-bottom: 120px;
}

.space {
    width: 100%;
    height: 760px;

    margin-bottom: 35px;

    overflow: hidden;

    border-radius: 4px;
}

.space img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 0;

    transition: transform 0.4s ease;

    will-change: transform;
}

.space:hover img {
    transform: scale(1.01);
}


/* =========================================================
   12. GALLERY GRID
   ========================================================= */

.gallery-grid {
    display: grid;

    margin-bottom: 35px;
}


/* =========================================================
   13. GALLERY ITEM
   ========================================================= */

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: 900px;

    object-fit: cover;
    object-position: center;

    border-radius: 4px;

    transition: transform 0.4s ease;

    will-change: transform;
}

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


/* =========================================================
   14. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 992px) {

    .space {
        height: 550px;
    }

    .gallery-item img {
        height: 650px;
    }

}


/* =========================================================
   15. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .space {
        height: 320px;
        margin-bottom: 25px;
    }

    .gallery-item img {
        height: 420px;
    }

}


/* =========================================================
   16. RESPONSIVE - GENERAL
   ========================================================= */

@media (max-width: 768px) {

    .hero img {
        height: 420px;
    }

    .content h1 {
        font-size: 40px;
    }

    .info-row {
        display: block;
    }

    .info-label {
        width: 100%;
        margin-bottom: 5px;
    }

}


/* =========================================================
   17. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .fade {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .space img,
    .gallery-item img {
        transition: none;
    }

    .space:hover img,
    .gallery-item:hover img {
        transform: none;
    }

}
