/* ==========================================================================
   index.css — Landing page styles
   ========================================================================== */

/* ---------- Page structure ---------- */
.page-wrapper {
  overflow: hidden;
}

/* ---------- Navigation ---------- */
.navigation {
  z-index: 10;
  height: 101px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
}

.ai-container-large {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.z-index-1 {
  z-index: 1;
  position: relative;
}

.nav_content {
  grid-column-gap: 47px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.logo-link {
  min-width: 218px;
}

.nav-line {
  background-color: var(--white);
  width: 100%;
  height: 0.5px;
}

.menu_button-wrapper {
  display: none;
}

.menu_content-mobile {
  display: none;
}

/* ---------- Hero section ---------- */
.section_hero {
  background-image: url("../assets/images/hero-bg.webp");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  padding-top: 40px;
  display: flex;
  position: static;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.hero_content {
  grid-row-gap: 1.5rem;
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1040px;
  height: 100%;
  display: flex;
}

.hero-logo {
  margin-left: auto;
  margin-right: auto;
}

.home_hero_heading {
  width: 100%;
  font-family: Montserrat, sans-serif;
  font-size: 96px;
  font-weight: 900;
  color: var(--white);
}

.text-span {
  font-weight: 400;
}

.hero_text {
  color: var(--white);
  max-width: 800px;
  font-family: Inter, sans-serif;
  font-size: 24px;
}

/* ---------- Buttons ---------- */
.button {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid #000;
  border-radius: 5rem;
  justify-content: center;
  align-items: center;
  padding: 20px 55px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: filter 0.2s;
  display: flex;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.button.is-secondary {
  border: 1px solid var(--white);
  background-color: rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s, filter 0.2s;
}

.button.is-secondary:hover {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.button.is-secondary.is-small {
  text-align: center;
  min-width: 210px;
  padding: 12px 2rem;
  transition: box-shadow 0.2s, filter 0.2s;
}

.button.is-secondary.is-small:hover {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 35px rgba(0, 0, 0, 0.2);
}

.button-group {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.button-group.is-hero {
  justify-content: center;
}

/* ---------- Hamburger icon (CSS-only, replaces Lottie) ---------- */
.hamburger-icon {
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  left: 0;
  transition: 0.25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.hamburger-icon.is-open span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.hamburger-icon.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.is-open span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ---------- Responsive: Tablet (max-width: 991px) ---------- */
@media screen and (max-width: 991px) {
  .button.is-secondary.is-small {
    min-width: 171px;
    font-size: 14px;
  }

  .home_hero_heading {
    font-size: 70px;
  }

  .hero_text {
    font-size: 17px;
  }

  .logo-link {
    min-width: 180px;
  }
}

/* ---------- Responsive: Mobile Landscape (max-width: 767px) ---------- */
@media screen and (max-width: 767px) {
  .button-group.is-hero {
    flex-flow: column;
    width: 100%;
  }

  .button {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .button.is-secondary.is-small {
    display: none;
  }

  .home_hero_heading {
    font-size: 48px;
  }

  .hero-logo {
    width: 66px;
  }

  .nav_content {
    position: relative;
  }

  .logo-link {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-line {
    display: none;
  }

  .menu_button-wrapper {
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    overflow: hidden;
  }

  .menu_content-mobile {
    background-color: #000;
    width: 100%;
    height: auto;
    padding: 100px 1.5rem 2rem;
    display: none;
    position: absolute;
    top: -3rem;
    bottom: auto;
    left: 0%;
    right: 0%;
    z-index: -1;
  }

  .menu_content-mobile.is-open {
    display: block;
  }

  .button.is-secondary.is-mobile {
    display: flex;
    width: 100%;
    border: 1px solid var(--white);
    background-color: rgba(0, 0, 0, 0);
    color: var(--white);
    border-radius: 5rem;
    justify-content: center;
    align-items: center;
    padding: 15px 2rem;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }
}

/* ---------- Responsive: Mobile Portrait (max-width: 479px) ---------- */
@media screen and (max-width: 479px) {
  .home_hero_heading {
    font-size: 11cqw;
  }

  .menu_button-wrapper {
    justify-content: center;
    align-items: center;
    top: 3px;
    left: -12px;
  }
}
