/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-synthesis: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* FONTS */
@font-face {
  font-family: 'acidBold';
  src: url('fonts/AcidGrotesk-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'acidMedium';
  src: url('fonts/AcidGrotesk-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'acidRegular';
  src: url('fonts/AcidGrotesk-Normal.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'albertusNova';
  src: url('fonts/AlbertusNova-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'portrait';
  src: url('fonts/Portrait-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/* TYPOGRAPHY */
h2 {
  font-family: portrait;
  letter-spacing: -0.008em;
  font-size: 1.5rem;
  line-height: 1;
}

h3 {
  font-family: portrait;
  letter-spacing: -0.008em;
  font-size: 1.3rem;
  line-height: 1;
}

h4 {
  font-family: acidMedium;
  letter-spacing: -0.008em;
  font-size: .9rem;
}

p {
  font-family: acidBold;
  font-size: .7rem;
}

.caption {
  font-family: 'albertusNova';
  font-size: .6rem;
  padding-bottom: .2rem;
}


/* NAV BAR */
.mainMenu {
  padding: 0.8rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.mainMenu,
.mainMenu h4,
.mainMenu a {
  color: white;
  transition: color 0.3s;
}

.mainMenu.scrolled,
.mainMenu.scrolled h4,
.mainMenu.scrolled a {
  color: black;
}

.mainMenu.scrolled {
  color: black;
}

.subNavLinks {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  align-items: center;
}

.subNavLinks a {
  text-decoration: none;
  color: inherit;
}

.subNavLinks a:hover {
  color: gray;
}


/* MOBILE MENU */
.menuToggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s;
  z-index: 10000;
}

.mobile-menu.active { 
  display: flex; 
  flex-direction: column;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100vh;
  background-color: #1d1d1d;
  padding: 1rem;
  z-index: 10000;
}

.mobile-menu-links {
  display: flex;
  color: #e0e0e0;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu h2 {
  font-size: 2.2rem;
  line-height: 1.1;
}

.menuClose {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  cursor: pointer;
  font-family: acidMedium;
  font-size: 0.9rem;
  letter-spacing: -0.008em;
  color: #e0e0e0;
}

.menuClose,
.menuToggle {
  font-family: acidMedium;
  font-size: .9rem;
  letter-spacing: -0.008em;
}


/* HERO */
.ripple-image {
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('images/heroImage.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* HERO CARD */
.hero-card {
  position: absolute;
  top: 92%;
  right: 2rem;
  transform: translateY(-50%) rotate(-1.5deg);
  background-color: #5f2638;
  padding: .8rem;
  width: 280px;
  z-index: 50;
  color: rgb(239, 235, 235);
}

/* DESCRIPTION */
.description {
  padding-top: 10rem;
  padding-left: 15rem;
  padding-right: 15rem;
  padding-bottom: 7rem;
  text-align: center;
}


/* PROJECTS */
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 10rem;
  padding-right: 10rem;
}

.projectCard {
  width: 65vw;
  padding: 1.5rem;
}

.projectImage {
  width: 100%;
  height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image1 { background-image: url('images/projectA.png'); }
.image2 { background-image: url('images/project2.jpg'); }
.image3 { background-image: url('images/project3.jpg'); }

.projectLabel {
  font-family: acidMedium;
  letter-spacing: -0.008em;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.projectCaption {
  font-family: albertusNova;
  font-size: .6rem;
  margin-top: 1rem;
  text-align: center;
}

.thin-line {
  height: 1.3px;
  background-color: rgba(0, 0, 0, 0.836);
  margin: .8rem;
}

/* Project Overlay */
.project-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  background-color: #fbf9f4;
  overflow-x: hidden;
  overflow-y: auto;
  transition: 0.6s ease;
}

.project-overlay-content {
  width: 50vw;
  padding: .8rem;
  box-sizing: border-box;
}

.project-closebtn,
.lb-close {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  font-family: acidMedium;
  font-size: 1.6rem;
  color: black;
  opacity: .5;
  transition: opacity 0.2s;
  text-decoration: none;
  z-index: 999;
  cursor: pointer;
  display: none;
}

.project-closebtn:hover { opacity: 1; }

.project-label {
  font-family: acidMedium;
  font-size: 1rem;
  padding-bottom: 1rem;
  letter-spacing: -0.008em;
}

.project-hero-image {
  width: 100%;
  height: 55vh;
  background-color: #e0e0e0;
  margin-bottom: 1rem;
}

.project-images-row {
  display: flex;
  gap: 0.8rem;
}

.project-image-small {
  flex: 1;
  height: 40vh;
  background-color: #e0e0e0;
}

.project-thumb {
  width: 30vw;
  height: 400px;
  background-color: #e0e0e0;
  cursor: pointer;
}

.thin-lineB {
  height: 1.3px;
  background-color: rgba(0, 0, 0, 0.836);
  margin-top: .8rem;
  margin-bottom: .8rem;
}


/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(251, 249, 244, 0.93);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

#lightbox.active { display: flex; }

#lightbox img {
  max-width: 70vw;
  max-height: 85vh;
  object-fit: contain;
}

.lb-prev,
.lb-next {
  position: fixed;
  font-size: 1.6rem;
  font-family: acidMedium;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  user-select: none;
}

.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

.lb-prev:hover,
.lb-next:hover { opacity: 1; }


/* FOOTER */
footer {
  padding: .8rem;
  padding-bottom: 0;
}

.logoBig {
  font-family: acidMedium;
  display: block;
  width: 100%;
  white-space: nowrap;
  font-size: 100px;
  letter-spacing: -0.008em;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  padding-top: 0rem;
  margin-bottom: 0;
}

.footer-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: inherit;
}

.footer-nav a:hover { color: gray; }


/* ABOUT PAGE */
.mainMenu h4,
  .mainMenu a {
    color: white;
  }

.about-fullscreen {
  width: 100vw;
  height: 100vh;
  background-image: url('images/aboutImageB.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  background-color: #eb7868;
  padding: .8rem;
  max-width: 420px;
  width: 90%;
  transform: rotate(-2deg);
  position: relative;
  cursor: grab;
  user-select: none;
  position: absolute;
  right: 5rem;
  bottom: 4rem;
  z-index: 10;
  display: block;
}


/* 404 PAGE */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 1.5rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.not-found p:first-child {
  font-family: 'acidBold', sans-serif;
  color: #FBF9F4;
  font-size: 12rem;
  line-height: 1;
}

.not-found h2 {
  font-family: 'acidBold', sans-serif;
  color: #FBF9F4;
  font-size: 1.5rem;
  font-weight: normal;
}

.not-found a {
  font-family: 'albertusNova';
  font-size: .6rem;
  color: #FBF9F4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.ripple-image404 {
  width: 100vw;
  height: 100vh;
  background-image: url('images/lostImage.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* CONTACT PAGE */
.contact-fullscreen {
  width: 100vw;
  height: 100vh;
  background-image: url('images/contact.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
  overflow: hidden;
}

.contact-card-container {
  background-color: #FBF9F4;
  padding: 1.5rem;
  width: 40vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #323232; 
  opacity: 1;
}

.contact-form label {
  font-family: albertusNova;
  font-size: .6rem;
  display: block;
  padding: 0.8rem 0 0.3rem 0;
}

.contact-form input {
  width: 100%;
 height: auto;
  border: none;
  border-bottom: 1.3px solid rgba(0,0,0,0.836);
  background: none;
  font-family: portrait;
  font-size: 1.3rem;
  letter-spacing: -0.008em;
  padding: 0.3rem 0;
  outline: none;
  resize: none;
  display: block;
  margin-bottom: .5rem;
}


.contact-form textarea {
  width: 100%;
  min-height: 20vh;
  border: none;
  border-bottom: 1.3px solid rgba(0,0,0,0.836);
  background: none;
  font-family: portrait;
  font-size: 1.3rem;
  letter-spacing: -0.008em;
  padding: 0.3rem 0;
  outline: none;
  resize: none;
  display: block;
  margin-bottom: .5rem;
}

.contact-form button {
  margin-top: .5rem;
  align-self: flex-start;
  background: none;
  border: 1.3px solid rgba(0,0,0,0.836); 
  font-family: 'acidBold', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form button:hover {
  background-color: rgba(0,0,0,0.836);
  color: white; 
}


/* MOBILE — max-width: 768px */
@media (max-width: 768px) {

  /* Nav */
  .navLinks { display: none; }
  .menuToggle { display: block; }

  /* Typography */
  h2 { font-size: 1.7rem; }

  /* Hero */
  .ripple-image {
    margin-left: 0;
    margin-right: 0;
    width: 100vw;
  }

  /* Description */
  .description {
    padding: 4rem 1.5rem;
  }

  /* Projects */
  .projects {
    padding-left: 0;
    padding-right: 0;
  }

  .projectCard {
    width: 100%;
    padding: 0.8rem;
    overflow: hidden;
  }

  .projectImage {
    width: 100%;
    height: 50vh;
    margin: 0;
  }

  /* Overlay */
  .project-overlay {
    width: 0;
  }

  .project-overlay-content {
    width: 100vw;
  }

  .project-images-row {
    flex-direction: column;
  }

  .project-image-small {
    flex: none;
    width: 100%;
    height: 100vw;
  }

  /* Lightbox */
  .lb-prev,
  .lb-next {
    display: none;
  }

  #lightbox img {
    width: 100%;
    height: 100vh;
  }


  /* Footer */
  footer {
    padding: 0.8rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    justify-content: space-between;
  }

/* About Page */
 .about-card {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    width: auto;
    max-width: none;
  }

  /* Contact Page */
  .contact-section {
    padding: 0 0.8rem 2rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    height: 100vh; 
    box-sizing: border-box;
  }

  .contact-form {
    width: 100%;
    max-width: none;
    margin-top: 0; 
  }

  .contact-form textarea {
    height: 10rem; 
  }

  /* Contact Page */
  .contact-card-container {
    width: 90vw; 
    padding: 1rem; 
    transform: translate(-50%, -50%) rotate(-1deg); 
  }

  .contact-form input, 
  .contact-form textarea {
    font-size: 1.1rem; 
  }

  .contact-form button {
    width: 30vw;
    padding: 0.8rem 0;
    align-self: flex-start;
    color: #000000 !important;
    -webkit-appearance: none;
  }

}