.Logo{
    width: 110px;
    border-radius: 50%; 

}
body{
    background-color: #fafafa;
}

.mi-navbar{
    background-color: #F4D03F;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);  
}
section[id] {
  scroll-margin-top: 130px;}  /*Ajusta este valor al alto de tu navbar */
.nav-link{
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem; 
    color: #000000;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(184, 134, 11, 0.8);
    margin: 0 15px;
}
.nav-link:hover{
    background-color: #f5e6d3;

}
.portada{
    width: 100%;
    height: 90vh;
    
}
.btn.btn-outline-success{
    
    color:#000000;
    border-color:#f5e6d3;

}
.btn.btn-outline-success:hover{
    background-color:#f5e6d3;
  
}
.carousel{
    margin: 0 1%;
  }
  #Presentaciones {
    text-align: center;
    padding: 50px 20px; /* Espaciado alrededor del texto */
    background-color: #fafafa; /* Fondo suave */
    border-radius: 8px;
    margin-top: 20px;
}
#HISTORIA {
    padding: 60px 20px;
    background-color: #fafafa;  /* Fondo suave */
    color: #333;  /* Color general del texto */
    text-align: center;  /* Centrado del texto */
}

.Titulopri{
    font-family: 'Libre Baskerville', serif;
    margin: 35px;
    font-size: 3rem;
    color: #000000;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(184, 134, 11, 0.8);
}
.parrafo_historia{
  font-family: 'Georgia', serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px auto; /* Centrado y margen inferior */
    padding: 0 20px;
}
.card-title1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    font-weight: bold;
    color: #b88d3a;
    margin-top: 40px;
    text-transform: uppercase;
}
.video {
    max-width: 100%;
    height: auto;
    margin: 30px 0;  /* Espaciado alrededor del video */
    border-radius: 8px; /* Bordes redondeados para el video */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Sombra sutil */
}

.card {
     height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
    
}
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Estilos generales para los beneficios */
/* Estilos generales para los beneficios */
.beneficio-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Georgia', serif;
    height: 220px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #555;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.beneficio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.beneficio-card:nth-child(odd) {
    border: 4px solid #b88d3a;
}

/* Diseño responsive */
@media (max-width: 768px) {
    .row > [class*="col-"] {
        flex: 0 0 100%; /* Cada tarjeta ocupa toda la fila */
        max-width: 100%;
    }

    .Titulopri {
        font-size: 2rem; /* Ajusta el tamaño del título */
    }

    .beneficio-card {
        font-size: 1rem; /* Ajusta la fuente */
        padding: 15px;   /* Reduce el padding */
        height: auto;    /* Permite que la tarjeta se ajuste al contenido */
    }
}

.new-tag {
    position: absolute; /* Posicionar la etiqueta sobre la imagen */
    top: 10px; /* Ajusta la distancia desde el borde superior */
    left: 10px; /* Ajusta la distancia desde el borde izquierdo */
    background-color: #ff5733; /* Color de fondo para la notificación */
    color: white; /* Color del texto */
    font-size: 14px; /* Tamaño de la fuente */
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2; /* Asegura que la etiqueta esté por encima de la imagen */
    animation: moveUpDown 1s ease-in-out infinite; /* Llama a la animación para mover */
}
/* Animación para mover la etiqueta hacia arriba y abajo */
@keyframes moveUpDown {
    0% {
        transform: translateY(0); /* Comienza en su posición original */
    }
    50% {
        transform: translateY(-10px); /* Mueve hacia arriba */
    }
    100% {
        transform: translateY(0); /* Regresa a su posición original */
    }
}
/* Efecto hover (opcional, para que la animación se active solo al pasar el ratón) */
.card:hover .new-tag {
    animation: moveUpDown 1s ease-in-out infinite; /* Activa la animación solo en hover */
}
.card-img-top {
    width: 100%; /* Asegura que la imagen cubra todo el espacio del contenedor */
    height: 250px;
    border-radius: 5px;
    object-fit: cover;
}

.card-title{
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.6rem;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
    margin-bottom: 0.5rem;
}
.order{
    margin-top: 1rem;
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  font-family: 'Libre Baskerville', serif;
  border: none;
}
.order:hover{
    background-color:#1ebe5b;
}
.Titulo{
    font-family:'Libre Baskerville', serif;
    font-weight: bold;
    text-align: center;
    font-size: 2.0rem;
}
.descripcion{
    font-family:'Libre Baskerville', serif;
    text-align: center;
    font-size: 1.7rem;
}

.card-text{
    text-align: justify;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;               
    margin-bottom: 1rem;           
    line-height: 1.5; 
    flex-grow: 1;
}
.boton:hover{
    background-color: #F4D03F ;
}
.dropdown-menu{
    font-family: 'Libre Baskerville', serif ;
    background-color:#f5e6d3 ;
}
.presentacion{
    height: 300px;              
    object-fit: cover;          
    width: 100%;                
    border-top-left-radius: 0.375rem; 
    border-top-right-radius: 0.375rem;
}
.parrafo{
    text-align: justify;
    font-size: 1.7rem; 
    font-family: 'Libre Baskerville', serif;
    padding: 15px;
    margin: 0 auto;
    width: 83%;
    
}
.crianza{
    margin-left: 15%;
     margin-right: 15%;
     max-width: 100%; 
     border-radius: 8px;

}
.col-12{
    display: flex;
     justify-content: center;
     flex-wrap: wrap;
     padding: 20px;
}

.criado{
    width: 18rem;
    text-align: center;
    margin: 30px;
}
.video {
  display: block;
  margin: 0 auto;
  width: 80%;
}

.main{
  margin-top:50px;
   background-color:#CFAE70;
  padding: 20px;
  text-align: center;
  border-top: 2px solid #ccc;
}
.footer-wrapper .footer-icon,
.footer-wrapper .footer-icon:visited {
  display: inline-block;
  background-color: #fff;
  width: 60px;
  height: 60px;
  border: 0;
  line-height: 60px;
  margin: 0 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 28%;
  box-shadow: 0 5px 15px -5px rgba(0,0,0,0.1);
  opacity: 0.99;
}
.footer-wrapper .footer-icon:before {
  content: '';
  width: 120%;
  height: 120%;
  position: absolute;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.footer-wrapper .footer-icon,
.footer-wrapper .footer-icon:before,
.footer-wrapper .footer-icon svg{
  transition: all 0.35s;
  transition-timing-function: cubic-bezier(0.31, -0.105, 0.43, 1.59);
  outline: 0;
}
.footer-wrapper .footer-icon:before {
  top: 90%;
  left: -110%;
}
.footer-wrapper .footer-icon:focus,
.footer-wrapper .footer-icon:hover{
    background-color: transparent;
}
.footer-wrapper .footer-icon svg{
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  height: 60px;
  margin: auto;
  font-size: 0;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.footer-wrapper .footer-icon.facebook:before {
  background-color: #3b5998;
}


/* .footer-wrapper .footer-icon.twitter:before {
  background-color: #3cf;
} */
/* .footer-wrapper .footer-icon.google:before {
  background-color: #dc4a38;
} */
/* .footer-wrapper .footer-icon.linkedin:before{
  background-color: #0072FF;
} */
.footer-wrapper .footer-icon.youtube:before {
  background-color: #E02F2F;
}
.footer-wrapper .footer-icon.youtube:hover svg g path,
.footer-wrapper .footer-icon.youtube:focus svg g path {
  fill:#fff;
}
.footer-wrapper .footer-icon.youtube:hover svg g polygon,
.footer-wrapper .footer-icon.youtube:focus svg g polygon {
  fill:#E02F2F;
}

.footer-wrapper .footer-icon.WhatsApp:before {
    background-color: #25d366;
}


.footer-wrapper .footer-icon:focus:before,
.footer-wrapper .footer-icon:hover:before {
  top: -10%;
  left: -10%;
}
.footer-wrapper .footer-icon:focus svg,
.footer-wrapper .footer-icon:hover svg 
{
  fill:#fff;
  color: #fff;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: inline-block;
    
}

.whatsapp-icon {
    width: 80px; /* Ajusta el tamaño del ícono */
    height: 80px; /* Ajusta el tamaño del ícono */
    border-radius: 25%;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.whatsapp-icon:hover {
    transform: scale(1.1); /* Efecto hover para hacer más grande el ícono */
}
/* Botón de WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}

/* Ventana flotante */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  background-color:white;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
  font-family: Arial, sans-serif;
}

/* Encabezado del chat */
.chat-header {
  background-color: #004aad;
  color: white;
  padding: 10px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Cuerpo del chat */
.chat-body {
  padding: 15px;
  font-size: 14px;
  color: #333;
}

.chat-button {
  display: block;
  text-align: center;
  background-color: #25d366;
  color: white;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.chat-button:hover {
  background-color: #1ebe5b;
}

.CONTACTOS{
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    color: #FFF;
    text-align: center;
    margin: 20px 0;
    border-radius: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.crop{
  font-weight: bold;
  font-family: 'Libre Baskerville', serif;
  color: #FFF;
  text-align: center;
  margin: 10px;
}
/* Animación que rota el elemento en 360 grados en Y */
@keyframes rotar {
  from {
    transform: perspective(1000px) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) rotateY(360deg);
  }
}

/* Contenedor principal con posición relativa y tamaño fijo, se habilita contexto 3D para hijos */
.box { 
    position: relative;
    width: 225px;
    height: 225px;
    transform-style: preserve-3d; 
    transition: 1.5s;
    animation: rotar 15s linear infinite;
    animation-play-state: running; 
    margin-top: 100px;

    
}

/* Pausa la animación cuando el mouse está sobre la caja */
.box:hover {
    animation-play-state: paused;
}

/* Cada span dentro de .box está absolutamente posicionado para formar caras del cubo 3D */
.box span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center; 
    transform-style: preserve-3d; 
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(300px); 
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004); 
}

/* Imagen dentro de cada span, cubre todo el contenedor, evita selección de usuario */
.box span img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    user-select: none; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border-radius: 10px; 
}

/* Contenedor para botones, posicionados en la parte inferior y separados */
.btns{
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 30px;
}

/* Estilos para cada botón circular */
.btns .btn{
    position: relative;
    width: 60px;
    height: 60px;
    border: 2px solid #050505;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; 
}

.box span img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px 5px rgba(255, 199, 44, 0.8);
    cursor: pointer; 
    background: #FFFFFF;
}
.header {
    background-color: #f5d4d6; 
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px; 
}
.contairner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.Cuy h2{
   font-weight: bold;
  font-family: 'Libre Baskerville', serif;
  font-size: 1.8rem;
  color: #b88d3a; 
}
.Cuy{
  margin: 60px;
  padding: 20px;
  padding-left: 10%;
  padding-right: 10%;
  font-family:'Libre Baskerville', serif ;
  font-size: 1.6rem;
}
.proceso{
  font-family: 'Libre Baskerville', serif;
  text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    color: #b88d3a;
    margin-top: 40px;
    text-transform: uppercase;
}
 .paso {
  margin: 60px;
  padding: 20px;
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  align-items: flex-start; /* Alinea los elementos arriba si hay varias líneas */
  gap: 10px; /* Espacio entre el círculo y el texto */
  margin-bottom: 20px; /* espacio entre cada paso */
}

.icono {
  background-color: green;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  font-size: 16px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.contenido {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem;
}
.separador {
  border: none;
  border-top: 3px solid #b8860b; 
   width: 80%;                     /* Ancho limitado */
  margin: 40px auto;            
}
.mitips {
  max-width: 600px;
  margin: 50px auto;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.mitips h2 {
  position: absolute;
  font-family: 'Libre Baskerville', serif;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color:#b88d3a;
  font-weight: bold;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  font-size: 1.8rem;
}

.tips {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
}
/* Estilos de la tarjeta animada */
.contenedor-tarjeta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; 
  justify-content: center;
}

.tarjeta {
  font-family: 'Libre Baskerville', serif;
  display: flex;             /* convierte la tarjeta en fila */
  flex-direction: row;       /* contenido en horizontal */
  align-items: center;       /* centra verticalmente */
  width: 500px;              /* ancho mayor para horizontal */
  padding: 15px;
  border-radius: 10%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
}
.tarjeta p {
  font-size: 1.6rem; /* texto de los pasos más grande */

}
/* Efecto de borde animado */
.tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;  /* cubre toda la tarjeta */
    width: 100%;   /* cubre toda la tarjeta */
    border-radius: 10%; /* para coincidir con la tarjeta */
   background-image: conic-gradient(orange 20deg, #f9d57e 20deg, transparent 120deg);
    opacity: 0.6;  /* opcional, para que no tape el contenido */
    z-index: 0;    /* detrás del contenido y del ::after */
    animation: rotar-borde 2s linear infinite;
}
/* Animación del borde */
@keyframes rotar-borde {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Interior de la tarjeta */
.tarjeta::after {
    content: '';
    position: absolute;
    top: 0;
  left: 0;
  height: 100%;
  width: 100%;
    /* background-color:#ccc; */
  border-radius: 10%;
  box-shadow: inset 16px 14px 20px #0000008c;
  z-index: 1;
}
.tarjeta * {
    position: relative;
    z-index: 2;
    color: #000;        /* color del texto */
    text-align: center; /* centra el texto */
    margin: 5px 0;      /* espacio entre elementos */
    word-wrap: break-word; /* evita que el texto se salga */
}
