.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #000000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    overflow: visible;
}

.home:hover {
    color: rgba(255,255,255,0.5);
}

.nav-right{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible;
}

.nav-right li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20pt;
    padding: 25px 15px;
    display: block;
    text-align: center;
}

.nav-right li a:hover {
    color: rgba(255,255,255,0.5);
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    padding: 25px;
    font-size: 20pt;
    display: block;
    text-align-last: center;
}

.navbar a:hover{
    color: rgba(255,255,255,0.5);
}

.navbar li {
    margin-right: 30px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.navbar .dropbtn {
    font-size: 20pt;
    padding: 25px 15px;
    display: block;
    color: white;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: 100%;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 2000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: white;
    padding: 15px 16px !important; 
    text-decoration: none;
    display: block;
    font-size: 16pt;
    text-align: center;
}

.dropdown-content a:hover {
    color: rgba(255,255,255,0.5);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: rgba(255,255,255,0.5);
}

.navbar, .nav-right {
    overflow: visible;
}

.dropbtn {
    position: relative;
}

.dropbtn::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
}

.dropdown:hover .dropbtn::after {
    border-top-color: rgba(255,255,255,0.5);
}

html{
    scroll-behavior: smooth;
}

#start {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: right;
}
 

#bio {
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
}

.bio-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 1rem;
}

.bio-text{
    grid-column: 2;
    text-align: right;
}

.bio-img{
    grid-column: 3;
    display: flex;
    justify-content: left;
    align-items: center;
}

.bio-img img{
    max-width: 100%;
    max-height: 550px;
    height: auto;
}

.bio-img video {
    max-width: 100%;
    max-height: 550px;
}

.bio-text p{
    font-size: 20pt;
    line-height: 1.2;
    word-spacing: 1pt;
    color: #000000;
    position: relative;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.click-indicator {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.click-indicator:hover .play-icon {
    opacity: 0.5;
}

#projects {
    height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;

}

.projects-wrapper {
    background-color: #000000;
    padding-bottom:20px;
}

.grid-item{
    overflow: hidden;
    padding: 20px;
}

 .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #000000;
    transition: transform 0.3s ease;
    transform-origin: center;
    }

.grid-item a:hover img {
    transform: scale(1.05);
    }

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: white;
    font-size: 1.2rem;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.grid-item a:hover .overlay {
    opacity: 1;
}

img{
    object-fit: cover;
}

.grid-item a {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.project-grid{
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(9,1fr);
    align-items: center;
    height: 100%;
    min-height: 100vh;
}

.imagestrip{
    grid-area: 4 / 4 / 5 / 8;
}

.imagestrip img{
    display: grid;
    width: 100%;
    padding-top: 13px;
}

.title {
    grid-area: 1 / 6 / 2 / 8;
}

.project-text {
    display: flex;
    grid-area: 2 / 6 / 3 / 8;
    position: relative;
    top: -30px;
    
}

.project-text p{
    font-size: 15pt;
    line-height: 1.2;
    word-spacing: 1pt;
    text-align: right;
}

.project-text2 {
    display: flex;
    grid-area: 2 / 6 / 3 / 8;
    position: relative;
    top: -30px;
}

.project-text2 p{
    font-size: 15pt;
    line-height: 1.2;
    word-spacing: 1pt;
    text-align: right;
}

.project-video {
    grid-area: 3 / 4 / 6 / 8;
    display: grid;
    width: 100%;
    height: 100%;
}

.pdf-button{
    display: inline-block;
    padding: 10px 18px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14pt;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pdf-button:hover{
    background-color: #333;
    transform: scale(1.05);
}

.photobook{
    grid-area: 2/4/3/6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.project-video iframe{
    aspect-ratio: 16/9;
    border: 10px solid #000000;
}

.line {
    grid-area: 3 / 4 / 4 / 8;
    width: 100%;
    margin-top: -16%;
    position: relative;
    height: 0;
}

.line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #000; 
}

.line2 {
    grid-area: 3 / 4 / 4 / 8;
    width: 100%;
    margin-bottom: 15px;
    position: relative;
    height: 0;
}

.line2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #000; 
}

.line3 {
    grid-area: 3 / 4 / 4 / 8;
    position: relative;
    height: 0;
}

.line3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #000; 
}

.bio-text p::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background-color: #000;
}

h1, .bio-text p{
    position: relative;
    padding-right: 28px;
    border: none;
}

h1::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background-color: #000; 
}

h1::after, .bio-text p::after {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background-color: #000;
}

h1 {
    font-size: 40pt;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    position: relative;
}

h2 {
    font-size: 40pt;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    padding-top: 100px;
    text-align: right;
}

h3 {
    font-size: 15pt;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    text-align: center;
    position: relative;
    padding-top: 25px;
}

h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #000;
}

.line::after, .line2::after, .line3::after, h1::after, .bio-text p::after, h3::before {
    background-color: #000 !important;
    isolation: isolate;
}

.line, .line2, .line3 {
    background-color: #000;
}

.fa{
    color: #000000;
    padding-left: 50%;
    padding-bottom: 14px;
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0; 
}
body {
  font-family: "Zain", sans-serif;
}