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

body {
    font-family: "futura-pt", sans-serif;
    background: #ffffff;
    color: #000;
    line-height: 1.6;
}

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


/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    font-size: 30px;
}

.menu-icon {
    font-size: 100px;
    cursor: pointer;
    margin-bottom: 20px;
}


/* ============================= */
/* HERO SECTION (FIXED) */
/* ============================= */
.hero {
    max-width: 900px;
    margin: 140px auto 120px auto;
    padding: 0 20px;
    text-align: center;
    margin-top: 3%;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 700;
    margin-bottom: -25px;
}

.hero h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin-bottom: 30px;
}

.hero p {
    font-size: clamp(16px, 1.8vw, 20px);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: #000;
    color: #fff;
    border-radius: 60px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.btn:hover {
    background: #333;
}


/* ============================= */
/* HOMEPAGE PROJECT GRID */
/* ============================= */
.projects {
    max-width: 1300px;
    margin: 120px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.project-label {
    margin-top: 14px;
    font-size: 14px;
}

.project a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project p {
    font-size: 18px;
    margin-top: 6px;
    color: #666666;
}

.overlay p {
    color: #ffffff;
    font-weight: 200;
}

/* ============================= */
/* IMAGE BOX */
/* ============================= */
.image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 617 / 423;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================= */
/* OVERLAY */
/* ============================= */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    color: white;

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

    text-align: center;
    padding: 40px;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay h3,
.overlay p {
    transform: translateY(60px);
    opacity: 0;
}

.image-box:hover .overlay {
    opacity: 1;
}

.image-box:hover .overlay h3,
.image-box:hover .overlay p {
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
}

.overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 14px;
    max-width: 380px;
}


/* ============================= */
/* OSIRIS PROJECT PAGE */
/* ============================= */
.project-hero {
    max-width: 1108px;
    margin: 120px auto 80px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.project-left {
    flex: 1;
}

.project-left h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.project-left p {
    font-size: 18px;
    max-width: 600px;
    font-weight: 300;
}

.project-right {
    width: 250px;
    margin-top: 15px;
    margin-right: -7%;
}


.meta {
    margin-bottom: 30px;
}

.meta h4 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}

.meta p {
    font-size: 20px;
    font-weight: 300;
}


/* ============================= */
/* LARGE IMAGE BLOCKS */
/* ============================= */
.project-images {
    max-width: 1108px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-large {
    width: 100%;
    aspect-ratio: 1108 / 716;
    margin-bottom: 96px;
    overflow: hidden;
}

.image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================= */
/* 3 HORIZONTAL IMAGES */
/* ============================= */
.image-row {
    max-width: 1108px;
    margin: 0 auto 120px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.image-vertical {
    width: 336px;
    aspect-ratio: 336 / 637;
    overflow: hidden;
}

.image-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================= */
/* OSIRIS TEXT SECTION */
/* ============================= */
.project-text-section {
    max-width: 1108px;
    margin: 120px auto 160px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    gap: 120px;
}

.project-text-left h2 {
    font-size: 59px;
    font-weight: 600;
    margin-bottom: 24px;
}

.project-text-left p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 700px;
    font-weight: 300;
}

.project-text-right {
    width: 320px;
    margin-top: 40px;
}

.project-text-right h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-text-right p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    width: 300px;
}




/* ============================= */
/* Mirth & Mellm PROJECT PAGE */
/* ============================= */
.mirth-project-hero {
    max-width: 1108px;
    margin: 120px auto 80px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.mirth-project-left {
    flex: 1;
}

.mirth-project-left h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.mirth-project-left p {
    font-size: 18px;
    max-width: 600px;
    font-weight: 300;
}

.mirth-project-right {
    width: 250px;
    margin-top: 15px;
    margin-right: -7%;
}


.meta {
    margin-bottom: 30px;
}

.meta h4 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}

.meta p {
    font-size: 20px;
    font-weight: 300;
}


/* ============================= */
/* LARGE IMAGE BLOCKS */
/* ============================= */
.mirth-project-images {
    max-width: 1108px;
    margin: 0 auto;
    padding: 0 20px;
}

.mirth-image-large {
    width: 100%;
    aspect-ratio: 1108 / 716;
    margin-bottom: 96px;
    overflow: hidden;
}

.mirth-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-large2 {
    height: 1203px;
    margin-bottom: 40px;
    margin-top: -60px;
}

.image-large3 {
    height: 517px;
    margin-top: 30px;
}

.image-large4 {
    height: 517px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.image-large5 {
    height: 893px;
    margin-top: -70px;
    margin-bottom: 60px;
}

.image-large6 {
    margin-top: 70px;
}

/* ============================= */
/* Mirth & Mellm TEXT SECTION */
/* ============================= */
.mirth-project-text-section {
    max-width: 1108px;
    margin: 120px auto 160px auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    gap: 120px;
}

.mirth-project-text-left h2 {
    font-size: 59px;
    font-weight: 600;
    margin-bottom: 24px;
}

.mirth-project-text-left p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 500px;
    font-weight: 300;
}

.mirth-project-text-right {
    width: 320px;
    margin-top: 40px;
}

.mirth-project-text-right h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mirth-project-text-right p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    width: 300px;
}


/* =============================== */
/* Ball ANIMATION PROJECT PAGE */
/* =============================== */

.animation-page {
    width: 1108px;
    margin: 0 auto;
}

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

.hero-image {
    width: 1108px;
    height: 717px;
    margin-bottom: 70px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.video-section {
    width: 1108px;
    height: 852px;
    margin-bottom: 70px;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= GRID ================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 541px);
    column-gap: 26px; /* 1108 - (541x2) = 26px */
    row-gap: 70px;
    width: 1108px;
}

.grid-item {
    width: 541px;
    height: 406px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}








/* ============================= */
/* FOOTER (MATCHES IMAGE STYLE) */
/* ============================= */
.footer {
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.footer-left h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-left p {
    font-size: 16px;
}

.footer-right {
    display: flex;
    gap: 80px;
}

.footer-right .column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-right a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

/* Tablet */
@media (max-width: 1024px) {

    .projects {
        grid-template-columns: 1fr;
    }

    .project-hero {
        flex-direction: column;
    }

    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .image-vertical {
        width: 100%;
        max-width: 400px;
    }

    .project-text-section {
        flex-direction: column;
        gap: 60px;
    }

    .project-text-right {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        gap: 60px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        margin-top: 80px;
    }

    .footer-left h2 {
        font-size: 40px;
    }
}