/* --------------------------------------------------
   Core Sections
-------------------------------------------------- */

/* Hero / Intro */
.section-zero {
  background-color: #D2B48C;
  padding: 50px 20px;
}

.section-zero h1 {
  font-size: 3.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0;
  text-align: center;
}

/* --------------------------------------------------
   About Sections
-------------------------------------------------- */

.section-about {
  padding: 30px 0;
  border-bottom: 1px solid #dcdcdc;
  position: relative;
  overflow: hidden;
}

/* Alternating backgrounds */
.section-about.even {
  background-color: #f0f9f3;
}

.section-about.odd {
  background-color: #ffffff;
}

/* Image side - left */
.section-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
}

/* Text side - right */
.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-align: left;
}

.section-content h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #A52A2A;
  margin-bottom: 0.75rem;
  text-align: left;
}

.section-role {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  margin-top: -0.35rem;
  margin-bottom: 0.75rem;
  text-align: left;
  font-family: inherit;
}

/* Project image */
.gallery-image {
  width: 100%;
  max-width: 460px;
  max-height: 250px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------
   Learn More Button
-------------------------------------------------- */

.learn-more-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 20px;
  background-color: #A52A2A;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.learn-more-btn:hover {
  background-color: #842020;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(165, 42, 42, 0.25);
}

.learn-more-btn:focus {
  outline: 3px solid rgba(165, 42, 42, 0.35);
  outline-offset: 3px;
}

/* Hidden expandable text */
.project-description-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

/* Visible expandable text */
.project-description-wrapper.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
}

.project-description-wrapper p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #444;
  text-align: left;
  margin-bottom: 0;
}

/* --------------------------------------------------
   Contact Section
-------------------------------------------------- */

.section-four {
  background-color: #D2B48C;
  padding: 50px 20px;
}

.section-four-left h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0;
  text-align: center;
}

.section-four-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-four-right p {
  font-size: 1.3rem;
  color: #333;
  text-align: center;
  margin: 0;
}

.section-four-right a {
  color: #007bff;
  text-decoration: none;
}

.section-four-right a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icons img {
  width: 48px;
  height: 48px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
}

/* --------------------------------------------------
   Responsive Styles
-------------------------------------------------- */

@media (max-width: 992px) {
  .section-about {
    padding: 26px 0;
  }

  .section-content {
    padding: 20px 30px;
  }

  .section-content h1 {
    font-size: 1.8rem;
  }

  .gallery-image {
    max-width: 360px;
    max-height: 220px;
  }

  .project-description-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .section-zero {
    padding: 40px 20px;
  }

  .section-zero h1 {
    font-size: 2.5rem;
  }

  .section-about {
    padding: 24px 0;
  }

  .section-content {
    padding: 18px 24px;
  }

  .section-content h1 {
    font-size: 1.65rem;
  }

  .gallery-image {
    max-width: 320px;
    max-height: 210px;
  }

  .project-description-wrapper p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .section-four {
    padding: 35px 15px;
  }

  .section-four-left h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .section-four-right p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .social-icons img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .section-about {
    padding: 22px 0;
  }

  .section-about .row {
    flex-direction: column;
  }

  .section-image {
    padding: 12px 20px;
  }

  .section-content {
    padding: 16px 20px;
  }

  .section-content h1 {
    font-size: 2rem;
  }

  .section-role {
    font-size: 1.5rem;
  }

  .gallery-image {
    max-width: 100%;
    max-height: 220px;
    height: auto;
    margin-bottom: 10px;
  }

  .learn-more-btn {
    font-size: 0.9rem;
    padding: 7px 18px;
  }

  .project-description-wrapper p {
    font-size: 1rem;
  }
}