/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
/*body {
    margin: 0;
    padding: 0;
    background: url('https://www.provecaex.com/img/cms/fondoaz.jpg') repeat-y;
    background-size: cover;
    animation: mover-fondo-vertical 30s linear infinite;
}

@keyframes mover-fondo-vertical {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}
*/

/* Contenedor Padre */
.contenedor-padre {
    display: flex;
    flex-wrap: wrap; /* Permitir que los elementos se acomoden en múltiples filas */
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
    box-sizing: border-box;
}

/* Contenedor Hijo 1 */
.contenedor-hijo {
    display: flex;
    flex-direction: column;
    width: 48%; /* Ancho del contenedor izquierdo */
}

/* Imagen Superior (Hijo 1) */
.imagen-superior {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 509px;
    margin-bottom: 20px;
}

.imagen-superior img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-superior a:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Texto encima de la imagen */
.texto-imagen {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
	font-family: 'Trebuchet MS', sans-serif;
    color: #000;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
    z-index: 2;
    pointer-events: none;
	text-align: center;
}

/* Contenedor Inferior (Hijo 1) */
.contenedor-inferior {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/*Imagenes Contenedor inferior*/
.imagen-inferior-izquierda,
.imagen-inferior-derecha {
    position: relative;
    width: 48%; /* Mantiene el 48% del ancho */
    height: 508px; /* Altura fija para conservar proporciones */
    overflow: hidden;
}

.imagen-inferior-izquierda img,
.imagen-inferior-derecha img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-inferior-izquierda a:hover img,
.imagen-inferior-derecha a:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Contenedor Hijo 2 */
.contenedor-hijo-2 {
    display: flex;
    width: 48%; /* Ancho del contenedor derecho */
    gap: 10px;
}

/* Imagen Vertical Izquierda (Hijo 2) */
.imagen-izquierda {
    position: relative;
    width: 35%; /* Ancho ajustado para mantener proporción */
    height: 1053px;
    overflow: hidden;
}

.imagen-izquierda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-izquierda a:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Contenedor Derecho (Hijo 2) */
.contenedor-derecho {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    width: 65%;
}

/*Imagen Superior Contenedor derecha hijo 2*/
.imagen-derecha-superior {
    position: relative;
    width: 100%;
    height: 510px;
    overflow: hidden;
}

.imagen-derecha-superior img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-derecha-superior a:hover img {
    transform: scale(1.1); /* Efecto de zoom */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Sombra al hacer hover */
}

/*Imagen Inferior Contenedor derecha hijo 2*/
.imagen-derecha-inferior {
    position: relative;
    width: 100%;
    height: 510px;
    overflow: hidden;
}

.imagen-derecha-inferior img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-derecha-inferior a:hover img {
    transform: scale(1.1); /* Efecto de zoom */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Sombra al hacer hover */
}



/* Nuevos Hijos (Hijo 3 y Hijo 4) */
.contenedor-hijo-3, .contenedor-hijo-4 {
    width: 48%;
    margin-top: 20px;
    display: flex;
    flex-direction: space-between;
    gap: 10px; /* Espacio entre las filas */
}

/* Contenedores Horizontales dentro de Hijo 3 y 4 */
.contenedor-hijo-3-arriba, .contenedor-hijo-4-arriba,
.contenedor-hijo-3-abajo, .contenedor-hijo-4-abajo {
    width: 48%; /* Asegura que cada contenedor ocupe todo el ancho */
	height: 508px;
}

/*Imagenes Hijo 3*/
.imagen-horizontal-1, .imagen-horizontal-2 {
    position: relative;
    width: 100%; /* Ancho completo del contenedor */
    height: 100%; /* Altura de las imágenes */
    overflow: hidden;
}

.imagen-horizontal-1 img, .imagen-horizontal-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-horizontal-1 a:hover img, .imagen-horizontal-2 a:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/*Imagenes Hijo 4*/
.imagen-horizontal-3, .imagen-horizontal-4 {
    position: relative;
    width: 100%; /* Ancho completo del contenedor */
    height: 100%; /* Altura de las imágenes */
    overflow: hidden;
}

.imagen-horizontal-3 img, .imagen-horizontal-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.imagen-horizontal-3 a:hover img, .imagen-horizontal-4 a:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Contenedor general Charcuteria */
.selector-formato {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(246, 243, 236);
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
}

/* Título */
.selector-titulo {
  font-size: 2.8rem;
  color: #0F673D;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: selectorFadeInDown 1s ease-in-out;
}

/* Descripción */
.selector-descripcion {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 50px;
  max-width: 600px;
  line-height: 1.5;
}

/* Contenedor de botones */
.selector-botones {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botones */
.selector-btn {
  background: #0F673D;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 103, 61, 0.3);
}

/* Efecto hover */
.selector-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.selector-btn:hover::before {
  left: 0;
}

.selector-btn:hover {
  transform: scale(1.05);
  background: #138f55;
  box-shadow: 0 6px 14px rgba(15, 103, 61, 0.4);
}

/* Animación del título */
@keyframes selectorFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .contenedor-padre {
        flex-direction: column;
        gap: 20px;
    }
    .contenedor-hijo, .contenedor-hijo-2, .contenedor-hijo-3, .contenedor-hijo-4 {
        width: 100%;
    }
    .imagen-izquierda {
        width: 100%;
        height: auto;
    }
    .imagen-horizontal-1 {
        height: auto; /* Ajustar altura automáticamente */
    }
	.imagen-horizontal-2 {
        height: auto; /* Ajustar altura automáticamente */
    }
	.imagen-horizontal-3 {
        height: auto; /* Ajustar altura automáticamente */
    }
	.imagen-horizontal-4 {
        height: auto; /* Ajustar altura automáticamente */
    }
    .contenedor-derecho {
        width: 100%;
    }
	.selector-titulo {
    font-size: 2.2rem;
    }
   .selector-btn {
    width: 80%;
    }
}