@import url("global.css");
@import url("mobileNav.css");
@import url("cta.css");
@import url("footer.css");

/******************************************
/* LAYOUT - HOMEPAGE STYLES
/*******************************************/
/* HOMEPAGE HEADER AND NAVBAR */
.navbar {
  position: relative;
  padding: 0 3rem 2.8rem;
  text-align: center;
}

.headerbg--img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.logo--container {
  padding: 2.5rem 4rem;
  background-color: rgba(243, 237, 245, 0.75);
}

/* HERO SECTION */
.hero {
  padding: 5rem 2rem;
  position: relative;
}

.herobg--img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero--content {
  max-width: 30rem;
  margin: auto;
}

.hero--title {
  max-width: 45rem;
  margin: auto;
  padding-bottom: 2rem;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
}

/* VIDEO SECTION */
.video-description {
  text-align: center;
}

.video-placeholder-small {
  display: none;
}

/* CTA BORDER STYLE REMOVED */
.cta > div {
  border: none;
}

/******************************************
/* MEDIA QUERIES FOR RESPONSIVENESS
/*******************************************/
@media screen and (min-width: 640px) {
  .logo--container {
    margin: auto;
    width: 54rem;
  }

  .hero {
    padding: 5rem;
  }
}

@media screen and (min-width: 768px) {
  .navbar {
    padding-bottom: 1.5rem;
  }

  .header--logo {
    max-width: 45rem;
  }

  .header--links {
    position: static;
    width: 54rem;
    margin: auto;
    height: auto;
    padding: 1.2rem;
    flex-direction: row;
    transition: none;
  }

  .header--link {
    font-weight: 400;
  }

  .header--link > a:hover {
    color: var(--dark-purple);
  }

  .btn--menu {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .logo--container {
    padding: 8rem 0;
    width: 70rem;
  }

  .header--links {
    justify-content: space-around;
    width: 70rem;
    gap: 0;
  }

  .hero {
    padding: 8rem;
  }

  .hero--content {
    max-width: 50rem;
  }

  .hero--title {
    max-width: 65rem;
    padding-top: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
  }

  .video-description {
    width: 100%;
    display: flex;
    gap: 0.3rem;
  }

  .video-description > img {
    display: block;
    min-height: 35rem;
  }

  .video-placeholder {
    width: 50%;
  }

  .video-placeholder-small {
    display: block;
    width: 25%;
  }
}

@media screen and (min-width: 1280px) {
  .logo--container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40rem;
    width: 78rem;
  }

  .header--logo {
    max-width: 40rem;
  }

  .header--links {
    width: 78rem;
  }

  .hero {
    padding: 12rem 0;
  }
}

@media screen and (min-width: 1366px) {
  .hero {
    padding: 15rem 0;
  }
}
