/* =========================
   GENERAL
   ========================= */

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 50px 150px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: linear-gradient(
    109.6deg,
    rgba(0, 0, 0, 0.93) 11.2%,
    rgb(63, 61, 61) 78.9%
  );
}

body.background-home {
  overflow: hidden;
  position: relative;
  height: 100vh;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

/* =========================
   HOME BACKGROUND
   ========================= */

.background-home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/butterfly.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* =========================
   LOGO
   ========================= */

.logo {
  text-transform: uppercase;
  font-size: 20px;
  color: #f0f5f9;
  text-decoration: none;
}

.logo-color {
  color: #ebcbae;
}

/* =========================
   NAVIGATION
   ========================= */

nav a {
  position: relative;
  text-transform: uppercase;
  color: #f0f5f9;
  text-decoration: none;
  font-size: 14px;
  padding-bottom: 7px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ebcbae;
  transition: width 0.4s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
   HEADER
   ========================= */

header {
  position: relative;
  z-index: 10;
}

nav {
  display: flex;
  gap: 75px;
}

/* =========================
   HOME HERO
   ========================= */

.hero {
  min-height: calc(100vh - 150px);
  position: relative;
  z-index: 2;
}

.hero-text {
  position: absolute;
  top: 35%;
  right: 5%;
  color: #f0f5f9;
}

.hero-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #ebcbae;
}

.hero h1 {
  font-size: 55px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  font-weight: 400;
}

/* =========================
   HERO INFO
   ========================= */

.hero-info {
  position: absolute;
  bottom: 30px;
  left: 0;
  max-width: 280px;
}

.hero-info-title {
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
  color: #f0f5f9;
}

.hero-info-description {
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
  color: #f0f5f9;
}

.hero-info-location {
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 12px;
  color: #f0f5f9;
}

/* =========================
   HERO BUTTON
   ========================= */

.hero-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin-top: 150px;
  margin-left: auto;
  margin-right: -40px;
  background-color: #ebcbae;
  border-radius: 50%;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.hero-button:hover {
  transform: translateY(5px);
}

/* =========================
   ARROW
   ========================= */

.arrow {
  position: relative;
  width: 2px;
  height: 20px;
  background-color: #111;
  transition: transform 0.5s ease;
}

.arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateX(-50%) rotate(45deg);
}

.hero-button.up .arrow {
  transform: rotate(180deg);
}

/* =========================
   HOME INTRO
   ========================= */

.home-intro {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 500px;
  padding: 80px 120px;
  box-sizing: border-box;
  background-color: #111;
  z-index: 1;
}

.home-intro-content {
  max-width: 500px;
}

.home-intro-number {
  margin: 0;
  color: #ebcbae;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-intro h2 {
  margin: 30px 0 20px;
  color: #f0f5f9;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-intro-text {
  max-width: 390px;
  margin: 0;
  color: #f0f5f9;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================
   HOME OPEN
   ========================= */

body.background-home.home-open {
  transform: translateY(-400px);
}

/* =========================
   PHOTO PAGE
   ========================= */

.background-photo {
  background: linear-gradient(
    109.6deg,
    rgba(0, 0, 0, 0.93) 11.2%,
    rgb(63, 61, 61) 78.9%
  );
}

.photo-page {
  min-height: calc(100vh - 100px);
}

.photo-intro {
  padding-top: 20px;
  padding-bottom: 40px;
}

.photo-number {
  margin: 0 0 25px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #ebcbae;
  text-transform: uppercase;
  text-align: center;
}

.photo-intro h1 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #f0f5f9;
}

.photo-intro-text {
  max-width: 390px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f0f5f9;
}

/* =========================
   PHOTO STORY
   ========================= */

.photo-story {
  width: 1000px;
  margin: 30px auto 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-story img {
  display: block;
  width: 242px;
  height: 300px;
  object-fit: cover;
  border-radius: 7px;
  transition: transform 0.4s ease;
}

.photo-story img:hover {
  transform: scale(1.1);
}

/* =========================
   ABOUT ME PAGE
   ========================= */

.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-rows: 1fr 1fr;
  column-gap: 60px;
  position: relative;
  width: 100%;
  min-height: calc(100vh - 100px);
  margin: 70px 0 0;
  box-sizing: border-box;
}

.about-text {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 100%;
  max-width: 550px;
  margin-top: 40px;
  margin-left: auto;
}

.about-text p {
  margin: 0 0 35px;
  font-size: 14px;
  line-height: 1.7;
  color: #f0f5f9;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-main-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  width: 400px;
}

.about-main-image img {
  display: block;
  width: 400px;
  height: 450px;
  object-fit: cover;
  border-radius: 7px;
}

.about-small-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: start;
  width: 220px;
  margin-top: 290px;
  margin-left: -240px;
  z-index: 2;
}

.about-small-image img {
  display: block;
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 7px;
}

.about-name {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-top: 0;
  margin-bottom: 50px;
}

.about-location {
  margin: 0 0 15px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 1px;
  color: #ebcbae;
}

.about-name h1 {
  margin: 0;
  font-size: 70px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -3px;
  color: #f0f5f9;
}

.about-year {
  margin-top: 15px;
  font-size: 10px;
  color: #f0f5f9;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
  width: 100%;
  min-height: calc(100vh - 100px);
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contact-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.contact-label {
  margin: 0 0 25px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #ebcbae;
}

.contact-content h1 {
  margin: 0;
  font-size: 90px;
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -4px;
  color: #f0f5f9;
}

.contact-text {
  max-width: 450px;
  margin: 45px auto 30px;
  font-size: 12px;
  line-height: 1.7;
  color: #f0f5f9;
}

.contact-email {
  display: inline-block;
  font-size: 14px;
  color: #ebcbae;
  text-decoration: none;
  border-bottom: 1px solid #ebcbae;
  padding-bottom: 5px;
  transition: opacity 0.3s ease;
}

.contact-email:hover {
  opacity: 0.6;
}

/* =========================
   INSTAGRAM
   ========================= */

.home-intro-instagram {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f0f5f9;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  justify-content: center;
  padding-top: 20px;
}

.home-intro-instagram img {
  width: 18px;
  height: 18px;
  display: block;
}

.home-intro-instagram:hover {
  opacity: 0.6;
}

/* =========================
   MOBILE MENU
   ========================= */

.menu-toggle {
  display: none;
}

/* =========================
   LAPTOP / SMALL DESKTOP
   901px - 1400px
   ========================= */

@media (min-width: 901px) and (max-width: 1400px) {
  body.background-home.home-open {
    transform: translateY(-400px);
  }

  .hero-text {
    top: 20%;
  }

  .photo-intro {
    padding-top: 15px;
    padding-bottom: 35px;
  }

  .photo-story {
    width: 700px;
    margin: 25px auto 70px;
    justify-content: center;
    gap: 10px;
  }

  .photo-story img {
    width: 225px;
    height: 280px;
    border-radius: 9px;
  }
}

/* =========================
   ABOUT - TABLET / SMALL DESKTOP
   <= 1300px
   ========================= */

@media (max-width: 1300px) {
  body.background-home.home-open {
    transform: translateY(-450px);
  }
  .about-page {
    position: static;
    width: 100%;
    min-height: calc(100vh - 100px);
    margin: 70px 0 60px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .about-main-image {
    position: static;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    align-self: center;
    order: 1;
  }

  .about-main-image img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 7px;
  }

  .about-text {
    position: static;
    width: 600px;
    max-width: 80%;
    margin: 0 auto;
    align-self: center;
    order: 2;
  }

  .about-text p {
    margin: 0 0 35px;
    font-size: 14px;
    line-height: 1.7;
    color: #f0f5f9;
  }

  .about-text p:last-child {
    margin-bottom: 0;
  }

  .about-small-image {
    position: static;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    align-self: center;
    order: 3;
    z-index: 2;
  }

  .about-small-image img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 7px;
  }

  .about-name {
    position: static;
    width: 600px;
    max-width: 80%;
    margin: 0 auto;
    align-self: center;
    text-align: center;
    order: 4;
  }

  .about-location {
    margin: 0 0 15px;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #ebcbae;
    text-align: center;
  }

  .about-name h1 {
    margin: 0;
    font-size: 60px;
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -3px;
    color: #f0f5f9;
    text-align: center;
  }

  .about-year {
    margin-top: 40px;
    font-size: 10px;
    color: #f0f5f9;
    text-align: center;
  }
}

/* =========================
   MOBILE / TABLET
   <= 900px
   ========================= */

@media (max-width: 900px) {
  body.background-home.home-open {
    transform: translateY(-350px);
  }
  body {
    margin: 25px;
  }

  .header-container {
    position: relative;
  }

  /* =========================
     MOBILE MENU
     ========================= */

  .menu-toggle {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background-color: #f0f5f9;
    transition: transform 0.4s ease;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 350px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    background-color: #111;
    transition: right 0.5s ease;
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .menu-toggle.open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  /* =========================
     HOME
     ========================= */

  .hero-text {
    top: 20%;
    right: 0;
    left: 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero-info {
    bottom: 25px;
    left: 0;
    max-width: 220px;
  }

  .hero-button {
    width: 50px;
    height: 50px;
    margin-top: 30px;
    margin-right: 0;
  }

  .arrow {
    height: 17px;
  }

  .arrow::after {
    width: 7px;
    height: 7px;
  }

  body.background-home.home-open {
    transform: translateY(-350px);
  }

  .home-intro {
    padding: 60px 25px;
  }

  .home-intro h2 {
    font-size: 32px;
  }

  .home-intro-text {
    max-width: 300px;
  }

  /* =========================
     PHOTO
     ========================= */

  .photo-intro {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .photo-intro-text {
    max-width: 300px;
    margin: 12px auto 0;
    font-size: 9px;
    text-align: center;
  }

  .photo-number {
    margin: 0 0 20px;
    font-size: 10px;
  }

  .photo-story {
    width: 100%;
    margin: 20px auto 60px;
    justify-content: center;
    gap: 10px;
  }

  .photo-story img {
    width: 145px;
    height: 190px;
    border-radius: 8px;
  }

  /* =========================
     CONTACT
     ========================= */

  .contact-page {
    margin: 10px 0;
  }

  .contact-content {
    width: 300px;
    max-width: 300px;
    margin-top: -50px;
  }

  .contact-content h1 {
    font-size: 55px;
    letter-spacing: -3px;
  }

  .contact-text {
    margin-top: 35px;
    font-size: 12px;
  }

  .contact-email {
    font-size: 12px;
  }
}

/* =========================
   TABLET
   601px - 900px
   ========================= */

@media (min-width: 601px) and (max-width: 900px) {
  body.background-home.home-open {
    transform: translateY(-400px);
  }
  .hero-text {
    top: 20%;
    right: 0;
    left: 100px;
  }

  .hero-button {
    margin-top: 25px;
    margin-right: 100px;
    width: 60px;
    height: 60px;
  }

  body.background-home.home-open {
    transform: translateY(-400px);
  }

  .nav-menu {
    width: 75%;
    max-width: none;
  }

  nav a {
    font-size: 18px;
  }

  .menu-toggle {
    width: 45px;
    height: 45px;
  }

  .menu-toggle span {
    width: 28px;
  }
}

/* =========================
   MOBILE
   <= 600px
   ========================= */

@media (max-width: 600px) {
  body.background-home.home-open {
    transform: translateY(-350px);
  }

  .about-page {
    width: 100%;
    margin: 70px 0 50px;
    gap: 40px;
    min-height: calc(100vh - 100px);
  }

  .about-main-image,
  .about-small-image {
    width: 220px;
    height: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-main-image img,
  .about-small-image img {
    width: 220px;
    height: 220px;
  }

  .about-text,
  .about-name {
    width: 300px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-text p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .about-name {
    text-align: center;
  }

  .about-location {
    text-align: center;
  }

  .about-name h1 {
    font-size: 50px;
    text-align: center;
  }

  .about-year {
    text-align: center;
  }
}
