/* Fuentes Arvo */
@font-face {
    font-family: 'arvo-regular';
    src: url('../fonts/arvo/Arvo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  /* Fuentes Lato */
  @font-face {
    font-family: 'lato-regular';
    src: url('../fonts/lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  h1{
    font-family: 'lato-regular', sans-serif;
    display: none;
  }
  /* Navbar */
  nav {
    display: flex;
    justify-content: space-around;
    background-color: #fdfdfd;
    position: absolute;
    top: 0;
    left: 0;
    gap: 1px;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'lato-regular', sans-serif;
  }
  nav>div{
    display: none;
  }
  nav > ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  
  nav > ul > li {
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 400;
    transition: background-color 0.3s ease;
  }
  
  nav > ul > li:hover {
    background-color: #ef3f30;
    transition: background-color 0.3s ease;
  }
  
  nav > ul > li > a {
    display: block;
    font-size: 16px;
    text-decoration: none;
    color: #282828;
    transition: color 0.3s ease;
  }
  
  nav > ul > li:hover > a {
    color: #fdfdfd;
  }
  
  nav img {
    width: 35px;
    height: 35px;
  }
  .container-icon {
    display: flex;
    align-items: center;
    justify-content:center;
    min-width: 310px;
    gap:5px;
  }
  .icon{
    width: 35px;
    height: 35px;
  }
  .seccion-hidden {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
  }
  .icon-wsp {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: none;
    flex-direction: row;
    align-content: center;
    position: fixed;
    width: 310px;
    height: auto;
    bottom: 10px;
    right: 20px;
    z-index: 100;
  }
  .icon-wsp-parrafo {
    text-align: center;
    border-radius: 20px;
    width: 100%;
    height: auto;
    padding: 10px 0px;
    margin-right: -20px;
    background-color: #282828;
    border: #f4f4f4 2px solid;
  }
  .icon-wsp-parrafo>a {
    font-family: 'lato-regular', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #D9F9D9;
  }
  .icon-wsp-img {
    width: 70px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
    cursor: pointer;
    animation: pulseAnimation 3s infinite alternate;
  }
  @keyframes pulseAnimation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  .container-flex {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
  }
  
  .logo {
    width: 235px;
    height: 235px;
    position: absolute;
    z-index: 100;
    top: auto;
  }
  
  /* Carrusel */
  .carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50vh;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .carousel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
  }
  
  .slide[data-active] {
    opacity: 1;
    z-index: 1;
  }
  
  .slide > img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: cover;
  }
  
  /* Contenedores de Reservas y Pedidos */
  .seccion-reservas {
    position: absolute;
    background-color: #282828;
    z-index: 3;
    padding: 0 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .container-reservas {
    display: flex;
    width: auto;
    flex-direction: row;
    justify-content: center;
    margin-top: -50px;
  }
  
  .pedidos-reservas {
    color: #fdfdfd;
    text-align: center;
    background-color: #747272;
    font-size: 24px;
    padding: 20px;
    font-weight: bold;
    font-family: 'lato-regular', sans-serif;
  }
  .pedidos-reservas>a{
    text-decoration: none;
    color: #f4f4f4;
  }
  
  .wsp-number {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: #fdfdfd;
    background-color: #f51602;
    font-size: 44px;
    padding: 10px;
    font-family: 'lato-regular', sans-serif;
  }
  .wsp-number>a{
    text-decoration: none;
    color: #f4f4f4;
  }
  .wsp-number >a> div {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 50%;
  }
  .fono {
    width: 50px;
    height: 50px;
    padding: 6px;
  }
  .seccion-nosotros {
    background-color: #282828;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 500px 0px;
  }
  .card-article {
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
  }
  .productos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
  }
  .productos>img{
    width: 100%;
    height: auto;
  }
  .card-article > footer {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .card-article > footer > p {
    font-size: 18px;
    color: #ffff;
    font-family: 'lato-regular', sans-serif;
    text-align: start;
  }
  .card-article > header > a > img {
    width: 350px;
    height: 350px;
  }
  .seccion-contacto {
    background-image: url(../assets/fondo-contacto-sazon.webp);
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    background-position: center;
    text-align: center;
    gap: 10px;
    padding: 40px 0;
  }
  .seccion-contacto > h2 {
    background-color: #f4f4f4;
    width: 200px;
    padding: 10px 0;
    font-family: 'arvo-regular', sans-serif;
    text-decoration: none;
    font-size: 22px;
  }
  .seccion-contacto > a > img {
    width: 150px;
    height: 150px;
  }
  form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    min-width: 320px;
  
  }
  form > div > label {
    display: none;
  }
  .input > input {
    width: 350px;
    padding: 10px 2px;
    min-width: 310px;
    font-size: 14px;
    font-family: 'lato-regular', 'Times New Roman', Times, serif;
  }
  ::placeholder{
    font-style: oblique;
    font-family: 'arvo-regular', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #bbbaba;
  }
  .input {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .button-contacto {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
  }
  .button-contacto > textarea {
    width: 350px;
    min-width: 310px;
    height: 100px;
    padding: 5px 2px;
  }
  #button{
    width: 350px;
    min-width: 310px;
    background-color: #ff0000;
    border: none;
    padding: 5px 2px;
    color: #ffff;
    font-size: 18px;
    font-family: 'lato-regular', sans-serif;
    font-style: normal;
    cursor: pointer;
  }
  #button:hover{
      background-color: #c7c2c2;
      transition: all 3s ease;
  }
  
  .map-direccion {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: auto;
    flex-wrap: wrap;
  }
  .map{
      width: 350px;
      min-width: 310px;
      position: relative
  }
  .link-map{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
  }
  .direccion{
      display: flex;
      flex-direction: column;
      background-color: #f4f4f4;
      justify-content: space-around;
      text-align: start;
      gap: 22px;
      height: auto;
      width: 350px;
      min-width: 310px;
      font-family: 'lato-regular', sans-serif;
  }
  .direccion>p, .direccion>a{
      font-size: 16px;
  }
  address{
      font-size: 16px;
  }
  .direccion>h3{
      font-size: 22px;
      padding: 10px 20px;
  }
  .direccion>address, .direccion>p, .direccion>a{
      padding: 0px 20px;
  }
  .siguenos{
      display: flex;
      flex-direction: row;
      justify-content: start;
      align-items: center;
      gap:5px;
      padding: 0 20px;
      font-family: 'arvo-regular', sans-serif;
      font-size: 16px;
  }
  .fono-contacto{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-evenly;
      background-color: #ff0000;
      padding: 15px 5px;
      color: #fdfdfd;
      font-size: 18px;
      height: auto;
      font-family: 'arvo-regular', sans-serif;
  }
  .fono-ubicacion{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      gap: 5px;
  }
  .fono-ubicacion>a{
    text-decoration: none;
    color: #f4f4f4;
  }
  .fono-ubicacion>a>div{
      display: flex;
      align-items: center;
      background-color: #f4f4f4;
      border-radius: 50%;
  }
  .fono-ubicacion>a>div>img{
          width: 30px;
          height: 30px;
          padding: 6px;
  }
  footer {
    background-color: #282828;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f4f4f4;
    gap: 2px;
    text-align: center;
    font-family: 'lato-regular', sans-serif;
    font-size: 12px;
  }
  footer > a>img {
    width: 100px;
    height: 100px;
  }
  footer > p {
    padding: 0 10px;
  }
  
  /* Media Queries para Responsividad */
  
  /* Pantallas pequeñas (móviles) */
  @media (max-width: 900px) {
    .toggle{
      display: block;
      font-size: 30px;
    }
    nav {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      padding: 10px 15px;
      position: relative;
      
    }
    nav > ul {
      flex-direction: column;
      width: 100%;
      display: none; /* Oculta el menú por defecto */
      align-items: flex-start;
      justify-content: center;
      display: none;
      position: absolute; /* Posición absoluta para superponerse */
      top: 50px; /* Ajustar según sea necesario */
      left: 0;
      background-color: #fdfdfd;
    }
  
    nav > ul.active {
      display: flex;
    }
  
    nav > ul > li {
      width: 100%;
      text-align: left;
      padding: 5px 0;
    }
  
    nav > ul > li > a {
      padding: 10px 15px;
      font-size: 14px;
    }
  
    nav > div {
      display: block;
      text-align: right;
      cursor: pointer;
    }
  
    nav img {
      width: 30px;
      height: 30px;
    }
    .logo {
      width: 150px;
      height: 150px;
      position: absolute;
      top: 50px; /* Ajusta este valor para controlar cuánto invade el nav */
      left: 50%;
      transform: translateX(-50%);
    }
  
    .carousel {
      height: auto;
    }
    .seccion-reservas{
      max-width: 400px;
      min-width: 200px;
    }
    .container-reservas{
      margin-top: -40px;
    }
  
    .pedidos-reservas{
      width: 100%;
      font-size: 20px;
      padding: 10px;
    }
    .wsp-number{
      width: 100%;
      font-size: 22px;
    }
  
    .wsp-number img {
      width: 30px;
      height: 30px;
    }
    .card-article > header > a > img {
      width: 180px;
      height: 180px;
    }
    .productos > img {
      width: 320px;
      height: auto;
    }
    .card-article > footer {
      padding: 0px 10px;
    }
    .seccion-contacto {
      background-position: center;
    }
    .container-icon {
      align-self: flex-end;
      justify-content: end;
    }
  }
  @media (min-width: 769px) and (max-width: 1200px) {
    .container-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .logo {
      width: 150px;
      height: 150px;
    }
  }
  @media (max-width: 768px) {
    .button-contacto, .map-direccion{
      width:310px;
    }
    .input{
      width: 310px;
    }
    .icon-wsp {
      right: 10px;
      width: auto;
    }
    .icon-wsp-img{
      width: 50px;
    }
   .icon-wsp-parrafo{
    padding: 5px 30px;
    width: auto;
   }
   .icon-wsp-parrafo>a{
    font-size: 11px;
   }
  }
  /* Pantallas medianas (tablets) */
  @media (max-width: 992px) {
    nav img {
      width: 20px;
      height: 20px;
    }
  
    .carousel {
      height: 70vh;
    }
  }
  @media (min-width: 900px) and (max-width: 1200px){
    nav > ul > li {
      padding: 20px 5px;
    }
  }
  /* Pantallas grandes (escritorios) */
  @media (min-width: 1200px) {
    nav > ul > li > a {
      font-size: 18px;
      padding: 20px 25px;
    }
  
    .carousel {
      height: 80vh;
    }
    .card-article > header > a > img {
      width: 350px;
      height: 350px;
    }
  }
  @media (max-width: 400px){
    .container-reservas{
      margin-top: -25px;
      min-width: auto;
    }
    .pedidos-reservas{
      width: 100%;
      font-size: 16px;
      padding: 5px;
    }
    .wsp-number{
      width: 100%;
      font-size: 18px;
    }
  
    .wsp-number img {
      width: 25px;
      height: 25px;
    }
  }