*{
    margin: 0%;
    padding: 0%;
}

body {
    overflow-x: hidden;
    width: 100%;
}



.nav {
  width: 100%;
  background-color: #fff; /* change if you want transparent or colored nav */
  padding: 10px 20px;
  position: fixed; /* keeps it on top */
  top: 0;
  left: 0;
  z-index: 10;
}
nav {
  display: flex;
  /* justify-content: space-between; */
  gap: 25.9rem;
  align-items: center;
}

.nav-logo img {
  height: 8rem;
  margin: 0;
  float: none;
  display: block;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px; /* space between links */
  margin: 0;
  padding: 0;
}

/* Center nav links only (keep logo in its place) */
.nav nav{ position: relative; }
.nav .nav-links{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 30px;
}

.video-desktop {
  display: block;
}

.video-mobile {
  display: none;
}


/* Hamburger (mobile) - hidden by default, shown in mobile media query */

/* active state animation */
.hamburger.active div:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.hamburger.active div:nth-child(2){ opacity: 0; }
.hamburger.active div:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

@media (max-width:767px){
  /* show hamburger, hide centered links and use mobile panel */
  .hamburger{display:inline-flex; z-index: 40}
  /* make the menu sit just below the hamburger and align to the right edge */
  .nav .nav-links{position:absolute; display:none; top:calc(100% + 8px); right:1rem; background:#fff; width:220px; flex-direction:column; padding:0.5rem 1rem; box-shadow:0 6px 20px rgba(0,0,0,0.08); border-radius:6px;}
  .nav .nav-links.active{display:flex}
  .nav .nav-links a{padding:0.5rem 0}
  /* ensure logo stays left and hamburger right */
  .nav nav{justify-content:space-between; gap: 0}
  .nav .nav-logo{order:0}
  .hamburger{order:1}
}

.nav-links a {
  text-decoration: none;
  font-family: "bulletin-typewriter-mn", sans-serif; /* you can use your Typekit font here */
  font-size: 1.5rem;
  color: #000; /* change color */
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #777;
}
.nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li{
    cursor: pointer;   
    font-size: 1.5rem;
    font-weight: bold;
}

.nav a{
    text-decoration: none;
    color: black;
    font-family: "bulletin-typewriter-mn", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    font-style: normal;
}

#coverimg{
    width: 30%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10rem;
}

#bckgimg{
    color: black;
}

#bckgimg video{
   width: 80%;
   margin-left: 10rem;
}


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

.content{
    margin-top: 5rem;
}
h2{
   font-family: "bulletin-typewriter-mn", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    text-align: center;
    font-size: 2.5rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 8%;
  justify-items: center;
}

.project-card {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-img:hover img {
  opacity: 0.8;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 1rem;
}

.project-img:hover .overlay {
  opacity: 1;
}

.overlay h3 { 
  font-family: "bulletin-typewriter-mn", sans-serif;
    font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.overlay p {
   font-family: "bulletin-typewriter-mn", sans-serif;
    font-weight: 400;
    font-size: 2rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* about */
.about-me img{
  width: 100%;
  align-items: center;
  align-items: center;
}

.about-me{
  margin-bottom: -11rem;
}

/* keeps the two elements aligned and spaced */
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 15rem; /* controls space between image and text */
  flex-wrap: wrap;
}

/* boxy text container */
.about-text {
  max-width: 300px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
   font-family: "bulletin-typewriter-mn", sans-serif;
    font-size: 2rem;
  line-height: 1.7;
  text-align: justify; /* <-- this is what makes the text look "boxy" */
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.about-btn {
  display: inline-block;
  margin-top: 1.5rem;
  margin-left: 12rem;
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-family: "bulletin-typewriter-mn", sans-serif;
  border: 1.5px solid rgb(0, 0, 0);
  transition: all 0.4s ease-in-out;
}

.about-btn:hover {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* soft glow effect */
}



/* about page */
.about-page {
  margin-top: 5rem;
  font-family: "bulletin-typewriter-mn", sans-serif;
}

.about-page h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.about-page-container {
  display: flex;
  gap: 8rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.about-photo-page {
  width: 300px;
  height: 360px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text-page {
  max-width: 600px;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.7;
}


.click {
  position: relative; /* necessary for absolute positioning inside */

}

.about-me-img {
  width: 100%;
  display: block;
}

.click-text {
  position: absolute;
  top: 55%; /* vertically center */
  left: 35%; /* horizontally center */
  transform: translate(-50%, -50%); /* perfect centering */
  color: rgb(0, 0, 0); /* or whatever contrasts the image */
  font-size: 64px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px; /* optional rounded edges */
}

/* about page */

/* project page */
/* --- FULL BACKGROUND SECTIONS --- */
.projects{
margin-top: 10rem;
margin-left: 31rem;
}
.project-section {
  height: 140vh;
  width: 70vh;
  /* margin-left: 33rem; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}



.project-overlay h2 {
  font-family: "bulletin-typewriter-mn", sans-serif;
  color: #fff;
  font-size: 3rem;
}

.project-overlay a {
  text-decoration: none;
  color: #fff;
}


/* --- INDIVIDUAL BACKGROUND IMAGES --- */
.editorial {
  background-image: url("../images/benne-web-cover.jpg");
  height: 300px;
  background-size: cover;
  background-position: center;
}

.branding {
  background-image: url("../images/ayoka-web-cover.jpg");
  height: 300px;
  background-size: cover;
  background-position: center;
}

.photography {
  background-image: url("../images/ginga-cover-web.png");
  height: 300px;
  background-size: cover;
  background-position: center;
}

.posters {
  background-image: url("../images/de-muze-cover.jpg");
  height: 300px;
  background-size: cover;
  background-position: center;
}

.motion {
  background-image: url("../images/girls-webcover.jpg");
  height: 300px;
  background-size: cover;
  background-position: center;
}
.morayo {
  background-image: url("../images/personal-branding-cover.jpg");
  height: 300px;
  background-size: cover;
  background-position: center;
}

/* project page */


/* editorial page */
.project-section {
  height: 40vh; 
  background-color: #000;
  position: relative;
  display: flex;
  align-items: center; /* vertically centers the overlay */
  justify-content: center; /* horizontally centers the overlay */
  margin-top: 3rem; /* keeps spacing between sections */
  /* REMOVE padding-top */
  box-sizing: border-box;
}



.project-section-overlay {
  background: rgba(0,0,0,0.5); 
  color: #fff;
  text-align: center;
  font-family: "bulletin-typewriter-mn", sans-serif;
  width: 80%;
  max-width: 700px;
  transition: background 0.3s ease;
}

.project-section-overlay h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-section-overlay p {
  font-size: 1.2rem;
}

.project-section-overlay a {
  text-decoration: none;
  color: #ffffff;
}

.project-section:hover .project-section-overlay {
  background: rgba(0,0,0,0.7);
}
 .project-img a{
  text-decoration: none;
  color: #fff;
 }

/* Lightbox overlay */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  object-fit: contain;
}

#lightbox-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* editorial page */

/* contact page */
.contact-page {
    position: relative;
  max-width: 700px;
  padding: 3rem 5%; /* slightly reduced so border isn't too cramped */
  text-align: center;
  font-family: "bulletin-typewriter-mn", sans-serif;
  /* border: 2px solid black;  */
  box-sizing: border-box;
  max-width: 700px; 
  margin: 4rem auto; 
  overflow: visible;
  margin-top: 11rem;
}

/* Position links ON TOP of the receipt */
.contact-container {
  position: relative;
  width: 100%;
  max-width: 420px; /* match the image width */
  margin: 0 auto;
}

/* Layer that holds all your link text */
.links {
  position: absolute;
  top: 14.5%;
  left: 0;
  width: 100%;
  pointer-events: auto; /* links stay clickable */
}

/* Each link positioned individually */
.contact-item {
  position: absolute;
  font-family: "bulletin-typewriter-mn", sans-serif;
  font-size: 1.15rem;
  color: black;
}

.links a{
  color: black;
}

/* ===== POSITION EACH ONE USING TOP + LEFT ===== */
.email {
  top: 160px;  /* adjust until it lines up with "Email ...." */
  left: 185px;
}

.behance {
  top: 200px;
  left: 240px;
}

.linkedin {
  top: 240px;
  left: 245px;
}

.cv {
  top: 286px;
  left: 195px;
}






.contact-text-overlay-mail a {
  font-size: 1.2rem;
  margin-left: 4rem;
  text-decoration: none;
  color: black;
}
.contact-text-overlay-behance a {
  font-size: 1.2rem;
  margin-left: 4rem;
  text-decoration: none;
  color: black;
}
.contact-text-overlay-linkedin a {
  font-size: 1.2rem;
  margin-left: 4rem;
  text-decoration: none;
  color: black;
}
.contact-text-overlay-cv a {
  font-size: 1.2rem;
  margin-left: 4rem;
  text-decoration: none;
  color: black;
}

/* --- Project Detail Page --- */ 
.project-intro { margin-top: 12rem; 
  /* clears fixed navbar */ text-align: center;
   color: #000; font-family: "bulletin-typewriter-mn", sans-serif; } 
   .project-intro h1 { font-size: 4rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
    .project-intro .subtitle { font-size: 1.2rem; color: #555; letter-spacing: 1px; }
     .project-details { max-width: 900px; margin: 6rem auto; padding: 0 2rem; font-family: "bulletin-typewriter-mn", sans-serif; color: #000; } 
     .project-description { text-align: justify; font-size: 1.1rem; line-height: 1.8; margin-bottom: 5rem; } 
     .project-images { display: flex; flex-direction: column; gap: 3rem; align-items: center; } 
     .project-images img { width: 100%; max-width: 800px; height: auto; display: block; box-shadow: 0 0 0 1px #000; /* thin black frame, like a printed border */ } 
     .project-quote { text-align: center; margin-top: 6rem; font-style: italic; color: #333; letter-spacing: 0.5px; font-size: 1.2rem; border-top: 1px solid #000; padding-top: 2rem; } 
     /* make it feel book-like on larger screens */ 
     @media (min-width: 1024px) 
     { .project-description { columns: 2; column-gap: 3rem; } }
      /* detailed page */


/* contact page *





/* detailed page */

/* backbutton */
.back-btn-container {
  text-align: center;
  margin: 6rem 0 4rem 0;
}

.back-btn {
  background: #fff;
  color: #000;
  border: 1.5px solid #000;
  padding: 0.8rem 2rem;
  font-family: "bulletin-typewriter-mn", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0; /* keep it sharp */
}

.back-btn:hover {
  background: #000;
  color: #fff;
}

/* backbutton */

/* backbutton2 */
.top-back-btn {
  position: absolute;
  top: 10rem; /* adjust based on navbar height */
  left: 5%;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
  font-family: "bulletin-typewriter-mn", sans-serif;
  transition: color 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.top-back-btn:hover {
  color: #555;
  transform: translateX(-4px); /* subtle nudge on hover */
}

/* backbutton2 */

/* --- Footer --- */
.footer {
  background-color: #000; /* black background */
  color: #fff; /* white text */
  padding: 3rem 5%;
  text-align: center;
  font-family: "bulletin-typewriter-mn", sans-serif;
  margin-top: 10rem;
  box-sizing: border-box;
  width: 100%;
}

.footer-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #999; /* subtle hover effect */
}

/* Lightbox overlay for detailed/project pages */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}
.lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: rgba(255,255,255,0.95);
  color: #000;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.lightbox-close:focus { outline: 2px solid #fff; }

