* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.header-container {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #eee;
    text-align: center;


    line-height: 1.6;
    background-color: #dddddd;
    background-image: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.1) 1px,
            transparent 5px,
            transparent 5px);
}

body {
    color: #333;
    line-height: 1.6;
}

.logopng {
    width: 750px;
    height: auto;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: auto;
}

.platillo {
    width: 400px;
    height: auto;
    align-items: center;
    border-radius: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    gap: 2rem;
    flex-wrap: wrap;

    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(52, 52, 52, 0.3);
}

.nav-menu li a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    color: #222;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #028F89;
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: #028F89;
}

.nav-menu li a:hover::after {
    width: 100%;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}


h2 {
    margin-bottom: 1rem;
    border-bottom: 2px solid #8a8a8a;
    padding-bottom: 0.5rem;
    font-size: 2rem;
    color: #4d4d4d;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    border-radius: 15px;
    gap: 2rem;
}

.Ubicacion-Waze {
    justify-content: left;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    margin-left: 15px;
    margin-right: 20px;
}

.ubicacion-Maps {
    justify-content: left;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.Ubicacion-Waze a {
    color: #444;
    font-size: 2.5rem;
    transition: color 0.3s;
}

.ubicacion-Maps a {
    color: #444;
    font-size: 2.5rem;
    transition: color 0.3s;
}

.Ubicacion-Waze a:hover {
    color: #00ccff;
}

.ubicacion-Maps a:hover {
    color: #dd0000;
}

.divUbi {
    position: relative;
    display: flex;
}
.card {
    flex: 1 1 25%;
    background-color: #e9e9e9;
    padding: 1rem;
    border: 1px solid #028f8869;
    border-radius: 15px;
    align-items: center;
    transition: 0.3s ease;

    
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.5);
}

.promo {
    background: #fff5e6;
    padding: 1rem;
    border: 1px dashed #ffa726;
    border-radius: 8px;
}

.historia {
    background: #fff5e6;
    padding: 1rem;
    border: 1px dashed #ffa726;
    border-radius: 8px;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.redes-sociales a {
    color: #444;
    font-size: 2rem;
    transition: color 0.3s;
}

.redes-sociales-Facebook a:hover {
    color: #5900ff;
}

.redes-sociales-Instagram a:hover {
    color: #ff0095;
}

.redes-sociales-WhatsApp a:hover {
    color: #2bff00;
}

footer {
    text-align: center;
    padding: 0.1rem;
    font-size: 0.8rem;
    background-color: #D7D7D7;
    border-top: 1px solid #eee;
}

.footer2 {
    text-align: center;
    padding: 0.2rem;
    font-size: 0.8rem;
    background-color: #c1c0c0;
}

/* Botón WhatsApp */
.btn-whatsapp{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(231, 230, 230, 0.18);
  z-index: 300;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-whatsapp:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  background: #1ebe57;
}

.btn-whatsapp::after{
  content: "¡Reserva Aquí!";
  position: absolute;
  right: 64px;
  bottom: 50%;
  transform: translateY(50%);
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.btn-whatsapp:hover::after{ opacity: 1; }


.dark-mode .btn-whatsapp::after{ background:#111; }


.carrusel {  
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 480px;            
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;     
}

.carrusel-imagenes {    
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carrusel img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;  
  object-position: center;
  padding: 12px;  
}

.carrusel2 {  
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 480px;            
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;   
}

.carrusel2-imagenes {    
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carrusel2 img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;  
  object-position: center;
  padding: 12px;  
}

/* Responsive para celular */
@media (max-width: 830px) {
    .header-container {
        align-items: stretch;
        padding: 1rem;
    }

    .logopng {
        width: 350px;
        margin-bottom: 1rem;
    }

    .logo {
        width: 50px;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .menu {
        font-size: 15px;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 0rem;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    img[src="images/jardin2.jpg"] {
        width: 100%;
        height: auto;
    }

    img[src="images/jardin3.jpg"] {
        width: 600px;
        height: auto;
    }

    .platillo {
        width: 90%;
        max-width: 90%;
        height: auto;
        align-items: center;
    }

    .grid {
        flex-direction: column;
    }

    main {
        padding: 1rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    section {
        margin-bottom: 2rem;
    }

    .Ubicacion-Waze {
        justify-content: center;
    }

    .redes-sociales {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 1rem 0;
        gap: 2rem;
        flex-wrap: wrap;
    }

    footer {
        font-size: 0.8rem;
    }
    .carrusel{
    width: 100%;
    max-width: 100%;     
    height: 260px;   
    margin: 20px auto;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
  .carrusel2 {
    width: 100%;
    max-width: 100%;     
    height: 260px;   
    margin: 20px auto;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
}

/* Responsive para TABLETS */
@media (min-width: 831px) and (max-width: 1024px) {

  .logopng {
    width: 500px;
  }

  .logo {
    width: 80px;
  }

  .nav-menu {
    font-size: 1rem;
    gap: 1.5rem;
  }

  main {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .grid {
    gap: 1.5rem;
  }

  .card {
    flex: 1 1 45%;  
  }

  .platillo {
    width: 70%;
    margin: 0 auto;
  }

  .carrusel,
  .carrusel2 {
    max-width: 600px;
    height: 360px;
    margin: 30px auto;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  }
}