
/* 🔹 Asegura que las imágenes del hero estén bien posicionadas y que la escala se note */
.hero {
    display: flex
;
    align-items: center;
    justify-content: space-around;
    padding: 90px 40px;
    background: linear-gradient(to right, #fffdfa 60%, #f5ebdb);
    transition: transform 0.4s 
ease;
}
.hero-img-container{
  transition: all .5s 
ease;
}
.hero-img-container:hover {
    scale: 1.05;
}
.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero-images .hero-img {
  width: 30%;
  max-width: 400px;
  transition: transform 2s ease;
  transform-origin: center center;
}
.hero-text p {
    font-size: 24px;
    margin-top: 15px;
    color: #555;
}
.hero-overlay {
    position: absolute;
    bottom: 9px;
    left: 3px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    background: #22222261;
    height: 97%;
    width: 97%;
    border-radius: 120px;
    text-align: center;
    align-content: space-evenly;
    font-family: 'Playfair Display';
    transition: all .5s 
ease;
display: grid
;
    align-content: center;
    z-index: 100;
}
.hero-overlay:hover {
    color: #ba9555;
    font-size: 30px;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.container-visitar {
  width: 100%;
  height: 127%;
  position: absolute;
  z-index: 999;
  opacity: 0;
  pointer-events: none; /* no interactúa cuando está oculto */
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔸 Aparece el contenedor suavemente cuando se hace hover en el overlay */
.hero-overlay:hover .container-visitar {
  opacity: 1;
  pointer-events: all;
}

/* 🔸 El botón comienza oculto dentro del contenedor */
.btn-visitar {
  display: inline-block;
  opacity: 0 !important;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: linear-gradient(45deg, #d4af37, #caa23b);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* 🔸 Solo cuando el mouse entra en el contenedor, aparece el botón */
.container-visitar:hover .btn-visitar {
  opacity: 1 !important;
  transform: translateY(0);
}

.btn-visitar::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 1%, transparent 20%) repeat;
  background-size: 10px 10px;
  animation: shimmer 2s linear infinite;
  opacity: 0.4;
}

@keyframes shimmer {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}


img.hero-imagesSec {
    width: 240px !important;
    height: 400px !important;
}



.producto-carrusel {
  width: 300px;
  text-align: center;
  margin-bottom: 20px;
}

.carrusel-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 10px;
}

.carrusel-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
}

.dot.active {
  background: #333;
}

.carrusel {
  overflow: hidden;
  width: 100%;
  height: 300px;
  position: relative;
}

.carrusel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrusel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
}

.sobre {
    display: grid
;
    align-items: center;
    justify-content: space-evenly;
    gap: 40px;
    width: 90%;
    grid-template-columns: 1fr 1fr;
}
.sobre video {
    width: 79%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.4s 
ease, box-shadow 0.4s 
ease;
}



.hero-img-container {
  position: relative;
  cursor: pointer;
  transition: transform .5s ease;
}

.hero-img-container:hover {
  scale: 1.05;
}

.hero-overlay {
  position: absolute;
  bottom: 9px;
  left: 3px;
  width: 97%;
  height: 97%;
  border-radius: 120px;
  background: #22222277;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display';
  font-size: 1.6rem;
  text-align: center;
  opacity: 0;
  transition: opacity .4s ease, font-size .4s ease, color .4s ease;
}

.hero-img-container:hover .hero-overlay {
  opacity: 1;
  color: #d8b980;
  font-size: 2rem;
}

.texto-hover {
  pointer-events: none;
}
/* 🔥 Texto parpadeante */
.click-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  color: white;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
  font-weight: bold;
  animation: blink 1.2s infinite ease-in-out;
  opacity: 0.9;
  pointer-events: none;
  font-family: 'Playfair Display';
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}




/* ================================
   🔥 RESPONSIVE – VISTA MOBILE
   Cambia completamente la estructura
=================================== */
@media (max-width: 768px) {

    /* HERO en columna */
    .hero {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        background: linear-gradient(to bottom, #fffdfa 40%, #f5ebdb);
        gap: 20px;
    }

    .hero-text span {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 18px;
    }

    /* Imágenes grandes centradas */
    .hero-images {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .hero-img-container {
        width: 90%;
        max-width: 330px;
    }

    .hero-imagesSec.hero-img {
        width: 100% !important;
        height: 380px !important;
        object-fit: cover;
        border-radius: 30px;
    }

    /* Overlay más visible en mobile */
    .hero-overlay {
        font-size: 1.8rem;
        opacity: 1; /* SIEMPRE visible en móvil */
        background: rgb(0 0 0 / 0%);
    }


    /* ================================
       MÁS PEDIDOS
    =================================== */

    .productos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .producto-carrusel {
        width: 90%;
    }

    .carrusel {
        height: 250px;
    }

    .carrusel-card {
        padding: 15px;
    }

    .producto-info h4 {
        font-size: 18px;
    }

    .btn-comprar {
        font-size: 15px;
        padding: 8px 16px;
    }


    /* ================================
       SOBRE NOSOTROS
    =================================== */

    .sobre {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .sobre video {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        height: auto;
    }

    .sobre-texto p {
        font-size: 18px;
        padding: 0 10px;
        line-height: 1.5;
    }


    /* ================================
       TESTIMONIOS (si usa cards)
    =================================== */
    .testimonios-container,
    .testimonios-slider {
        width: 100% !important;
        overflow-x: auto;
    }

    /* ================================
       FOOTER
    =================================== */
    footer {
        text-align: center;
        padding: 25px 10px;
    }
}
