/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 0 14%;
  text-align: left;
  position: relative;
  z-index: 1;
  margin-top: 150px;
}
.hero-content {
  max-width: 50%;
}
.hero-image {
  max-width: 65%;
  height: auto;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}
.hero-content p {
  margin-bottom: 32px;
}
.hero-content h1 {
  margin-bottom: 24px;
}
.hero-content .highlight {
  color: var(--primary-colour);
  font-weight: 600;
}
.hero-content .bold {
  font-weight: 600;
}

/* Why Section */
.why {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 60px 14%;
  height: auto;
  gap: 60px;
}
.why-content {
  max-width: 50%;
  z-index: 1;
}
.why-content p {
  margin-bottom: 24px;
}
.why-content h2 {
  margin-bottom: 24px;
}
.why-img {
  max-width: 50%;
  z-index: 1;
}
.why-img img {
  width: 100%;
  height: auto;
}

/* What Section */
.what {
  display: flex;
  position: relative;
  justify-content: center;
  height: auto;
  padding: 60px 14%;
}
.what-content {
  max-width: 50%;
  z-index: 1;
}
.what-content p {
  margin-bottom: 24px;
}
.what-content h2,
h3 {
  margin-bottom: 24px;
}
.what-img {
  max-width: 50%;
  z-index: 1;
}
.what-img img {
  width: 100%;
  height: auto;
}
.what .bold {
  font-weight: 600;
}

/* Book-now Section */
.book-now {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: auto;
  background-color: #f3eef3;
  padding: 30px 0 0 0;
  gap: 60px;
}
.book-now-content {
  max-width: 50%;
}
.book-now-content h2 {
  margin-bottom: 24px;
}
.book-now-img {
  max-width: 50%;
}
.book-now-img img {
  width: 100%;
  height: auto;
}
.word-highlight {
  position: relative;
  display: inline-block;
}
.word-highlight::after {
  content: url("../assets/doodle-over-word.svg");
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-40%);
  width: 180px;
  height: auto;
  pointer-events: none;
}

/* Media Queries */

/* For tablets (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    padding: 0 10%;
  }
  .hero-content,
  .hero-image {
    max-width: 100%;
  }
  .hero-content h1,
  .hero-content p {
    margin-bottom: 16px;
  }
  .hero-image img {
    margin-top: 40px;
  }
  .why,
  .what,
  .book-now {
    flex-direction: column;
    padding: 40px 10%;
    gap: 40px;
  }
  .why-content,
  .what-content,
  .book-now-content,
  .why-img,
  .what-img,
  .book-now-img {
    max-width: 100%;
  }
  .book-now-img img {
    display: none;
  }
  .what-img {
    display: none;
  }
  .why-img img {
    display: none;
  }
  .word-highlight::after {
    display: none;
  }
}

/* For mobile phones (max-width: 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 0 5%;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .why,
  .what,
  .book-now {
    padding: 30px 5%;
  }
  .why-content h2,
  .what-content h2,
  .book-now-content h2 {
    font-size: 1.5rem;
  }
  .why-content p,
  .what-content p,
  .book-now-content p {
    font-size: 1rem;
  }
  .word-highlight::after {
    width: 120px;
    top: -12px;
  }
}

/* For small mobile phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }

  .why-content h2,
  .what-content h2,
  .book-now-content h2 {
    font-size: 1.2rem;
  }
  .why-content p,
  .what-content p,
  .book-now-content p {
    font-size: 0.9rem;
  }

  .word-highlight::after {
    width: 100px;
    top: -10px;
  }
}
