:root{
    --offwhite : #F7F7F2;
    --Navy : #023047; 
    --Red : #FB3640;
}

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

:root {
    --primary-color: #d76f4e;
    --text-white: #ffffff;
    --bg-dark: #262626;
    --bg-darker: #181818;
    --bg-black: #000000;
    --card-bg: rgba(83, 83, 83, 0.3);
    --card-dark-bg: #181818;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-white);
    background: linear-gradient(123.088deg, rgba(0, 0, 0, 0.55) 29.991%, rgba(38, 38, 38, 0.55) 50.274%, rgba(38, 38, 38, 0.55) 75.653%, rgba(0, 0, 0, 0.55) 96.582%), linear-gradient(90deg, rgb(77, 76, 76) 0%, rgb(77, 76, 76) 100%);
    min-height: 100vh;
    line-height: 1.75;
}

.page-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-wrapper {
    max-width: 1280px;
    width: 100%;
    padding: 96px 80px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Header Image */
.header-image {
    width: 80%;
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
}

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

/* Typography */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.subsection-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
}

.subsection-title.center {
    text-align: center;
}

.section-content {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}

.section-content p {
    margin-bottom: 0;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.section-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    align-self: stretch;
}

.section-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 0 0;
}

.section-text p {
    font-size: 16px;
    line-height: 28px;
}

.section-image {
    width: 332px;
    height: auto;
    flex-shrink: 0;
}

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

/* Findings Grid */
.findings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.finding-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 12px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
}

.finding-card.dark {
    background: var(--card-dark-bg);
    padding: 28px 34px;
}

.finding-card p {
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    font-weight: 400;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: var(--text-white);
    margin: 0;
}

/* Objectives Section */
.objectives-section {
    display: flex;
    align-items: center;
    gap: 24px;
    align-self: stretch;
}

.objectives-text {
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
}

.objectives-text ul {
    font-size: 16px;
    line-height: 28px;
    list-style-position: outside;
    padding-left: 24px;
}

.objectives-text ul li {
    margin-bottom: 0;
}

.objectives-text ul ul {
    list-style-type: disc;
    padding-left: 48px;
}

.objectives-images {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex: 1;
}

.objectives-images img {
    /* height: 336px;
    width: auto; */
    max-height: 336px;
    align-self: stretch;
    object-fit: contain;
    border-radius: 6px;
}

/* Heatmap Grid */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 64px;
}

.heatmap-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Content Row */
.content-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.content-text {
    max-width: 636px;
    font-size: 16px;
    line-height: 28px;
}

.content-text p {
    margin-bottom: 16px;
}

.content-image {
    flex: 1;
    display: flex;
}

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

.content-image.rounded-bg {
    background: white;
    border-radius: 32px;
    padding: 8px;
}

.content-image.rounded-bg img {
    border-radius: 32px;
}

/* Signboard Gallery */
.signboard-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 945px;
    margin: 0 auto;
}

.signboard-gallery img {
    width: calc(33.333% - 16px);
    height: auto;
    object-fit: cover;
}

.signboard-gallery img.rounded {
    border-radius: 40px;
}

/* User Testing */
.user-testing {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 36px;
}

.user-testing p {
    max-width: 773px;
    font-size: 16px;
    line-height: 28px;
}

.UAT-screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    /* justify-content: space-between; */
}

.UAT-screenshots img {
    width: calc(25% - 12px);
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 24px;
}

/* Key Learnings */
.key-learnings {
    margin-top: 24px;
}

/* Responsive Design */
@media (max-width: 1280px) {
    .content-wrapper {
        padding: 64px 40px;
    }
}

@media (max-width: 1024px) {
    .section-row {
        flex-direction: column;
        gap: 48px;
    }

    .section-image {
        width: 100%;
        max-width: 400px;
        align-self: center;
    }
    
    .findings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .content-row {
        flex-direction: column;
    }

    .content-text {
        max-width: 100%;
    }

    .heatmap-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .objectives-text{
        align-self: self-start;
    }

    .objectives-images {
        width: 100%;
    }

    .objectives-images img {
        max-height: 200px;
    }

    .UAT-screenshots img {
        width: calc(50% - 12px);
        aspect-ratio: 3/2;
        object-fit: cover;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 48px 24px;
        gap: 36px;
    }

    .header-image {
        height: auto;
        aspect-ratio: 1101/502;
    }

    .section-title {
        font-size: 28px;
    }

    .subsection-title {
        font-size: 20px;
    }

    .findings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .finding-card {
        padding: 16px 24px;
    }

    .signboard-gallery {
        flex-direction: column;
    }

    .signboard-gallery img,
    .signboard-gallery img:last-child {
        width: 100%;
    }

    .UAT-screenshots img {
        border-radius: 12px;
    }

    .objectives-section {
        flex-direction: column;
    }

    .objectives-images {
        flex-direction: column;
    }

    .objectives-images img{
        max-height: none;
        width: 67%;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 32px 16px;
    }

    .header-image{
        width: 100%;
    }

    .section {
        gap: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .subsection-title {
        font-size: 18px;
    }

    .section-content,
    .content-text,
    .finding-card p {
        font-size: 14px;
        line-height: 24px;
    }

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

    .objectives-images img{
        max-height: none;
        width: 100%;
        align-self: center;
    }
}

/* Navbar CSS */

.navbar{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* background-color: var(--offwhite); */
}

.navbar path{
    fill: var(--offwhite);
}

.navmenu{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    font-size: 1rem;
    font-weight: 500;
    height: 1rem;
    opacity: 100%;
    padding: 0;
}

.navbar a:link{
    color: var(--offwhite);
    text-decoration: none;
}

.navbar a:visited{
    color: var(--offwhite);
    text-decoration: none;
}

.navbar a:hover{
    /* font-size: 1.2rem; */
    color: var(--Red);
    text-decoration: underline;
}

.openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
}

.closeMenu, .icons a {
font-size: 2rem;
display: none;
cursor: pointer;
}

@media (max-width: 480px) {    
    /* Navbar CSS */
    
    .navbar{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        /* background-color: var(--offwhite); */
    }
    
    .navbar img{
        height: 4rem;
        width: auto;
    }
    
    .navmenu{
        position: fixed;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        height: 100vh;
        top: -150%;
        right: 0px;
        left: 0px;
        z-index: 10;
        justify-content: center;
        align-items: center;
        background-color: var(--Red);
        gap: 4rem;
        font-size: 1.5rem;
        font-weight: 500;
        opacity: 100%;
        transition: top 1s ease 0s;
        /* display: none; */
        /* padding: 4rem; */
    }
    
    .navmenu li{
        font-size: 1.5rem;
    }

    .navbar a:link{
        color: var(--offwhite);
        text-decoration: none;
    }
    
    .navbar a:visited{
        color: var(--offwhite);
        text-decoration: none;
    }
    
    .navbar a:hover{
        /* font-size: 1.2rem; */
        color: var(--Navy);
        text-decoration: underline;
        text-decoration-color: var(--Navy);
    }

    .openMenu {
        display: block;
    }

    .openMenu i{
        font-size: 2rem;
    }

    .closeMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .closeMenu i{
        padding: 2rem;
        font-size: 1.5rem;
        color: var(--offwhite);
    }

    .icons i {
        display: inline-block;
        padding: 1.5rem;
        font-size: 3rem;
    }

    .icons a{
        display: inline-block;
        padding: 1.5rem;
    }
    .icons img{
        width: 3rem;
        height: auto;
    }
}
