/* About page customized layout*/

.about-page {
  margin: 0;
  background-color: #F4F1EA;
  color: #1B1B18;
  font-family: "Lora", serif;
}

.about-page h1,
.about-page h2 {
  margin: 0;
  font-family: "Newsreader", serif;
}

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


/* About page introduction top line text*/

.about-intro {
  padding: 40px 32px 60px;
}

.about-intro h1 {
  font-size: 65px;
  line-height: 1.05;
  font-weight: 700;
}

.about-intro h2 {
  margin-top: 15px;
  font-size: 30px;
  font-weight: 600;
  text-align: right;
}

.about-line {
  height: 3px;
  margin: 25px 0 30px;
  background-color: #1B1B18;
}

.intro-text,
.story-section,
.background-text {
  max-width: 800px;
  margin: 0 auto;
}

.intro-text p,
.story-section p,
.background-text p {
  font-size: 19px;
  line-height: 1.7;
}


/* Photos section css and hover effect details */

.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.photo-box {
  position: relative;
  height: 550px;
  overflow: hidden;
}

.photo-box img {
  height: 100%;
  object-fit: cover;
}

.photo-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  /* Background color for dark effect when hovering */
  background-color: rgba(24, 24, 22, 0.9);
  color: white;
  text-align: center;
  opacity: 0;
  transition: 0.3s;
}

.photo-box:hover .photo-info {
  opacity: 1;
}

.photo-info h2 {
  margin-bottom: 15px;
  font-size: 42px;
  font-weight: 600;
}

.photo-info p {
  margin: 0 auto 15px;
  max-width: 430px;
  line-height: 1.6;
}

.photo-date {
  font-style: italic;
  font-weight: 600;
}

.photo-location {
  font-size: 13px;
}


/* About me section and fashion story progression */

.story-section {
  padding: 60px 32px;
}

.second-photo-row {
  padding-bottom: 70px;
}

.second-photo-row .photo-box:last-child {
  margin-top: 50px;
}


/* Background of site */

.site-background {
  padding: 40px 32px 80px;
}

.site-background > h2 {
  font-size: 58px;
  font-weight: 700;
  text-align: center;
}


/* Contact section details */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-image img {
  height: 100%;
  object-fit: cover;
}

.contact-content {
  padding: 50px;
}

.contact-content > h2 {
  font-size: 55px;
  font-weight: 700;
}

.contact-content > p {
  line-height: 1.6;
}

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

.contact-form label {
  margin-top: 10px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-family: "Lora", serif;
}

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 25px;
  background-color: #1B1B18;
  color: white;
  font-family: "Newsreader", serif;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  flex: 1;
  padding: 12px;
  border: 2px solid #1B1B18;
  border-radius: 25px;
  text-align: center;
}


/* Mobile (no need for tablets considering the design) */

@media (max-width: 600px) {
  .about-intro {
    padding: 35px 20px;
  }

  .about-intro h1 {
    font-size: 38px;
  }

  .about-intro h2 {
    font-size: 21px;
    text-align: left;
  }

  .photo-row,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .photo-box {
    height: auto;
  }

  .photo-box img {
    height: 430px;
  }

  .photo-info {
    position: static;
    opacity: 1;
  }

  .second-photo-row .photo-box:last-child {
    margin-top: 0;
  }

  .story-section,
  .site-background {
    padding: 45px 20px;
  }

  .site-background > h2,
  .contact-content > h2 {
    font-size: 40px;
  }

  .contact-image {
    height: 430px;
  }

  .contact-content {
    padding: 40px 20px;
  }
}