/* Variables */
:root {
  --primary-color: #f0b626;
  --secondary-color: #f5cf71;
  --dark-color: #272d33;
  --light-color: #f8f9fa;
  --danger-color: #dc3545;
  --success-color: #28a745;
  --gray-color: #848688;
}

.form-control {
  border-radius: 0;
}

.navbar {
  height: 6rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
}

.navbar .navbar-brand img {
  width: 200px;
}

.navbar .navbar-nav .nav-item .nav-link {
  color: var(--dark-color);
  font-weight: 400;
}

.navbar .navbar-nav .nav-item .nav-link.active {
  color: var(--light-color);
}

.navbar-text {
  color: var(--dark-color);
  font-weight: 700;
}

.navbar-text a {
  text-decoration: none;
}

.navbar-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero {
  color: var(--light-color);
  height: 700px;
  background-image: url('img/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.25); /* Adjust the opacity as needed */
  background-blend-mode: darken;
}

.hero h1 {
  font-size: 60px;
  line-height: 125%;
  text-shadow: 4px 4px rgba(152, 151, 147, 0.80);
  color: var(--light-color);
}

.highlight_text {
  color: var(--primary-color);
}

.btn {
  border-radius: 0%;
  font-size: 20px;
  line-height: 30px;
  margin-top: 2rem;
}

.company-description {
  color: var(--light-color);
  background-image: url('img/general_bg.jpg');
  height: 550px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
  background-blend-mode: darken;
}

.company-description .title-section {
  width: 60%;
  margin: auto;
  padding-top: 5rem;
}

.company-description .title-section h2 {
  font-size: 45px;
}

.company-description .text-section {
  width: 60%;
  margin: auto;
  margin-top: 2rem;
  text-align: justify;
  font-size: 20px;
}

.yellow-bg {
  height: 270px;
  background-color: rgba(240, 182, 38, 0.85);
}

.grid-imgs {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 10rem;
  margin-top: 1.5rem;
}

.img-container {
  width: 300px;
  height: 300px;
  cursor: pointer;
}

/* When cursor hover I want the image to increase a bit */
.img-container:hover {
  transform: scale(1.1);
  transition: ease 0.5s;
}

.services {
  color: var(--light-color);
  background-image: url('img/general_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  max-width: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Adjust the opacity as needed */
  background-blend-mode: darken;
}

.services .title-section {
  color: var(--secondary-color);
  width: 60%;
  margin: auto;
  padding-top: 5rem;
}

.services .title-section h2 {
  font-size: 45px;
}

.services .text-section {
  width: 60%;
  margin: auto;
  margin-top: 2rem;
  text-align: justify;
  font-size: 20px;
   padding-bottom: 2rem;
}

.services__img-container img {
  cursor: pointer;
  padding-bottom: 5rem;
}

/* When cursor hover I want the image to increase a bit */
.services__img-container img:hover {
  transform: scale(1.1);
  transition: ease 0.5s;
}


.products-list ul li {
  margin-bottom: .25em; /* Puedes ajustar el valor según lo que necesites */
}

#products > div.company-description > div.container.text-center > div.title-section {
  color: var(--primary-color);
}

.our-products {
  background-image: url('img/product_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  max-width: 100%;
}

.our-products__right_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.our-products__title {
  margin-top: 5rem;
  color: var(--primary-color);
  text-shadow: 3px 3px 0px #272d33;
  text-align: center;
}

.our-products__title_big {
  font-size: 45px;
}

.our-products__title_small  {
  font-size: 36px;
}

.our-products__text_container--first {
  margin-top: 1rem;
}

.our-products__text_container {
  font-size: 20px;
  text-align: justify;
}

.our-products__icon_container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.our-products__subtitle {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  margin-top: 1rem;
  text-align: right;
}

.our-products__highligth_description {
  color: var(--gray-color);
  font-size: 20px;
  font-weight: bold;
  text-align: end;
}

.our-products__description {
  text-align: end;
}

.our-products .product__item {
  margin-bottom: 0;
}

.our-products__offers {
  margin-top: 1rem;
}

.our-products__offers_end {
  margin-top: 1rem;
  text-align: end;
  margin-bottom: 5rem;
}

.contact__section {
  background-color: black;
  color: var(--light-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.contact__form_container {
  position: relative;
  background-image: url('img/contact_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
  width: 85%;
  float: right;
}

.contact__form_container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(156, 118, 24, 0.71);
  z-index: 1;
}

.contact__form_container * {
  position: relative;
  z-index: 2;
}

.contact__form_title {
  font-weight: bold;
  text-align: center;
}

.contact__form_description_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__form_description {
  margin-top: 1rem;
  text-align: justify;
  width: 65%;
}

.contact__section .form-control {
  margin-top: .5rem;
}

.contact__section .form-control::placeholder {
  color: var(--gray-color);
}

.contact__section .sent-btn {
  margin-top: 1rem;
  width: 100%;
  border-color: #72767a;
  background-color: #72767a;
  font-weight: bold;
}

.contact__section .sent-btn:hover {
  background-color: #5a5e63;
  border-color: #5a5e63;
  color: var(--light-color);
}

.contact__info_container {
  padding-left: 2rem;
  position: relative;
  width: 85%;
  float: left;
}

.contact__info_title {
  color: var(--primary-color);
  font-weight: bold;
}

.contact__info_container p a {
  text-decoration: none;
  color: var(--light-color);
}

.contact__info_subtitle {
  color: var(--secondary-color);
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.floating-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25D366; /* Color de fondo para WhatsApp */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

.floating-button.contact {
  background-color: #007bff; /* Color de fondo para Contacto */
}

.floating-button img {
  width: 24px;
  height: 24px;
}

.floating-button:hover {
  background-color: #128C7E; /* Color de fondo al pasar el mouse para WhatsApp */
}

.floating-button.contact:hover {
  background-color: #0056b3; /* Color de fondo al pasar el mouse para Contacto */
}

.footer__container {
  background-color: black;
  color: var(--light-color);
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.footer__container .navbar__footer {
  padding: 1rem 0;
  border-bottom: 1px solid #fff;
  font-size: 12px;
}

.footer__container .navbar__footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer__container .navbar__footer ul li {
  display: inline;
  margin-right: 15px;
}

.footer__container .navbar__footer ul li a {
  text-decoration: none;
  color: white;
}

.footer__container .payment_methods {
  padding-top: 2rem;
  text-align: center;
}

.footer__container .method_icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__container .method_icons .icon_text {
  margin: 0 .5rem;
  font-size: 10px;
}

.footer__container .method_icons svg {
  width: 50px;
  height: 50px;
  fill: white;
}

.footer__container .copy_right {
  text-align: center;
  padding-top: 1rem;
}

/* Media query for mobile devices */
@media (max-width: 576px) {

  .navbar-nav {
    margin-bottom: 0 !important;
  }

  .navbar-nav .nav-item .nav-link {
    padding-left: 1rem;
    background-color: var(--primary-color);
    color: var(--dark-color);
  }

  .navbar-nav .nav-item .nav-link:hover {
    padding-left: 1rem;
    background-color: var(--primary-color);
    color: var(--dark-color);
  }

  .navbar-text {
    padding-left: 1rem;
    display: flex;
    background-color: var(--primary-color);
    color: var(--dark-color);
  }

  .navbar .navbar-brand img {
    width: 150px;
  }

  .hero {
    height: 500px;
  }

  .hero h1 {
    font-size: 30px;
    text-shadow: 2px 2px rgba(152, 151, 147, 0.80);
  }

  .company-description .title-section {
    width: 100%;
    padding-top: 4rem;
  }

  .company-description {
    height: 1650px;
  }

  .company-description .title-section h2 {
    font-size: 25px;
  }

  .company-description .text-section {
    width: 100%;
    font-size: 14px;
  }

  .grid-imgs {
    flex-direction: column; /* Stack images vertically */
    margin: 0 1rem; /* Reduce horizontal margin */
  }

  .img-container {
    margin-top: 1rem;
  }

  .services .title-section {
    width: 100%;
    padding-top: 4rem;
  }

  .services .title-section h2 {
    font-size: 25px;
  }

  .services .text-section {
    width: 100%;
    padding-bottom: 4rem;
    font-size: 14px;
  }

  .services .services__img-container img {
    width: 100%;
    height: auto; /* Adjust height to maintain aspect ratio */
    max-width: 300px; /* Limit the maximum width */
  }

  .company-description {
    height: 750px;
  }

  .our-products {
    position: relative; /* Necesario para que el pseudo-elemento se posicione correctamente */
    color: var(--light-color);
  }

  .our-products {
    background-image: url('img/product_bg_darkened.png');
  }


  .our-products__right_container {
    align-items: center;
    width: 100%;
    position: relative; /* Necesario para que el contenido esté por encima de la superposición */
    z-index: 2; /* Asegura que el contenido esté por encima de la superposición */
    color: var(--light-color);
  }

  .our-products__title {
    margin-top: 4rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px #272d33;
    text-align: center;
  }

  .our-products__title_big {
    font-size: 35px;
  }
  
  .our-products__title_small  {
    font-size: 22px;
    text-shadow: 1px 1px 0px #272d33;
  }

  .our-products__subtitle {
    font-size: 18px;
    text-align: center;
  }

  .our-products__highligth_description {
    font-size: 18px;
    text-align: center;
    color: var(--light-color);
  }

  .our-products__description {
    font-size: 18px;
    text-align: center;
  }

  .our-products .product__item {
    margin-bottom: 8px;
  }

  .our-products__offers_end {
    text-align: center;
    margin-bottom: 4rem;
  }

  .contact__section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact__form_container {
    width: 100%;
    padding: 2rem 1rem;
  }

  .contact__form_title {
    font-size: 20px;
  }

  .contact__form_description {
    font-size: 14px;
    width: 85%;
  }

  .contact__info_container {
    padding-left: 0;
    padding-top: 2rem;
    width: 100%;
    text-align: center;
  }

  .footer__container .copy_right {
    font-size: 12px;
  }
}

/* Media query for tablets */
@media (min-width: 576px) and (max-width: 768px) {

  .hero h1 {
    font-size: 45px;
    line-height: 120%;
  }

  .company-description {
    height: 1050px;
  }

  .grid-imgs {
    margin: 0 2rem;
  }

  .grid-imgs .img-container img {
    width: 180px;
    height: 180px;
  }

  .contact__form_container {
    width: 100%;
    padding: 2rem 1rem;
  }

  .contact__form_description {
    margin-top: 1rem;
    text-align: justify;
    width: 90%;
  }

  .contact__info_container {
    padding-left: 1rem;
    width: 100%;
  }
}

/* Media query for tablets */
@media (min-width: 768px) and (max-width: 1024px) {

  .navbar {
    font-size: 15px;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-brand img {
    width: 180px;
  }

  .navbar-text {
    padding-top: 0;
  }

  .hero {
    height: 500px;
  }

  .company-description {
    height: 620px;
  }

  .company-description .title-section {
    padding-top: 3rem;
    width: 100%;
  }

  .company-description .products-list {
    width: 80%;
  }

  .company-description .images-section .img-container {
    text-align: center;
  }

  .grid-imgs {
    margin: 0;
  }

  .yellow-bg {
    height: 200px;
  }

  .services .title-section {
    padding-top: 3rem;
    width: 100%;
  }

  .services .text-section {
    width: 80%;
    padding-bottom: 4rem;
  }

  .our-products .all_text_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .our-products__text_container {
    width: 80%;
    font-weight: 450;
  }

}

