@import url('base.css');
@import url('footer.css');
@import url('navbar.css');


/* General */
.link-effect:hover {
  font-weight: 400;
  color: var(--text-body);
}

.btn {
  padding-block: 1.2rem;
  padding-inline: 1rem;
  background-color: var(--bg-black);
  color: white;
}

.btn:hover {
  background-color: var(--text-body-accent);
}

/* Hero */
.hero {
  margin-top: 70px;
  height: fit-content;
  min-height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/Military_Hover.jpg");
  background-size: cover;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;

  padding: 6rem;
}

.header {
  display: flex;
  flex-direction: column;
}

.hero__video video {
  width: 40vw;
  box-shadow: 0px 0px 2px 1px white;
}

@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 1.5rem ; 
    background-position: center;

  }

  .hero__header h2{
    text-align: center;
    font-size: 3rem !important;
  }

  .hero__video video {
    width: 90vw;
  }
}

/* Feature */
.feature {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 4rem;

  padding: 6rem;
}

.__imggrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.__imggrid img {
  width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  transition: scale 350ms ease, opacity 350ms linear;
}

.__imggrid:has(img:hover) > img:not(:hover) {
  opacity: 0.8;
  scale: 0.9;
}

@media screen and (max-width: 992px) {
  .feature {
    flex-direction: column;
    padding: 1.5rem;
  }

  .__imggrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .__imggrid img {
    width: 100%;
  }
}

/* Zones */
.zones {
  padding: 6rem;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  margin-bottom: 5rem;
  padding: 0;
}

.card:last-child{
    margin-top: 2em;
}

.card__text {
  width: 60%;
  text-align: center;
  color: white;
}

.card__text h3 {
  font-size: 4rem;
  font-family: var(--body);
  font-weight: 700;
}

.card__text p {
    font-size: 1.5rem;
  font-family: var(--body);
  font-weight: 100;
}

@media screen and (max-width: 992px) {
  .zones {
    padding: 1.5rem;
  }

  .card {
    margin-bottom: 2rem;
  }
}
