/* General */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}
/* Fondo oscuro con blur */
.gif-intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor del video */
.gif-content {
  position: relative;
  max-width: 90%;
  width: 800px;
  animation: popIn 0.6s ease-out;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* Video responsivo */
.video-fluid {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Botones */
.intro-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.btn-skip,
.btn-cerrar-gif {
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  border: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-skip:hover,
.btn-cerrar-gif:hover {
  background: #ffd740;
}

/* Animación de aparición */
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}




/* ========== HEADER ESTILO BASE ARTESANAL + ANIMADO ========== */

/* Fondo texturizado artesanal */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: url('img/fondo_textura.jpg') center/cover no-repeat, #f8f3e8;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: fadeDown 0.8s ease-out;
}

/* Contenedor */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Logo */
.header .logo {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}
.header .logo:hover {
  transform: scale(1.05);
}

/* Texto al lado del logo */
.natural-text {
  font-family: 'Abril Fatface', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ac8124;
  margin-left: 20px;
  animation: fadeInRight 1s ease;
}

/* Menú principal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-item {
  margin-left: 10px;
}
.nav-link {
  font-weight: bold;
  font-size: 1.2rem;
   font-family: 'Caveat', cursive; /* Letra manuscrita */
  text-decoration: none;
  color: #333;
  padding: 15px 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.nav-link:hover {
  background-color: #D99A24;
  color: #fff;
}

/* Redes sociales */
.social-icons {
  display: flex;
  align-items: center;
}
.social-icons a {
  color: #5a4223;
  font-size: 1.4rem;
  margin-left: 15px;
  transition: transform 0.3s, color 0.3s;
}
.social-icons a:hover {
  color: #D99A24;
  transform: scale(1.2);
}

/* Botón hamburguesa (solo en móvil) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  transition: transform 0.3s ease;
}
.menu-toggle:hover {
  transform: scale(1.1);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fffef5;
  width: 100%;
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
}
.mobile-nav-link {
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
     font-family: 'Caveat', cursive; /* Letra manuscrita */
  border-bottom: 1px solid #eee;
   transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-nav-link:hover {
  background-color: #FFF3CD;
  color: #D99A24;
}

/* Responsive: oculta menú principal y muestra móvil */
@media (max-width: 992px) {
  .nav-menu,
  .social-icons {
    display: none !important;
  }
  .menu-toggle {
    display: block !important;
  }
  .mobile-menu.show {
    display: flex !important;
    animation: slideDown 0.4s ease-out;
  }
}

/* ========== ANIMACIONES ========== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}



/* CARRUSEL */
/* Fondo cálido y artesanal */
.carrusel-video {
background: none !important; 
  padding: 0rem 0;
  position: relative;
  overflow: hidden;
  
}
.carousel-inner video {
  object-fit: cover;
  max-height: 800px;
 
}



/* Estilo suave para las imágenes del carrusel */
.carrusel-artesanal .carousel-item img {
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: fadeInSlide 0.8s ease-in-out both;
}

/* Indicadores personalizados */
.carrusel-video .carousel-indicators li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #d99a24;
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 6px;
}

.carrusel-video .carousel-indicators .active {
  opacity: 1;
  background-color: #a86f14;
  transform: scale(1.2);
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.3);
}

/* Controles del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%) sepia(20%) saturate(600%) hue-rotate(0deg) brightness(90%);
}

/* Animación entre slides */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .carrusel-video .carousel-item img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }
}


/* Estilo para los iconos de redes sociales */
.social-icons a {
    color: #000;
    font-size: 2rem; /* Tamaño más grande para mayor visibilidad */
    margin-left: 15px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #D99A24; /* Amarillo */
}
/* Alineación de los elementos del header */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.header-left {
    display: flex;
    align-items: center;
}
.header-nav {
    display: flex;
    align-items: center;
}
.header-left img {
    margin: 0; /* Elimina margen de la imagen */
    padding: 0; /* Elimina padding de la imagen */
}


/* HERO MODERNO Y ANIMADO */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
                url('img/f2.jpeg') no-repeat center center fixed;
    background-size: cover;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .logo {
    width: 300px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out forwards;
}

.hero h1 {
    font-family: 'Caveat', cursive; /* Letra manuscrita */
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}


.hero p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 15px auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero p:nth-of-type(1) { animation-delay: 0.8s; }
.hero p:nth-of-type(2) { animation-delay: 1.1s; }
.hero p:nth-of-type(3) { animation-delay: 1.4s; }
.hero p:nth-of-type(4) { animation-delay: 1.7s; }

.hero .btn {
    background-color: #ffc107;
    color: #000;
    padding: 12px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 2s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: #e0a800;
}

/* Animaciones */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}




/* Fondo emocional con imagen de campo */
/* Fondo con imagen emocional */
.historia-emocional {
  background-image: url("img/f4.jpeg"); /* Cambia por tu imagen real */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #fff;
}

.historia-emocional::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Filtro oscuro cálido */
  z-index: 1;
}

.historia-emocional .container {
  position: relative;
  z-index: 2;
}

/* Título personalizado */
.titulo-historia {
  font-family: 'Caveat', cursive;
  font-size: 2.8rem;
  color: #FFD54F;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  animation: slideInDown 1.2s ease forwards;
  opacity: 0;
  margin-bottom: 1rem;
}

@keyframes slideInDown {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Párrafos */
.historia-texto {
  font-size: 1.15rem;
  color: #f5f5f5;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
  margin-bottom: 1.2rem;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Botón con estilo atractivo */
/* Botón con estilo atractivo */
.btn-historia {
   background-color: #d99a24;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      text-decoration: none !important;
  color: white !important;
}

.btn-historia:hover {
  background-color: #b8801e;
    transform: scale(1.08);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}


/* Fondo cálido y estilo artesanal */
.contacto-section {
  background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
}

/* Imagen con estilo decorativo */
.contacto-img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
.contacto-img:hover {
  transform: scale(1.05);
}

.contacto-title {
  font-size: 3.5rem;
   font-family: 'Caveat', cursive;
  color: #d68910;
  font-weight: 700;
  position: relative;
  animation: fadeInUp 1s ease-in-out;
}

/* Íconos con animación sutil */
.contacto-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  transition: transform 0.3s ease;
}
.contacto-item:hover .contacto-icon {
  transform: scale(1.2) rotate(8deg);
}

/* Botón cálido con animación */
.btn-contacto {
  background-color: #d99a24;
  
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  animation: fadeIn 1.3s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
  color: #fff;
}
.btn-contacto:hover {
  background-color: #f0a824;
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .contacto-img {
    max-width: 80%;
    margin-bottom: 2rem;
  }

  .contacto-title {
    font-size: 2rem;
    text-align: center;
  }

  .btn-contacto {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}


/* Footer */
footer p {
    margin: 0;
}
/* Estilo para el Footer */
footer {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-color: #343a40; /* Oscuro */
    color: #fff; /* Texto blanco */
}

footer a {
    text-decoration: none;
    color: #D99A24; /* Amarillo */
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffd65e; /* Amarillo más claro */
}





/* formulario contactos*/
/* Estilo del formulario */
form {
    max-width: 800px; /* Limita el ancho del formulario para que no se estire demasiado */
    margin: 0 auto; /* Centra el formulario en la página */
    padding: 20px; /* Añade espacio alrededor del formulario */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco translúcido */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave para profundidad */
}

.form-group {
    margin-bottom: 1.5rem; /* Espacio entre los campos */
}

label {
    font-weight: bold; /* Resalta las etiquetas */
    margin-bottom: 0.5rem; /* Espacio entre la etiqueta y el campo */
    font-size: 1.1rem; /* Aumenta el tamaño de la fuente */
}

input, textarea {
    width: 100%; /* Hace que los campos ocupen todo el ancho disponible */
    padding: 0.8rem; /* Añade espacio dentro de los campos */
    font-size: 1rem; /* Tamaño de la fuente más grande */
    border: 1px solid #ccc; /* Borde suave */
    border-radius: 5px; /* Bordes redondeados */
    background-color: #f9f9f9; /* Fondo claro para los campos */
    transition: border-color 0.3s, box-shadow 0.3s; /* Transición suave */
}

input:focus, textarea:focus {
    border-color: #ffc107; /* Color amarillo al hacer foco */
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.6); /* Resalta con sombra cuando está en foco */
}

button {
    padding: 10px 20px; /* Aumenta el tamaño del botón */
    font-size: 1.2rem; /* Aumenta el tamaño de la fuente del botón */
    background-color: #ffc107; /* Fondo amarillo */
    color: #000; /* Texto en negro */
    border: none;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor a mano */
    transition: background-color 0.3s, transform 0.3s; /* Transición suave */
}

button:hover {
    background-color: #e0a800; /* Amarillo más oscuro al pasar el ratón */
    transform: translateY(-2px); /* Efecto de elevación */
}

button:active {
    transform: translateY(0); /* Vuelve a la posición original al hacer clic */
}

/* Asegura que los campos tengan el mismo tamaño en dispositivos móviles */
@media (max-width: 768px) {
    form {
        padding: 15px; /* Menos relleno en pantallas pequeñas */
    }

    .form-group {
        margin-bottom: 1rem; /* Menos espacio entre los campos */
    }

    label {
        font-size: 1rem; /* Fuente más pequeña en pantallas pequeñas */
    }

    input, textarea {
        padding: 0.6rem; /* Reducir el espacio dentro de los campos */
    }

    button {
        padding: 8px 16px; /* Menos relleno en el botón */
        font-size: 1rem; /* Fuente más pequeña en el botón */
    }
}
/* Sección del carrusel */
#carouselGallerySection {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

#carouselGallerySection h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.carousel-inner img {
    height: 400px; /* Ajusta según la proporción de tus imágenes */
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.carousel-inner img:hover {
    transform: scale(1.05);
}

/* Modal para imagen ampliada */
.modal-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: hidden;
}

.modal-carousel img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover {
    transform: scale(1.2);
}
.footer-logo {
    height: 20px; /* Ajusta el tamaño del logo */
    width: auto;
    margin-left: 8px;
}
/* Fondo dinámico con efecto sutil de desplazamiento */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/f1.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -2;
  animation: fondoMovimiento 60s linear infinite;
  opacity: 0.3;
  transform: scale(1.1);
}

@keyframes fondoMovimiento {
  0% {
    transform: scale(1.1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-20px, -20px);
  }
  100% {
    transform: scale(1.1) translate(0, 0);
  }
}

/* Fade-in para secciones al cargar */
section {
  animation: fadeInSection 1s ease-in-out both;
}

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zoom suave al pasar el mouse en imágenes */
img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease-in-out;
}

/* Aparición suave de los títulos */
h1, h2, h3, .card-title {
  animation: fadeSlide 0.8s ease-out both;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botones con efecto al hacer hover */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/* Animación al cargar las tarjetas */
.card {
  animation: fadeCard 0.8s ease-in-out;
}

@keyframes fadeCard {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }




 


}


 /*PROCESOS*/

 .fondo-unico {
  background: url('img/f1.jpeg') center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* hace que no se mueva al hacer scroll (efecto parallax suave) */
  padding: 0;
}

.section-video {
  background-color: rgba(255, 255, 255, 0.8); /* fondo cálido */
  
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 60px 0;
  position: relative;
}

.section-video h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #8B5E3C;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.section-video p.lead {
  font-size: 1.2rem;
  color: #5e4b2c;
  animation: fadeInUp 1.2s ease-in-out;
}

.section-video iframe {
  border: 6px solid #d9a66a; /* marco dorado artesanal */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.section-video iframe:hover {
  transform: scale(1.02);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* nuestra hsitoria */

.section-bg {
  background-image: url('img/fondo1.jpeg'); /* tu fondo artesanal */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Superposición oscura */
.section-bg .overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 25, 10, 0.719); /* Filtro cálido oscuro */
  z-index: 1;
}

/* Contenido encima de la superposición */
.section-bg .container {
  position: relative;
  z-index: 2;
}

/* Tipografía del título evocando tradición */
.title-historia {
  font-family: 'Caveat', cursive; /* Letra manuscrita */ /* Puedes cambiar por "Marcellus SC", "Cormorant Garamond", etc. */
  letter-spacing: 1px;
  color: #fff3d5;
  text-shadow: 1px 1px 2px #00000077;
}

/* Animaciones de fade-in en scroll */
.fade-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botón hover animado */
.btn-hover-anim {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-hover-anim:hover {
  background-color: #ffdb6b;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}



/* Fondo y filtro cálido */
.section-mision {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.overlay-mision {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 35, 10, 0.534); /* filtro cálido tipo fique o yute */
  z-index: 1;
}

.section-mision .container {
  position: relative;
  z-index: 2;
}

/* Fuente artesanal para título */
.titulo-mision {
  font-family: 'Caveat', cursive; /* Puedes usar 'Cormorant Garamond' o 'Cinzel' */
  color: #fff7e6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInTop 1.2s ease-out forwards;
}

/* Párrafos animados */
.texto-mision {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

/* Botón atractivo */
.btn-mision {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-mision:hover {
  background-color: #ffd95b;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Animaciones */
@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ==== VISIÓN ==== */
.section-vision {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.overlay-vision {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 26, 15, 0.603); /* capa oscura translúcida */
  z-index: 1;
}

.section-vision .container {
  position: relative;
  z-index: 2;
}

/* Título elegante */
.titulo-vision {
  font-family: 'Caveat', cursive;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  color: #ffe7ba;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInTop 1.2s ease-out forwards;
}

/* Animaciones en los textos */
.texto-vision {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

/* Botón con animación hover */
.btn-vision {
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-vision:hover {
  background-color: #ffda6a;
  transform: scale(1.07);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Animaciones clave */
@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ===== OBJETIVOS ===== */
.section-objetivos {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.overlay-objetivos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 20, 7, 0.616); /* Filtro oscuro artesanal */
  z-index: 1;
}

.section-objetivos .container {
  position: relative;
  z-index: 2;
}

/* Título */
.titulo-objetivo {
  font-family: 'Caveat', cursive;
  color: #fff6da;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInDown 1.2s ease-out;
}

/* Lista de objetivos */
.objetivos-lista li {
  margin-bottom: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInLeft 1s ease-out forwards;
}

.objetivos-lista li:nth-child(1) { animation-delay: 0.3s; }
.objetivos-lista li:nth-child(2) { animation-delay: 0.5s; }
.objetivos-lista li:nth-child(3) { animation-delay: 0.7s; }
.objetivos-lista li:nth-child(4) { animation-delay: 0.9s; }

.icono {
  color: #6dbf4b; /* Cambia este valor por el color que desees */
  font-size: 1.5rem;
  margin-right: 10px;
  animation: bounce 1.5s infinite;
}


/* Párrafos descriptivos */
.texto-objetivo {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInRight 1.2s ease-out forwards;
  animation-delay: 0.6s;
}

/* Botón con escala */
.btn-objetivo {
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.btn-objetivo:hover {
  background-color: #ffda6a;
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Animaciones */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(40px);
  }
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
/* Carrusel general */
#carouselGallerySection {
  position: relative;
  background-color: #fef7ec;
}


.carousel-inner {
  position: relative;
}
-control-prev.custom-control {
  left: 15px;
}

.carousel-control-next.custom-control {
  right: 15px;
}

/* Íconos dentro de los controles */
.control-icon {
  color: #fff;
  font-size: 1.6rem;
  transition: transform 0.2s ease;
}

.control-icon:hover {
  transform: scale(1.2);
}

/* Modal de imagen */
.modal-carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  animation: fadeInModal 0.5s ease;
}

.modal-carousel img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: scaleIn 0.5s ease;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close-btn:hover {
  color: #ffc107;
}

/* Animaciones */
@keyframes fadeInModal {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Fade in para título */
.animate-fade-up {
  animation: fadeUp 1s ease-in-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* CONTACTANOS */


/* ======== SECCIÓN UNIFICADA DE CONTACTO ======== */

.contacto-full-section {
  background-image: url('img/f7.jpeg'); /* Imagen de fondo */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: rgba(255, 255, 255, 0.212);
}

.contacto-full-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(35, 20, 10, 0.712); /* Filtro cálido oscuro */
  z-index: 1;
}

.contacto-full-section .container {
  position: relative;
  z-index: 2;
}

.contacto-full-section .display-4 {
  font-family: 'Caveat', cursive;
  text-shadow: 2px 2px 5px rgb(187, 115, 21);
}

/* Fade animación */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Formulario dentro */
.contacto-full-section form {
  background-color: #fffdf83f;
}

.contacto-full-section .form-control {
  border-radius: 6px;
  border: 1px solid #cccccc3a;
}

.contacto-full-section .form-control:focus {
  border-color: #d99a24;
  box-shadow: 0 0 4px rgba(217, 154, 36, 0.5);
}

.contacto-full-section .btn-warning {
  font-weight: bold;
  background-color: #ffc107;
  transition: all 0.3s ease;
}

.contacto-full-section .btn-warning:hover {
  background-color: #ffdd33;
  transform: scale(1.05);
}

.contacto-full-section .map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .contacto-full-section .row > div {
    margin-bottom: 2rem;
  }
}
/* Fondo semitransparente suave para el formulario */
.formulario-transparente {
    font-family: 'Caveat', cursive;
  background-color: rgba(255, 255, 255, 0.9); /* Suave, NO totalmente blanco */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Fuente personalizada para la info de contacto */
.col-md-6 .contacto-info {
    font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.8;
}

/* Íconos alineados y espaciados */
.contacto-info i {
  margin-right: 30px;
  font-size: 1.2rem;
}

/* ==============================
   Estilos SOLO para carouselProductos
   ============================== */

/* Section sin márgenes/espacios externos */
.carrusel-artesanal { margin:0; padding:0; }

/* Ítems con fondo y blur de fondo (no del contenido) */
.carrusel-artesanal .carousel-item{
  position:relative;
  min-height: clamp(480px, 70vh, 820px);
  background-size:cover;
  background-position:center;
}
.carrusel-artesanal .carousel-item::before{
  content:"";
  position:absolute; inset:0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat:no-repeat;
  filter: blur(3px);                /* blur suave para todos */
  transform: scale(1.03);           /* evita bordes duros del blur */
  z-index:0;
}
/* Arracacha: fondo más desenfocado para “próximamente” */
.carrusel-artesanal .carousel-item.arracacha::before{
  filter: blur(8px) brightness(.85);
}

/* Layout de 3 columnas (izq-centro-der) */
.carrusel-artesanal .slide-content{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 22% 1fr 22%;
  align-items:center;
  gap: min(2.5vw, 28px);
  padding: min(4vw, 32px);          /* padding interno, no margen externo */
}

.carrusel-artesanal .img-circular {
  width: 150px !important;      /* ancho fijo */
  height: 150px !important;     /* alto fijo */
  border-radius: 50% !important;/* círculo perfecto */
  object-fit: cover !important; /* recorta la imagen */
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: block;
  position: relative;
  top: -30px;
  
}


/* Centro: paquete con zoom sutil */
.carrusel-artesanal .producto-img {
  width: min(480px, 48vw);
  height: auto;
  display: block;
  margin: 0 auto; /* centrado */
  
  /* Sombra más suave y realista */
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35))
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));

  /* Animación de entrada */
  animation: zoomIn 800ms cubic-bezier(.2,.8,.2,1);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efecto al pasar el mouse */
.carrusel-artesanal .producto-img:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4))
          drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/* Animación inicial */
@keyframes zoomIn {
  from { transform: translateY(14px) scale(.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}






/* Derecha: mapa + título de dpto + descripción */
.carrusel-artesanal .mapa-img{
  width: min(220px, 20vw);
  height:auto;
  display:block;
  margin-left:auto;
  margin-bottom: .5rem;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.25));
}
.carrusel-artesanal .depto{
 
  font-size: clamp(18px, 2.2vw, 24px);
  color:#fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  text-align:right;
  margin-bottom:.25rem;
}
.carrusel-artesanal .desc{
  color:#eee;
  text-align:right;
  max-width: 36ch;
  margin-left:auto;
}

/* Marca inferior izquierda */
.carrusel-artesanal .marca-izq{
  position:absolute; left:14px; bottom:12px;
  display:flex; align-items:center; gap:8px;
  color:#fff; font-weight:700;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.carrusel-artesanal .marca-icono{
  width:28px; height:28px; object-fit:contain; display:block;
}

/* Botón inferior derecha */
.carrusel-artesanal .btn-mas{
  position:absolute; right:14px; bottom:12px;
  display:inline-block;
  background:#ffc107; color:#111; text-decoration:none;
  font-weight:700; border-radius:28px;
  padding:10px 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.carrusel-artesanal .btn-mas:hover{ transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.3); background:#ffd24d; }

/* Controles limpios (blancos) */
.carrusel-artesanal .carousel-control-prev,
.carrusel-artesanal .carousel-control-next{
  background:transparent !important; border:none !important; box-shadow:none !important;

}
.carrusel-artesanal .carousel-control-prev-icon,
.carrusel-artesanal .carousel-control-next-icon{
  filter:none !important; background-image:none !important; width:2.6rem; height:2.6rem;
}
.carrusel-artesanal .carousel-control-prev-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}
.carrusel-artesanal .carousel-control-next-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l5 5a.5.5 0 0 1 0 .708l-5 5a.5.5 0 0 1-.708-.708L9.293 7 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

/* Responsive: centrar paquete y ocultar columnas laterales en móvil */
@media (max-width: 768px){
  .carrusel-artesanal .slide-content{
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 10px;
  }
  .img-circular{
    display: none !important;
  }
  .carrusel-artesanal .col-right{ display:none; }
  .carrusel-artesanal .producto-img{ margin: 0 auto; width: 70vw; }
  .carrusel-artesanal .btn-mas{ right:10px; bottom:-80px; }
  .carrusel-artesanal .marca-izq{ left:5px; bottom:-80px; }
}
.carrusel-artesanal .carousel-control-prev,
.carrusel-artesanal .carousel-control-next {
  
  height: 90px; /* alto reducido */
  top: 50%;

  
}

/* -----------------------------
   Tablas nutricionales estilo torta
   Solo dentro de carrusel-artesanal
----------------------------- */
/* Tabla nutricional estilo torta */

/* -----------------------------
   Tablas nutricionales estilo torta (Crunchsnacks)
   SOLO afecta dentro de carrusel-artesanal
----------------------------- */
/* ====== SOLO afecta a este carrusel ====== */
.carrusel-artesanal { margin:0; padding:0; }
.carrusel-artesanal .carousel-item {
  position: relative;
  min-height: clamp(420px, 70vh, 880px);
  background: #000;
}


/* Mostrar UN solo video según dispositivo */
.carrusel-artesanal .video-desktop,
.carrusel-artesanal .video-mobile 
{ display:none; }

/* 📱 Móviles pequeños (hasta 480px) */

/* 📱📲 Tablets y móviles grandes (481px a 1024px) */
@media (min-width: 320px) and (max-width: 343px) {
  .carrusel-artesanal .video-mobile {
    display: block;
   max-height: 610px
  }
}

@media (width: 344px) {
  .carrusel-artesanal .video-mobile {
    display: block;
    max-height: 640px;
  }
}

/* 📱📲 Tablets y móviles grandes (481px a 1024px) */
@media (min-width: 345px) and (max-width: 374px) {
  .carrusel-artesanal .video-mobile {
    display: block;
   max-height: 690px
  }
}

/* 📱📲 Tablets y móviles grandes (481px a 1024px) */
@media (min-width: 375px) and (max-width: 414px) {
  .carrusel-artesanal .video-mobile {
    display: block;
   max-height: 780px
  }
}

@media (width: 390px) {
  .carrusel-artesanal .video-mobile {
    display: block;
    max-height: 710px
    
  }
}

/* 📱📲 Tablets y móviles grandes (481px a 1024px) */
@media (min-width: 415px) and (max-width: 480px) {
  .carrusel-artesanal .video-mobile {
    display: block;
   max-height: 760px
  }
}


/* 📱📲 Tablets y móviles grandes (481px a 1024px) */
@media (min-width: 481px) and (max-width: 768px) {
  .carrusel-artesanal .video-mobile {
    display: block;
   max-height: 1190px
  }
}
/* 📱📲 Tablets iPad / iPhone (768px a 1024px) */
/* 📱 Tablets (768px a 1024px, incluidos iPad/iPhone grandes) */
@media (min-width: 768px) and (max-width: 1024px) {
  .carrusel-artesanal .video-mobile {
    display: block;
    width: 100%;
    height: auto;
    max-height: 120vh; /* ocupa el 80% del alto visible */
    margin: 0 auto;
  }
  
}
/* 💻 Escritorios estándar (1025px a 1599px) */
@media (min-width: 1025px) and (max-width: 1599px) {
  .carrusel-artesanal .video-desktop {
    display: block;
   
  }
}

/* 🖥️ Pantallas grandes y ultrawide (1600px en adelante) */
@media (min-width: 1600px) {
  .carrusel-artesanal .video-desktop {
    display: block;
    max-height: 1580px
  
  }
}


/* (Opcional) etiqueta “Próximamente” */
.carrusel-artesanal .arracacha-label{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  color:#fff; background:rgba(0,0,0,.45); padding:.6rem 1rem; border-radius:12px;
  font-weight:700; letter-spacing:.5px;
}

/* Flechas limpias y blancas, sin tintes globales */
.carrusel-artesanal .carousel-control-prev,
.carrusel-artesanal .carousel-control-next { background:transparent !important; border:none !important; box-shadow:none !important; }
.carrusel-artesanal .carousel-control-prev-icon,
.carrusel-artesanal .carousel-control-next-icon{
  filter:none !important; background-image:none !important; width:2.6rem; height:2.6rem;
}
.carrusel-artesanal .carousel-control-prev-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}
.carrusel-artesanal .carousel-control-next-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l5 5a.5.5 0 0 1 0 .708l-5 5a.5.5 0 0 1-.708-.708L9.293 7 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

/* ==== AJUSTE SOLO PARA EL CARRUSEL DE VIDEO ==== */
/* =========================
   SOLO PARA CARRUSEL DE VIDEO
   ========================= */
.carrusel-artesanal .carrusel-video {
  position: relative;
  width: 100%;
  height: 700px;   /* altura controlada para los videos */
  margin: 0 auto;
  overflow: hidden;
}

.carrusel-artesanal .carrusel-video .carousel-item,
.carrusel-artesanal .carrusel-video .carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* que el video se adapte al bloque */
  display: block;
}

