/* CSS File for styling the front-page.php template */

.hero-image {
  position: relative;
  height: 575px;
  background-image: url(https://res.cloudinary.com/dzlbb8rlo/image/upload/v1751297111/Heritage/chc_b3cpvz.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: #000000;
}

@media screen and (min-width: 768px) {
  .hero-image {
    height: 57vw;
    background-position: 50% 60%;
  }
}

@media screen and (min-width: 1024px) {
  .hero-image {
    height: 55vw;
    background-position: 50% 60%;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image {
    height: 44vw;
    background-position: 50% 60%;
  }
}

@media screen and (min-width: 2000px) {
  .hero-image {
    height: 880px;
    background-position: 50% 60%;
  }
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, black, transparent);
  z-index: 1;
}

.promo-carousel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  /*aspect-ratio: 16 / 9; keeping this because it makes more sense */
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev-btn {
  left: 10px;
}

.carousel-btn.next-btn {
  right: 10px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;

  &.active {
    opacity: 1;
    visibility: visible;
  }
}

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

@media screen and (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 33.33%;
  }
}

.hero-image .hero-details {
  z-index: 1;
  position: absolute;
  max-width: 370px;
  left: 25px;
  border-left: 10px solid #AA2F22;
  height: 430px;
  bottom: 75px;
  display: flex;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details {
    max-width: 665px;
    left: 45px;
    height: 345px;
    bottom: 50px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-image .hero-details {
    max-width: 785px;
    left: 90px;
    height: 425px;
    bottom: 75px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image .hero-details {
    max-width: 980px;
    left: 90px;
    height: 400px;
    top: 18%;
  }
}

.hero-image .hero-details .hero-details-text {
  margin-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details .hero-details-text {
    margin-left: 40px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-image .hero-details .hero-details-text {
    margin-left: 50px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image .hero-details .hero-details-text {
    margin-left: 50px;
  }
}

.hero-image .hero-details .hero-details-text h1 {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details .hero-details-text h1 {
  }
}

@media screen and (min-width: 1024px) {
  .hero-image .hero-details .hero-details-text h1 {
    font-size: 29px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image .hero-details .hero-details-text h1 {
    font-size: 32px;
  }
}

.hero-image .hero-details .hero-details-text h2 {
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 37px;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details .hero-details-text h2 {
  }
}

@media screen and (min-width: 1024px) {
  .hero-image .hero-details .hero-details-text h2 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image .hero-details .hero-details-text h2 {
    font-size: 60px;
    line-height: 65px;
  }
}

.hero-image .hero-details .hero-details-text p {
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details .hero-details-text p {
  }
}

@media screen and (min-width: 1024px) {
  .hero-image .hero-details .hero-details-text p {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-image .hero-details .hero-details-text p {
    font-size: 16px;
  }
}

.hero-image .hero-details .hero-details-text .hero-button-cont {
  display: flex;
  justify-content: flex-start;
  margin-top: 15px;
}

@media screen and (min-width: 768px) {
  .hero-image .hero-details .hero-details-text .hero-button-cont {
    justify-content: flex-end;
  }
}

.hero-image .hero-details .hero-button-cont .hero-recognition {
  font-weight: 600;
}
.hero-image .hero-details .hero-button-cont .hero-recognition span {
  color: #fecd0d;
  text-shadow: 0px 0px 8px #d4b334;
}

.resources-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EFE9E4;
  padding: 0;
  color: #000;
  width: 100vw;
}

@media screen and (min-width: 768px) {
  .resources-cta {
    max-height: 650px;
  }
}

.resources-cta section {
  display: flex;
  width: 100%;
  max-width: fit-content;
  height: 100%;
  align-items: stretch;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .resources-cta section {
    flex-direction: row;
  }
}

.resources-image {
  flex: 0 0 100%;
  max-width: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .resources-image {
    flex: 0 0 45%;
    max-width: 45%;
  }
}

.resources-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources-content {
  padding: 50px 30px;
  flex: 0 0 55%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  max-height: 650px;
}

@media screen and (min-width: 768px) {
  .resources-content {
    padding: 140px 70px;
  }
}

.resources-content .info {
  max-width: 650px;
  text-align: left;
}

.resources-content h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
}

.resources-content .info p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.aviary-cta {
  padding: 50px 30px;
  background-color: #aa3021;
  color: #fff;
  background-image: url(https://res.cloudinary.com/dzlbb8rlo/image/upload/v1731564950/Heritage/Frame_nurx9w.png);
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .aviary-cta {
    padding: 10px 15px 40px 15px;
  }
}

.aviary-cta section {
  text-align: left;
}

.aviary-cta .info {
  max-width: 670px;
}

.aviary-cta .info p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 25px;
}

.aviary-cta h2 {
  font-size: 42px;
}

.eagle, .woman {
  display:none;
}

.language-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EFE9E4;
  padding: 0;
  color: #000;
  width: 100vw;
}

@media screen and (min-width: 768px) {
  .language-cta {
    max-height: 650px;
  }
}

.language-cta section {
  display: flex;
  width: 100%;
  max-width: fit-content;
  height: 100%;
  align-items: stretch;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .language-cta section {
    flex-direction: row;
  }
}

.language-image {
  flex: 0 0 100%;
  max-width: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .language-image {
    flex: 0 0 45%;
    max-width: 45%;
  }
}

.language-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-content {
  flex: 0 0 55%;
  padding: 50px 30px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  max-height: 650px;
}

@media screen and (min-width: 768px) {
  .language-content {
    padding: 140px 70px;
  }
}

.language-content .info {
  max-width: 650px;
  text-align: left;
}

.language-content h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
}

.language-content .info p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.history-cta {
  padding: 50px 30px 100px;
  background-color: #254A8E;
  color: #fff;
  position: relative;
  z-index: 1;
}

.history-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(https://res.cloudinary.com/dzlbb8rlo/image/upload/v1731564950/Heritage/Frame_nurx9w.png);
  background-position: center;
  background-size: cover;
  transform: scaleX(-1);
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .history-cta {
    padding: 10px 15px 40px 15px;
  }
}

.history-cta section {
  text-align: left;
}

.history-cta .info {
  max-width: 670px;
}

.history-cta .info p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 25px;
}

.history-cta h2 {
  font-size: 42px;
}

.btn {
  margin-top: 10px;
}

/* Media Queries */

@media screen and (min-width: 768px) {

  .aviary-cta {
    padding: 100px 50px;
  }

  .language-cta {

  }

  .history-cta {
    padding: 100px 50px 185px;
  }
}

@media screen and (min-width: 1024px) {
  .resources-cta {

  }

  .aviary-cta p, .aviary-cta h2, .history-cta p, .history-cta h2 {
    text-align: left;
  }

  .aviary-cta {
    position: relative;
    display: grid;
    grid-template-columns: 70% 30%;
  }

  .eagle {
    display: block;
    position: absolute;
    z-index: 99;
    width: 42vw;
    right: 0;
    bottom: 0;
  }

  .woman {
    display: block;
    position: absolute;
    z-index: 99;
    width: 35vw;
    right: 0;
    bottom: 0;
  }

  .language-cta {

  }

  .history-cta {
    position: relative;
    display: grid;
    grid-template-columns: 70% 30%;
  }
}

@media screen and (min-width: 1440px) {

  .resources-cta {

  }

  .language-cta {

  }

  .history-cta {

  }
}

@media screen and (min-width: 1700px) {
  .eagle {
    width: 715px;
  }

  .woman {
    width: 715px;
  }

  .aviary-cta section {
    padding: 0 15px 60px 50px;
  }

  .history-cta section {
    padding: 0 15px 60px 50px;
  }
}

@media screen and (min-width: 1920px) {

  .resources-cta {

  }

  .language-cta {

  }

  .history-cta {
  }
}
