/* GLOBAL STYLES */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  padding-top: 10rem;
  display: flex;
  flex-direction: column;
  font-family: "Arimo", sans-serif;
  min-height: 100vh;
}

/* HEADER LAYOUT */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: rgb(171, 0, 51);
}

.header {
  min-height: 110px;
  background-color: rgb(171, 0, 51);
  background-image: url("./img/fondo-mjaguar.png");
  background-size: cover;
  /* background-size: 65% auto; */
  background-repeat: repeat;
  background-blend-mode: overlay;
  background-position: top;
  color: white;
  padding: 20px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;

  .header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
      height: 80px;
      filter: brightness(140%);
    }
  }

  .header-text {
    color: #ededed;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    padding-left: 1.5rem;
    flex: 1;
  }

  .header-text h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
  }

  .header-text .lead {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
  }
}

/* @media (min-width: 768px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
  }

  .header-text {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 2rem;
  }
} */

@media (max-width: 767px) {
  body {
    padding-top: 5rem;
  }

  .header {
    min-height: auto;
    padding: 15px 20px;
    flex-direction: column;

    .header-logo img {
      height: 55px;
    }

    .header-text {
      text-align: center;
      border: none;
      padding: 0;
      margin: 0;

      h3 {
        font-size: 1.1rem;
      }
      .lead {
        margin-top: 0.25rem;
        font-size: 0.85rem;
      }
    }
  }
}

/* MAIN CONTENT */
main {
  margin-top: 2rem;
  flex: 1 0 auto;
}

@media (max-width: 767px) {
  main {
    margin-top: 9.5rem;
  }
}

/* FOOTER LAYOUT */
footer {
  background-color: rgb(188, 149, 92);
  color: white;
  flex-shrink: 0;
  width: 100%;
}

.footer {
  display: flex;
  flex-direction: column;

  .footer-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  }

  .footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    img {
      height: 70px;
      filter: brightness(120%) drop-shadow(0 0 20px #f1eac2);
    }

    .rs {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;

      h4 {
        font-size: 1.2rem;
        margin: 0 0 0.5rem 0;
      }
      a i {
        font-size: 2.5rem;
      }
      a {
        text-decoration: none;
        color: rgb(241, 231, 231);
        transition: color 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      a:hover i {
        text-shadow: 0 0 10px #c10808;
      }

      .social-icons {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .direccion {
    flex: 1;
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.4;

    p {
      margin: 0 0 0.2rem 0;

      :first-child {
        font-weight: 700;
      }

      :last-child {
        margin-bottom: 0;
      }
    }
  }

  .copyright {
    padding: 5px;
    background: rgb(221, 201, 163);
    color: rgb(84, 86, 90);
    text-align: center;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    small {
      font-size: 0.9rem;
    }
  }
}

.goup {
  position: fixed;
  bottom: 0.6rem;
  right: 1.5rem;
  font-size: 2rem;
  color: rgb(180, 96, 96);
  z-index: 999;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;

  :hover {
    color: rgb(171, 0, 51);
  }
}

@media (max-width: 767px) {
  .footer {
    /* gap: 1.5rem; */
    margin: 0;
    padding: 0;

    .footer-main {
      flex-direction: column;
      align-items: center;
      /* justify-content: space-between; */
      /* text-align: center; */
      gap: 0.5rem;
      padding: 0.7rem 0.8rem;
      /* background: rgb(163, 221, 189); */

      .footer-logo {
        width: 100%;
        justify-content: space-between;

        img {
          max-height: 52px;
        }

        .rs {
          h4 {
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
          }

          a i {
            font-size: 1.75rem;
          }
        }
      }

      .direccion {
        text-align: center;
        font-size: 0.8rem;
        line-height: 1.1;
      }
    }

    .copyright {
      font-size: 0.3rem;

      small {
        font-size: 0.7rem;
      }
    }
  }
}

/* CAROUSEL */
.carousel {
  margin-bottom: 4rem;
}

.carousel-indicators {
  position: static;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  filter: brightness(0) saturate(100%) invert(16%) sepia(100%) saturate(3268%)
    hue-rotate(6deg) brightness(87%) contrast(113%);
}

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

.carousel-item {
  height: 32rem;
  position: relative;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) saturate(100%) invert(16%) sepia(100%) saturate(3268%)
    hue-rotate(6deg) brightness(87%) contrast(113%) opacity(0.8);
}

@media (max-width: 767px) {
  .carousel-item {
    height: 16rem;
  }

  .carousel-item > img {
    height: 16rem;
  }
}

/* MARKETING CONTENT */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing .col-lg-4 p {
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.marketing h2 {
  font-weight: 400;
}

/* FEATURETTES */
.featurette-divider {
  margin: 5rem 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
