/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
     /*Colors  */
  --white-color: #fff;
  --dark-color: #096bff;
  --primary-color: #010975;
  --secondary-color: #f3961c;
  --light-pink-color: #efefefde;
  --medium-gray-color: #ffffff;
  

  /* Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

html {
  scroll-behavior: smooth;
}

/* Stylings for whole site */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  width: 100%;
}

:where(section, footer) .section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-width);
}

section .section-title {
  text-align: center;
  padding: 60px 0 100px;
  text-transform: uppercase;
  font-size: var(--font-size-xl);
}

section .section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  display: block;
  margin: 10px auto 0;
  background: var(--secondary-color);
  border-radius: var(--border-radius-s);
}

/* Navbar styling */
header {
  z-index: 5;
  width: 100%;
  position: fixed;
  background: #000;

}

header .navbar {
  display: flex;
  padding: 20px;
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
  max-width: var(--site-max-width);
}

.navbar .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
  gap: 10px;
  display: flex;
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--white-color);
  font-size: var(--font-size-m);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
}


.navbar :where(#menu-open-button, #menu-close-button) {
  display: none;
}

/* Hero section styling */
.hero-section {
  min-height: 100vh;
  background: #1f547e /* Color seccion inicio */

  

}

.hero-section .section-content {
  display: flex;
  padding-top: 40px;
  align-items: center;
  min-height: 100vh;
  justify-content: space-between;
}

.hero-section .hero-details {
  color: var(--white-color);
}

.hero-section .hero-details .subtitle {
  margin-top: 8px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
  max-width: 70%;
  margin: 24px 0 40px;
  font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons {
  display: flex;
  gap: 23px;
}

.hero-section .hero-details .button {
  padding: 10px 26px;
  display: block;
  border: 2px solid transparent;
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;

}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .button.contact-us {
  color: #000;
  border-color: var(--white-color);
  background: #ffffff;
}


.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
}

/* About section styling */
.about-section {
  padding: 120px 0;
  background: var(--light-pink-color);
}

.about-section .section-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
}

.about-section .about-details {
  max-width: 50%;
}

.about-section .about-details .section-title {
  padding: 0;
  color: #000;
}

.about-section .about-details .text {
  line-height: 30px;
  margin: 50px 0 30px;
  text-align: cente;
  font-size: var(--font-size-m);
  text-align: left;
}

.about-section .social-link-list {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.about-section .social-link-list .social-link {
  color: var(--primary-color);
  font-size: var(--font-size-l);
  transition: 0.2s ease;
}

.about-section .social-link-list .social-link:hover {
  color: #000;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

/* Contenedor principal de productos */
.productos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Cuatro productos por fila en pantallas grandes */
  gap: 20px;
  padding: 20px;
}

/* Contenedor principal de productos */
.menu-section h2{
color: #000;
}
.menu-section{
  background-color: #E0E0E0; /* Light gray background seccion productos*/

}

.productos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Cuatro productos por fila en pantallas grandes */
  gap: 20px;
  padding: 20px;
}

/* Cada tarjeta de producto */
.producto {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition: transform 0.3s ease;
  padding: 15px;
  text-align: center;
}

.producto:hover {
  transform: translateY(-10px); /* Efecto de elevación en hover */
}

.producto img {
  width: 90%;
  height: auto;
  border-radius: 8px;
}

.producto-titulo {
  font-size: 1.2rem;
  margin-top: 10px;
  
}

.producto-precio {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0;
}

.producto-detalles {
  margin-top: 10px;
}

.producto-detalles ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.comprar-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 15px;
  border-radius: 5px;
  cursor: pointer;
}

.comprar-btn:hover {
  background-color: #218838;
}

/* Estilo para dispositivos pequeños */
@media (max-width: 768px) {
  .productos-container {
      grid-template-columns: 1fr; /* Un solo producto por fila en pantallas pequeñas */
  }
}

/* Estilo para pantallas medianas (por ejemplo, tabletas) */
@media (max-width: 1024px) {
  .productos-container {
      grid-template-columns: repeat(1, 1fr); /* Dos productos por fila en tabletas */
  }
}







    /* Estilos para la sección del formulario */
    .contact-section {
      background: #1f547e; /* Mantener el color de fondo */
      padding: 40px 20px;
      color: white;
      text-align: center;
      box-sizing: border-box;
      position: relative; /* Para poder posicionar las imágenes dentro de esta sección */
    }
    
    .contact-section h2 {
      font-size: 2rem;
      margin-bottom: 15px;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      text-transform: uppercase;
    }
    
    .contact-section p {
      font-size: 1rem;
      margin-bottom: 20px;
      line-height: 1.6;
    }
    
    /* Estilo para el formulario */
    form {
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      max-width: 500px;
      margin: 0 auto;
      transition: box-shadow 0.3s ease;
    }
    
    form label {
      display: block;
      font-size: 1rem;
      margin-bottom: 6px;
      color: #333;
      font-weight: 500;
    }
    
    form input,
    form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 2px solid #ddd;
      border-radius: 8px;
      font-size: 1rem;
      color: #333;
      outline: none;
      transition: border-color 0.3s ease;
    }
    
    form input::placeholder,
    form textarea::placeholder {
      color: #333;
    }
    
    form input:focus,
    form textarea:focus {
      border-color: #007bff;
    }
    
    form textarea {
      height: 120px;
      resize: none;
      font-family: "Poppins", sans-serif;
    }
    
    /* Estilo del botón */
    form button {
      width: 100%;
      background-color: #28a745;
      color: white;
      padding: 10px;
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }
    
    form button:hover {
      background-color: #218838;
    }
    
    /* Responsive design */
    @media (max-width: 768px) {
      .contact-section h2 {
        font-size: 1.6rem;
      }
    
      .contact-section p {
        font-size: 1rem;
      }
    
      form {
        padding: 15px;
        max-width: 100%;
      }
    
      form input,
      form textarea {
        font-size: 1rem;
      }
    
      form button {
        font-size: 1.1rem;
        padding: 12px;
      }
    }
    
    @media (max-width: 480px) {
      .contact-section {
        padding: 30px 15px;
      }
    
      form {
        padding: 15px;
        max-width: 100%;
      }
    
      form input,
      form textarea {
        font-size: 1rem;
      }
    
      form button {
        padding: 12px;
      }
    }
    
    /* Estilos para la imagen a la derecha */
    .contact-section .image-right {
      position: absolute;
      width: 350px; /* Tamaño más grande para la imagen */
      max-width: 100%; /* Asegura que la imagen no se desborde */
      right: 5%; /* Posición de la imagen a la derecha */
      top: 50x; /* Posición más arriba, 50px desde la parte superior */
      bottom: -10px; /* Posición hacia abajo, 50px desde el fondo */
      z-index: 0; /* La imagen estará detrás del formulario */
    }
    
    /* Solo mostrar la imagen a la derecha en pantallas de escritorio */
    @media (min-width: 1024px) {
      .contact-section .image-right {
        display: block;
      }
    }
    
    /* Ocultar la imagen a la derecha en dispositivos móviles */
    @media (max-width: 1023px) {
      .contact-section .image-right {
        display: none;
      }
    }








/* Footer section styling */
.footer-section {
  padding: 20px 0;
  background: #000;
}

.footer-section .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
  color: var(--white-color);
  transition: 0.2s ease;
}

.footer-section .social-link-list {
  display: flex;
  gap: 25px;
}

.footer-section .social-link-list .social-link {
  font-size: var(--font-size-l);
}



.footer-section .policy-text .separator {
  color: #fff;
  margin: 0 5px;
}

/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px) {
  .menu-section .menu-list {
    gap: 60px;
  }

  .menu-section .menu-list .menu-item {
    width: calc(100% / 3 - 60px);
  }

}

/* Responsive media query code for max width 900px */
@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  body.show-mobile-menu {
    overflow: hidden;
  }

  body.show-mobile-menu header::before {
    content: "";
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
  }

  .navbar :is(#menu-open-button, #menu-close-button) {
    font-size: var(--font-size-l);

    display: block;
  }

  .navbar :is(#menu-open-button, #menu-close-button):hover {
    color: var(--secondary-color) !important;
  }

  .navbar #menu-open-button {
    color: #fff;
  }

  .navbar .nav-menu #menu-close-button {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar .nav-menu {
    display: block;
    background: #fff;
    position: fixed;
    top: 0;
    left: -300px;
    height: 100%;
    width: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 100px;
    transition: left 0.2s ease;
  }

  body.show-mobile-menu .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    display: block;
    margin-top: 17px;
    padding: 10px 22px;
    color: var(--dark-color);
    font-size: var(--font-size-l);
  }

  .hero-section .section-content {
    text-align: center;
    gap: 50px;
    padding: 30px 20px 20px;
    justify-content: center;
    flex-direction: column-reverse;
  }

  .hero-section .hero-details :is(.subtitle, .description),
  .about-section .about-details,
  .contact-section .contact-form {
    max-width: 100%;
  }

  .hero-section .hero-details .buttons {
    justify-content: center;
  }

  .hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
  }
  .about-section .section-content {
    gap: 70px;
    flex-direction: column-reverse;
  }

  .about-section .about-image-wrapper .about-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    max-width: 250px;
  }

  .menu-section .menu-list {
    gap: 30px;
  }

  .menu-section .menu-list .menu-item {
    width: calc(100% / 2 - 30px);
  }

  .menu-section .menu-list .menu-item .menu-image {
    max-width: 200px;
  }

  .gallery-section .gallery-list {
    gap: 30px;
  }

  .gallery-section .gallery-list .gallery-item {
    width: calc(100% / 2 - 30px);
  }

  .contact-section .section-content {
    align-items: center;
    flex-direction: column-reverse;
  }
}

/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {

  .menu-section .menu-list .menu-item,
  .gallery-section .gallery-list .gallery-item {
    width: 100%;
  }

  .menu-section .menu-list {
    gap: 60px;
  }

  .testimonials-section .slider-wrapper {
    margin: 0 0 30px;
  }

  .testimonials-section .swiper-slide-button {
    display: none;
  }

  .footer-section .section-content {
    flex-direction: column;
    gap: 20px;
  }
}







/* Estilos generales para los botones flotantes */
.floating-button {
  position: fixed;
  bottom: 20px;
  z-index: 1000;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px; /* Tamaño del botón */
  height: 65px; /* Tamaño del botón */
}

/* Botón de teléfono */
.phone-button {
  left: 18px; /* Botón de teléfono a la izquierda */
}

/* Botón de WhatsApp */
.whatsapp-button {
  right: 20px; /* Botón de WhatsApp a la derecha */
}

/* Ajuste del tamaño del icono */
.button-icon {
  width: 30px; /* Ajusta el tamaño del icono dentro del contenedor */
  height: 30px; /* Ajusta el tamaño del icono dentro del contenedor */
  object-fit: contain; /* Asegura que el icono se ajuste dentro del contenedor sin distorsionarse */
  display: block; /* Asegura que el icono se muestre correctamente */
}

/* Responsividad para pantallas móviles */
@media (max-width: 768px) {
  .floating-button {
    width: 60px; /* Reduce el tamaño en dispositivos más pequeños */
    height: 60px; /* Reduce el tamaño en dispositivos más pequeños */
  }

  .button-icon {
    width: 25x; /* Reduce el tamaño del icono */
    height:25px; /* Reduce el tamaño del icono */
  }

  .phone-button {
    left: 10px; /* Reducir la distancia desde el borde en pantallas pequeñas */
  }

  .whatsapp-button {
    right: 10px; /* Reducir la distancia desde el borde en pantallas pequeñas */
  }
}

@media (max-width: 480px) {
  .floating-button {
    width: 50px; /* Aumenta un poco el tamaño en pantallas muy pequeñas */
    height: 50px; /* Aumenta un poco el tamaño en pantallas muy pequeñas */
  }

  .button-icon {
    width: 20px; /* Ajustar el tamaño aún más pequeño */
    height: 20px;
  }

  .phone-button,
  .whatsapp-button {
    bottom: 10px; /* Ajustar la distancia desde el fondo para pantallas más pequeñas */
  }
}
