/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-background-image {
  background: url("/images/the-elizabeth-home-hero-image.jpeg") center/cover
    no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-container {
  max-width: 1240px;
  position: relative;
  height: 100%;
  margin: 2% 6%;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* Navigation Bar*/
.nav-container {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(0.5rem, 2vh, 2rem);
  width: 90%;
  z-index: 10;
}

.elizabeth-home-logo {
  height: var(--logo-size);
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  position: relative;
  display: flex;
  gap: clamp(12px, 1.3vw, 24px);
  padding: clamp(8px, 1.1vw, 10px) clamp(16px, 2vw, 28px);
  border-radius: 9999px;
  background: radial-gradient(
      160% 140% at 6% 8%,
      rgba(255, 255, 255, 0.432),
      rgba(238, 233, 233, 0) 55%
    ),
    radial-gradient(
      140% 160% at 100% 100%,
      rgba(243, 237, 237, 0.22),
      rgba(230, 225, 225, 0) 60%
    ),
    linear-gradient(
      90deg,
      var(--nav-grad-1),
      var(--nav-grad-2) 55%,
      var(--nav-grad-3)
    );
  border: 1px solid rgba(255, 255, 255, 0.452);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -10px 16px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
}

.nav-menu a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 3vw, 18px);
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: clamp(30px, 8vh, 90px);
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

.text-content {
  flex: 1;
  color: white;
  max-width: 600px;
}

.main-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: clamp(15px, 3vh, 20px);
  letter-spacing: -2px;
}

.subtitle {
  color: black;
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px);
  border-radius: 25px;
  font-size: clamp(12px, 2.5vw, 16px);
  font-weight: 500;
  display: inline-block;
  background: radial-gradient(
      160% 140% at 6% 8%,
      rgba(255, 255, 255, 0.432),
      rgba(238, 233, 233, 0) 55%
    ),
    radial-gradient(
      140% 160% at 100% 100%,
      rgba(243, 237, 237, 0.22),
      rgba(230, 225, 225, 0) 60%
    ),
    linear-gradient(
      90deg,
      var(--nav-grad-1),
      var(--nav-grad-2) 55%,
      var(--nav-grad-3)
    );
  border: 1px solid rgba(43, 37, 37, 0.452);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -10px 16px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
}

@media (max-width: 1024px) {
    .hero-background-image {
    background-image: url("/images/the-elizabeth-home-hero-image-mobile.jpeg");
    background-position: center center;
  }
}

@media (max-width: 900px) {
   .elizabeth-home-logo {
    height: 50px;
    max-width: 450px;
    text-align: left;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: black;
    border-radius: 2px;
    transition: 0.3s;
  }

  .nav-container.active .nav-menu {
    display: flex;
  }

  .nav-container.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-container.active .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-container.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

}