@font-face {
  font-family: myfont;
  src: url(PPEiko-Medium.otf);
}

@font-face {
  font-family: myfont1;
  src: url(PPEiko-LightItalic.otf);
}

@font-face {
  font-family: myfont2;
  src: url(PPEiko-Thin.otf);
}


.nav-left{
    /* display:flex;
    justify-content:space-between;
    align-items:flex-start; */
    padding:40px 100px;
    position: fixed;
    top: 0;
    left: 0;
}

/* .nav-name{
    text-decoration:none;
    color:white;
} */

.name-bold{
    font-family: myfont;
    font-size:16px;
}

.nav-right{
    display:flex;
    gap:40px;
    font-size:16px;
    font-family: myfont;
    padding:40px 80px;
    position: fixed;
    top: 0;
    right: 0;
}

.nav-right a,
.nav-left a {
    text-decoration:none;
    color:#83acff;
    cursor:pointer;
}

.nav-right a:hover,
.nav-left a:hover {
    opacity:0.6;
    transition:0.2s ease;
}


/* PROJECT HERO */

.project-hero{
    display:flex;
    justify-content:space-between;
    padding:80px 120px;
    min-height:70vh;
}

.hero-left{
    flex:1;
    display:flex;
    align-items:center;
}
.hero-left h1{
    font-family: myfont;
    font-size: 45px;
    background: -webkit-linear-gradient(#f7d9a4, #4578dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    margin-left: 100px;
}

.project-logo{
    max-width:500px;   /* control logo size */
    width:100%;
    height:auto;
}

.hero-right{
    display: flex;
    align-items: center;
    width:600px;
}

.project-description{
    font-size:18px;
    line-height:1.7;
    margin-bottom:30px;
}

.project-description a {
    text-decoration: none;
    color:#83acff;
    border: 1px solid #83acff;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}


.project-description span{
    color:#999;
    font-size:16px;
}


/* SHOWCASE SECTION */

/* ========================= */
/* PROJECT SHOWCASE SECTION  */
/* ========================= */

.project-showcase{
    padding:0 120px 140px 120px;
}

.showcase-container{
    display:flex;
    flex-direction:column;
    gap:100px;
}


/* ========================= */
/* STRUCTURED GRID (1–12)    */
/* ========================= */

.structured-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:40px;
}

.structured-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:3px;
}

/* .structured-grid img:hover{
    transform:scale(1.03);
} */


/* ========================= */
/* EDITORIAL LAYOUT          */
/* ========================= */

.editorial-layout{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.row{
    display:grid;
    gap:20px;
}

.row img{
    width:100%;
    border-radius:3px;
    object-fit:cover;
}
.row video{
    width:100%;
    border-radius:3px;
    object-fit:cover;
}

/* .row img:hover{
    transform:scale(1.03);
} */


/* Layout Variations */

.row.three{
    display:grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap:40px;
}

/* Big left image */
.row.three img:first-child{
    grid-row: 1 / span 2;   /* spans both rows */
    height:auto;
    width: 90%;
    object-fit:cover;
}

/* Right stacked images */
.row.three img:nth-child(2),
.row.three img:nth-child(3){
    height:auto;
    width: 85%;
    object-fit:cover;
}

.row.two{
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
}

.row.two img{
    height: auto;   /* You can adjust this */
    width: 100%;
    object-fit: contain;
}

.row.two video{
    height: auto;   /* You can adjust this */
    width: 110%;
    object-fit: contain;
}

.row.single{
    grid-template-columns: 1fr;
    max-width:1500px;
    margin:0 auto;
    margin-bottom: 30px;
}

/* --- Related Projects Section --- */

.related-projects {
    margin-top: 20px;
    padding: 80px 40px;
    border-top: 1px solid #eee;
}

.related-projects h3 {
    font-family: myfont;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #111;
}

/* Grid Layout Instead of Flex */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Each Project */
.related-item {
    text-decoration: none;
    color: black;
    display: block;
    transition: transform 0.3s ease;
}

/* Image Styling */
.related-item img {
    width: 100%;
    height: 320px; /* Bigger + more impactful */
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.related-item:hover img {
    transform: scale(1.03);
}

/* Title */
.related-item p {
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #111;
}

/* Medium screens */
@media (max-width: 1200px){
    .project-showcase{
        padding:0 60px 120px 60px;
    }
    .showcase-container{
        padding:50px;
    }
    .structured-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .row.three{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets / small laptops */
@media (max-width: 768px){
    .project-showcase{
        padding:0 30px 100px 30px;
    }
    .showcase-container{
        padding:40px;
        gap:70px;
    }
    .structured-grid,
    .row.three,
    .row.two{
        grid-template-columns: 1fr;
    }
    .row.single{
        max-width:100%;
    }
    .project-hero{
        flex-direction: column;
        gap:30px;
        padding:50px 20px;
    }
    .hero-right{
        width:100%;
    }
}

/* Mobile */
@media (max-width: 480px){
    .project-hero{
        padding:40px 15px;
        min-height:auto;
    }
    .project-description{
        font-size:16px;
    }
    .project-description span{
        font-size:14px;
    }
    .related-projects{
        padding:40px 20px;
    }
    .related-grid{
        grid-template-columns: 1fr;
        gap:20px;
    }
    .related-item img{
        height: 200px;
    }
    .related-item p{
        font-size:12px;
    }
}

/* Navigation adjustments for mobile */
@media (max-width: 800px){
    .nav-left, .nav-right{
        position: static;
        padding: 20px;
    }
    .nav-right{
        gap:20px;
        flex-wrap: wrap;
    }
    .name-bold{
        font-size:14px;
    }
    .nav-right a{
        font-size:14px;
    }
}