body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.navbar {
  position: relative; /* IMPORTANT */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 90px;
  background: #f4f2ef;
  border-bottom: 1px solid #cbb58a;
  border-top: 4px solid #6d4c41;
}

/* Left & Right Sections */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  color: #b89b65;
  font-weight: 500;
}

/* Center Brand */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  width: 300px;
}

.brand {
  font-size: 20px;
  letter-spacing: 4px;
  color: #b89b65;
  font-weight: 500;
}

/* Vertical Separators */
.nav-left a:not(:last-child),
.nav-right a:not(:last-child) {
  border-right: 3px solid #d8c8a6;
  padding-right: 40px;
}

/* Icons */
i {
  color: #b89b65;
  font-size: 22px;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bg-video.active {
  opacity: 1;
  z-index: 1;
}
.featured-projects h2 {
  font-size: 2.5em;
  text-align: center;
  color: #b89b65;
  width: 800px;
  margin: 3em auto 0 auto;
}
.featured-content {
  display: flex;
  justify-content: space-between;
  padding: 2em 6em;
  gap: 2em;
}
.featured-content a {
  border-radius: 0;
  color: #baa170;
  border: 2px solid #baa170;
  background-color: transparent;
  padding: 1em 2em;
  text-decoration: none;
}
.featured-content h3 {
  flex: 0 0 33%;
  color: #b89b65;
  font-size: 2em;
}
.featured-content p {
  flex: 0 0 33%;
  line-height: 1.8;
}
.button-container {
  flex: 0 0 33%;
}
.button-container a {
  width: 200px;
  display: block;
  position: relative;
  top: 2em;
  margin: 0 auto;
  text-align: center;
}
/* Section scroll length */
.parallax-section {
  height: 200vh;
  position: relative;
}

/* Sticky container */
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
}

/* Card layout */
.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Card size */
.card {
  width: 400px;
  height: 600px;
  overflow: hidden;
  position: relative;
}

/* Parallax image layer */
.parallax-img {
  position: absolute;
  top: -200px;
  left: 0;
  width: 100%;
  height: 1000px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  will-change: transform;
  backface-visibility: hidden;
}

/* Assign 6 different images */
.img1 {
  background-image: url("image1.jpg");
}
.img2 {
  background-image: url("image2.jpeg");
}
.img3 {
  background-image: url("image1.jpg");
}
.img4 {
  background-image: url("image2.jpeg");
}
.img5 {
  background-image: url("image1.jpg");
}
.img6 {
  background-image: url("image2.jpeg");
}

/* Text styling */
.card-container h5 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #8c7b5a;
  width: 100%;
}

.card-container h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #b89b65;
  width: 100%;
}

/* Smooth transform */
.card-container h5,
.card-container h3 {
  text-align: left;
}
.card-container {
  border-bottom: 2px solid #b89b65;
  padding-bottom: 2em;
}
/* ===================== */
/* ABOUT SECTION */
/* ===================== */

.about-section {
  height: 200vh; /* gives scroll space */
  position: relative;
}

.about-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;

  background: #eaeaea;
  padding: 0 8%;
}

.about-image {
  width: 500px;
  height: 650px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.about-parallax {
  position: absolute;
  top: 0; /* don't push it up */
  left: 0;
  width: 100%;
  height: 120%; /* just slightly bigger for movement */

  background-image: url("about-img.jpg");
  background-size: cover;
  background-position: center 20%; /* adjust vertically */

  will-change: transform;
}

.about-content {
  width: 500px;
}

.about-content h2 {
  font-size: 48px;
  font-weight: 500;
  color: #b89b65;
  margin-bottom: 30px;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.about-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  border: 1px solid #b89b65;
  color: #b89b65;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
}
