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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #F4F1E8;
    color: #0A3158;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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


/* =========================
   NAVIGATION
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 5%;

    z-index: 100;

    color: #F4F1E8;

    background: linear-gradient(
        to bottom,
        rgba(6, 20, 38, 0.95) 0%,
        rgba(10, 49, 88, 0.75) 50%,
        rgba(10, 49, 88, 0) 100%
    );

    transition: background 0.3s ease;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #C9A227;
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-size: 14px;
    position: relative;
    color: #F4F1E8;

    transition: color 0.3s ease;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 100%;
    height: 1px;

    background: #C9A227;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.3s ease;
}

.navbar nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================
   PROJECT HERO
========================= */

.project-hero {
    min-height: 85vh;

    padding: 180px 8% 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        -45deg,
        #061426,
        #164E7A,
        #0A3158
    );

    background-size: 400% 400%;

    animation: blueGradient 15s ease infinite;

    color: #F4F1E8;
}

@keyframes blueGradient {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

.small-text {
    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 30px;
}

.project-hero h1 {
    font-size: clamp(65px, 11vw, 160px);
    overflow-x: hidden;
    line-height: 1;

    letter-spacing: -7px;

    margin-bottom: 50px;
}

.project-hero h1 span {
    color: #C9A227;
}

.project-intro {
    max-width: 650px;

    font-size: 20px;

    line-height: 1.5;

    margin-bottom: 70px;
}


/* =========================
   PROJECT META
========================= */

.project-meta {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    max-width: 900px;

    border-top: 1px solid rgba(244, 241, 232, 0.4);

    padding-top: 20px;
}

.project-meta span {
    font-size: 11px;

    letter-spacing: 2px;

    color: #C9A227;
}

.project-meta p {
    margin-top: 8px;

    font-size: 14px;
}





/* =========================
   SECTION LABEL
========================= */

.section-label {
    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #C9A227;

    margin-bottom: 50px;
}


/* =========================
   ABOUT PROJECT
========================= */

.project-description {
    padding: 130px 8% 100px;
}

.description-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* HEADING */
.description-content h2 {
    width: 100%;
    font-size: clamp(50px, 7vw, 100px);
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 0;
}

/* IMAGE */
.about-project-media {
    flex: 1;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.about-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TEXT */
.description-text {
    flex: 1;
    min-width: 0;
    padding-top: 0;
    margin-top: 0;
    align-self: flex-start;
}

.description-text p {
    max-width: 500px;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-project-media,
.description-text {
    margin-top: 30px;
}

/* =========================
   ABOUT IMAGE / VIDEO
========================= */

.about-project-media {
    grid-column: 1;

    width: 100%;

    overflow: hidden;
}

.about-project-media img {
    width: 100%;

    height: auto;

    display: block;
}


/* ABOUT VIDEO */

.about-video-container {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #061426;

    overflow: hidden;
}

.about-video-container iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: none;
}


/* =========================
   DESCRIPTION TEXT
========================= */

.description-text {
    grid-column: 2;

    grid-row: 2;


}

.description-text p {
    max-width: 500px;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* =========================
   PROCESS
========================= */

.project-process {
    padding: 20px 8%;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 50px;
}

.process-item {
    border-top: 1px solid #0A3158;

    padding-top: 20px;
}

.process-item > span {
    font-size: 12px;

    color: #C9A227;
}

.process-item h3 {
    font-size: 32px;

    line-height: 1;

    letter-spacing: -1px;

    margin: 35px 0 20px;
}

.process-item p {
    max-width: 350px;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================
   PROJECT GALLERY
========================= */

.project-gallery {
    margin-top: 100px;

    position: relative;
}


/* SCROLLABLE IMAGE ROW */

.gallery-track {
    display: flex;

    gap: 25px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;

    cursor: grab;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}


/* GALLERY IMAGES */


.gallery-image {
    flex: 0 0 30%;
    height: 280px;
    object-fit: cover;
    cursor: pointer;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;

    filter: brightness(0.9);
}

.gallery-image:hover {
    transform: scale(1.03);
    filter: brightness(1);
}



/* GALLERY ARROWS */

.gallery-controls {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;
}

.gallery-controls button {
    width: 50px;

    height: 50px;

    border: 1px solid #0A3158;

    background: transparent;

    color: #0A3158;

    font-size: 20px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.gallery-controls button:hover {
    background: #0A3158;

    color: #F4F1E8;
}


/* =========================
   IMAGE LIGHTBOX
========================= */

.image-lightbox {
    position: fixed;

    inset: 0;

    z-index: 1000;

    background: rgba(6, 20, 38, 0.95);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    opacity: 1;

    visibility: visible;
}


/* LARGE IMAGE */

.image-lightbox img {
    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* CLOSE BUTTON */

.lightbox-close {
    position: absolute;

    top: 25px;

    right: 35px;

    border: none;

    background: transparent;

    color: #F4F1E8;

    font-size: 45px;

    cursor: pointer;

    z-index: 2;
}


/* LIGHTBOX ARROWS */

.lightbox-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;

    height: 55px;

    border: 1px solid #F4F1E8;

    background: transparent;

    color: #F4F1E8;

    font-size: 22px;

    cursor: pointer;

    transition: all 0.3s ease;

    z-index: 2;
}

.lightbox-arrow:hover {
    background: #F4F1E8;

    color: #061426;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}


/* =========================
   PROJECT VIDEO
========================= */

.project-video {
    padding: 0 8% 150px;
}

.video-container {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #061426;

    overflow: hidden;
}

.video-container iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: none;
}


/* =========================
   REFLECTION
========================= */

.project-reflection {
    padding: 150px 8%;

    background: #061426;

    color: #F4F1E8;
}

.project-reflection h2 {
    font-size: clamp(55px, 8vw, 120px);

    line-height: 0.85;

    letter-spacing: -6px;

    margin-bottom: 50px;
}

.project-reflection p {
    max-width: 650px;

    font-size: 19px;

    line-height: 1.7;
}


/* =========================
   PROJECT END
========================= */

.project-end {
    padding: 120px 8%;

    text-align: center;
}

.project-end p {
    font-size: 18px;

    margin-bottom: 25px;
}


/* =========================
   BUTTON
========================= */

.btn-two {
    position: relative;

    display: inline-block;

    padding: 15px 25px;

    border: 1px solid #0A3158;

    border-radius: 50px;

    overflow: hidden;

    transition: color 0.3s ease;
}

.btn-two::before {
    content: "";

    position: absolute;

    inset: 0;

    background: #0A3158;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;

    z-index: 1;
}

.btn-two:hover {
    color: #F4F1E8;
}

.btn-two:hover::before {
    transform: scaleX(1);
}

.btn-two span {
    position: relative;

    z-index: 2;

    transition: letter-spacing 0.3s ease;
}

.btn-two:hover span {
    letter-spacing: 1px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 5%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #061426;

    color: #F4F1E8;

    font-size: 12px;
}

footer div {
    display: flex;

    gap: 20px;
}

footer a {
    position: relative;
}

footer a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background: #C9A227;

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.3s ease;
}

footer a:hover::after {
    transform: scaleX(1);

    transform-origin: left;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 25px 6%;
    }


    /* HERO */

    .project-hero {
        padding-left: 6%;

        padding-right: 6%;
    }


    /* ABOUT */

    .project-description {
        padding-left: 6%;

        padding-right: 6%;
    }

    .description-content {
        column-gap: 50px;
    }

    .description-text {
        padding-top: 200px;
    }


    /* PROCESS */

    .project-process {
        padding-left: 6%;

        padding-right: 6%;
    }


    /* GALLERY */

    .gallery-image {
        flex: 0 0 45%;
        height: 250px;
    }


    /* VIDEO */

    .project-video {
        padding-left: 6%;

        padding-right: 6%;
    }


    /* REFLECTION */

    .project-reflection {
        padding-left: 6%;

        padding-right: 6%;
    }


    /* END */

    .project-end {
        padding-left: 6%;

        padding-right: 6%;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    /* NAVIGATION */

    .navbar {
        padding: 20px 6%;
    }

    .navbar nav {
        gap: 15px;
    }

    .navbar nav a {
        font-size: 12px;
    }


    /* =========================
       HERO
    ========================== */

    .project-hero {
        min-height: 75vh;

        padding: 130px 6% 80px;
    }

    .project-hero h1 {
        font-size: clamp(55px, 14vw, 90px);

        letter-spacing: -4px;
    }

    .project-intro {
        font-size: 16px;

        margin-bottom: 50px;
    }


    /* =========================
       META
    ========================== */

    .project-meta {
        grid-template-columns: 1fr;

        gap: 25px;
    }



    /* =========================
       ABOUT PROJECT
    ========================== */

    .project-description {
        padding: 100px 6% 80px;
    }

.description-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.description-content h2 {
    margin-bottom: 10px;
}

.about-project-media {
    width: 100%;
    flex: none;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
}

.about-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .about-video-container {
        width: 100%;

        aspect-ratio: 16 / 9;
    }


    /* DESCRIPTION TEXT */

.description-text {
    width: 100%;
    padding-top: 0;
}

    .description-text p {
        font-size: 16px;
    }


    /* =========================
       PROCESS
    ========================== */

    .project-process {
        padding: 100px 6%;
    }

    .process-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .process-item h3 {
        font-size: 30px;
    }


    /* =========================
       GALLERY
    ========================== */

    .project-gallery {
        margin-top: 70px;
    }

    .gallery-track {
        gap: 15px;
    }

    .gallery-image {
        flex: 0 0 80%;
        height: 240px;
    }


    /* GALLERY BUTTONS */

    .gallery-controls {
        justify-content: space-between;

        margin-top: 20px;
    }

    .gallery-controls button {
        width: 48px;

        height: 48px;
    }


    /* =========================
       LIGHTBOX
    ========================== */

    .image-lightbox {
        padding: 20px;
    }

    .image-lightbox img {
        max-width: 90%;

        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;

        right: 20px;

        font-size: 35px;
    }

    .lightbox-arrow {
        width: 45px;

        height: 45px;

        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }


    /* =========================
       VIDEO
    ========================== */

    .project-video {
        padding: 0 6% 100px;
    }


    /* =========================
       REFLECTION
    ========================== */

    .project-reflection {
        padding: 100px 6%;
    }

    .project-reflection h2 {
        font-size: clamp(55px, 14vw, 85px);

        letter-spacing: -4px;
    }

    .project-reflection p {
        font-size: 16px;
    }


    /* =========================
       END
    ========================== */

    .project-end {
        padding: 90px 6%;
    }


    /* =========================
       FOOTER
    ========================== */

    footer {
        padding: 30px 6%;

        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 400px) {

    .navbar {
        padding: 18px 6%;
    }

    .navbar nav {
        display: none;
    }


    /* HERO */

    .project-hero {
        padding-top: 120px;
    }

    .project-hero h1 {
        font-size: 50px;

        letter-spacing: -3px;
    }


    /* GALLERY */

    .gallery-image {
        flex: 0 0 85%;
        height: 200px;
    }


    /* LIGHTBOX */

    .image-lightbox img {
        max-width: 85%;

        max-height: 75vh;
    }

    .lightbox-arrow {
        width: 40px;

        height: 40px;

        font-size: 16px;
    }

}

/* =========================
   HAMBURGER — SAME AS HOMEPAGE
========================= */

.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #F4F1E8;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 102;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

.menu-toggle span {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 1.5px;
    background: #F4F1E8;
    transition: top 0.35s ease,
                transform 0.35s ease,
                opacity 0.2s ease,
                background 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle:hover {
    background: #C9A227;
    border-color: #C9A227;
    transform: rotate(8deg);
}

.menu-toggle:hover span {
    background: #061426;
}

.menu-toggle.active {
    background: #C9A227;
    border-color: #C9A227;
    transform: rotate(0deg);
}

.menu-toggle.active span {
    background: #061426;
}

.menu-toggle.active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}


/* =========================
   FULL-SCREEN MOBILE MENU
========================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #0A3158;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
    z-index: 101;
    visibility: hidden;
    opacity: 0;
    clip-path: circle(0% at 30px 30px);
    transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.18, 1),
                opacity 0.3s ease,
                visibility 0.7s;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    clip-path: circle(150% at 30px 30px);
}

.mobile-menu-content {
    width: 100%;
}

.mobile-menu-content .small-text {
    color: #C9A227;
    margin-bottom: 50px;
}

.mobile-menu-content > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 0;
    border-top: 1px solid rgba(244, 241, 232, 0.35);
    color: #F4F1E8;
    font-size: clamp(45px, 10vw, 90px);
    line-height: 1;
    letter-spacing: -3px;
    overflow: hidden;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s ease,
                opacity 0.6s ease,
                color 0.3s ease,
                padding-left 0.4s ease;
}

.mobile-menu-content > a:last-child {
    border-bottom: 1px solid rgba(244, 241, 232, 0.35);
}

.mobile-menu-content > a small {
    font-size: 12px;
    letter-spacing: 2px;
    color: #C9A227;
    transition: transform 0.3s ease,
                opacity 0.3s ease;
}

.mobile-menu-content > a:hover {
    color: #C9A227;
    padding-left: 20px;
}

.mobile-menu-content > a:hover small {
    transform: translateX(-10px);
}

.mobile-menu.active .mobile-menu-content > a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu-content > a:nth-of-type(1) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu-content > a:nth-of-type(2) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-menu-content > a:nth-of-type(3) {
    transition-delay: 0.35s;
}


/* =========================
   MOBILE NAVIGATION
========================= */

@media (max-width: 900px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 6%;
        box-sizing: border-box;
        z-index: 102;
    }

    .navbar nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    .navbar .logo {
        order: 2;
        margin-left: auto;
        text-align: right;
    }
}

@media (max-width: 400px) {
    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .menu-toggle span {
        left: 11px;
    }

    .menu-toggle span:nth-child(1) { top: 13px; }
    .menu-toggle span:nth-child(2) { top: 20px; }
    .menu-toggle span:nth-child(3) { top: 27px; }

    .menu-toggle.active span:nth-child(1),
    .menu-toggle.active span:nth-child(3) {
        top: 20px;
    }
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none;
    }
}


/* =========================
   GALLERY HEADING
========================= */

.gallery-heading {
    margin-bottom: 35px;
}

.gallery-heading .section-label {
    margin-bottom: 15px;
}

.gallery-heading h2 {
    font-size: clamp(40px, 6vw, 75px);
    line-height: 1;
    letter-spacing: -3px;
}

.gallery-heading h2 span {
    color: #C9A227;
}


/* =========================
   AUTOMATIC GALLERY SCROLL
========================= */

.gallery-track {
    scroll-behavior: auto;
}

/* Pause automatic scrolling when the visitor interacts */
.project-gallery:hover .gallery-track {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        scroll-behavior: auto;
    }
}
