/* ===============================
   Optimized FutureNav Navbar CSS
   =============================== */

/* Base styles & Custom properties */
:root {
  --primary: #e1c616;
  --secondary: #d48806;
  --accent: #d5b31c;
  --navbar-bg: rgba(232, 139, 0, 0.7);
  --glass-effect: blur(12px);
  --border-glow: rgba(208, 136, 30, 0.3);
  --neon-shadow: 0 0 15px rgba(187, 178, 10, 0.5);
  --transition-normal: all 0.3s ease;
}

/* Reset & body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #ffffff;
  color: #f3f4f6;
  overflow-x: hidden;
  min-height: 100vh;
  padding: 0 20px; /* espacio horizontal para todo el contenido */
  margin: 0;
}
#mobile-menu {
  position: absolute;       /* debajo del navbar */
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(17,24,39,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  z-index: 40;
  transition: all 0.3s ease-in-out;
}
#mobile-menu a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Navbar */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color:#331906;
  backdrop-filter: var(--glass-effect);
  border-bottom: 1px solid var(--border-glow);
  z-index: 1000;
  transition: var(--transition-normal);
  height: 70px;
}

#navbar.scrolled {
  background-color: rgba(217, 180, 13, 0.9);
  box-shadow: 0 4px 20px rgba(56, 51, 41, 0.785);
  padding: 0.5rem 0;
}

/* Navbar Links */
.nav-link {
  position: relative;
  overflow: hidden;
  color: #fb9300;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(4, 4, 4, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), var(--primary));
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}


#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

#mobile-menu.open {
  max-height: 500px; /* o el alto que necesites */
}


#mobile-menu-button {
  background: transparent;
  border: none;
  cursor: pointer;
}

#line1, #line2, #line3 {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background-color: var(--secondary);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

#mobile-menu-button.active #line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-button.active #line2 {
  opacity: 0;
}

#mobile-menu-button.active #line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 767px) {
  .desktop-only { display: none; }
}

@media (min-width: 768px) {
  .mobile-only { display: none; }
}

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Salsa&display=swap");

/* Swiper Carrusel */
.swiper-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* content */
.content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 14%;
  left: 3%;
  width: 40%;
  max-width: 600px; /* límite máximo para pantallas grandes */
  height: max-content;
  color: #f2f2f2;
  text-align: center;
  padding: 20px;
  opacity: 0;
  z-index: 2;
}

.content h1 {
  
  font-family: "Salsa", cursive;
  font-size: clamp(2rem, 3vw, 6rem);
  margin-bottom: 20px;
  opacity: 0;
}

.content p {
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0;
}

.swiper-slide-active .content {
  opacity: 1;
}

.swiper-slide-active .content h1 {
  animation: moveDown 0.8s ease-in forwards;
}

.swiper-slide-active .content p {
  animation: moveDown 1s ease-in forwards;
  animation-delay: 1s;
}

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

/* background */
.background[data-item="one"] {
  background: url(./img/foto3.jpg);
  background-size: cover;
  background-position: 50% 40%;
}

.background[data-item="two"] {
  background: url(./img/foto2.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.background[data-item="three"] {
  background: url(./img/foto1.jpg);
  background-size: cover;
  background-position: 50% 40%;
}
.background[data-item="four"] {
  background: url(./img/foto4.jpg);
  background-size: cover;
  background-position: 50% 40%;
}
.background[data-item="Five"] {
  background: url(./img/foto5.jpg);
  background-size: cover;
  background-position: 50% 40%;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: circle(5%);
  filter: brightness(90%);
  overflow: hidden;
  opacity: 0;
  z-index: 1;
}

.animation {
  animation: resizeClipPath 3s ease-in-out forwards;
}

@keyframes resizeClipPath {
  0% { clip-path: circle(5%); opacity: 0; }
  100% { clip-path: circle(71%); opacity: 1; }
}

/* pagination bullets */
.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: #a3a6a3;
  border-radius: 50%;
  transition: all 0.6s ease-in-out;
}

.swiper-pagination-bullet-active {
  height: 32px;
  background-image: linear-gradient(180deg, #f09819 0%, #ff512f 100%);
  border-radius: 14px;
}

/* footer */
.footer {
  position: absolute;
  display: flex;
  justify-content: space-between;
  column-gap: 20px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: max-content;
  padding: 20px;
  color: #f2f2f2;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.feature i { font-size: 1.4rem; }
.feature p { font-weight: 700; }

.btn {
  display: block;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  padding: 15px 20px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0px 0px 14px -7px #f09819;
  background-image: linear-gradient(45deg, #ff512f 0%, #f09819 51%, #ff512f 100%);
  background-size: 200% auto;
  cursor: pointer;
  transition: 0.5s;
}

.btn:hover { background-position: right center; }
.btn:active { transform: scale(0.95); }

/* Logo */
.logo { position: fixed; right: -20px; bottom: -35px; z-index: 10; }
.logo img { width: 120px; }

@media (max-width: 890px) {
  .logo { right: -10px; bottom: -20px; }
  .logo img { width: 80px; }
}

/* ===========================
   ESTILOS GENERALES PARA CARDS VUE
=========================== */


body.cards-section {  
  background-color: var(--color-beige); /* #FFFFE5 */
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin: 40px 20px; /* espacio alrededor de los cards */
  -webkit-font-smoothing: antialiased;
}

.title {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem); /* tamaño responsivo */
  font-weight: 700;
  color: #5D4037;
  text-align: center;
  margin-bottom: 40px;

  /* Fondo y estilo */
  background-color: rgba(255, 171, 112, 0.7); /* dorado semi-transparente */
  padding: 10px 25px;
  border-radius: 15px;
  display: inline-block;   /* para que el fondo abarque solo el texto */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);

  /* Efecto flotante */
  animation: floatTitle 3s ease-in-out infinite;
}

/* Animación flotante */
@keyframes floatTitle {
  0% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  }
  50% {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  }
}

/* Centrar en la sección de cards */
.cards-section {
  text-align: center; /* asegura que todo quede centrado */
}


.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
  gap: 20px;
}

/* CARDS VUE */
.card-wrap {
  perspective: 800px;
  cursor: pointer;
}

.acard {
  position: relative;
  width: 240px;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(255,255,255,0.5) 0 0 0 6px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
  opacity: 0.5;
}

.card-info {
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: #fff;
  transform: translateY(40%);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.card-info h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  text-shadow: rgba(0,0,0,0.5) 0 10px 10px;
}

.card-info p {
  font-size: 14px;
  opacity: 0.9;
  text-shadow: black 0 2px 3px;
}

.card-wrap:hover .card-info { transform: translateY(0); }
.card-wrap:hover .card-info p { opacity: 1; }
.card-wrap:hover .acard {
  box-shadow: rgba(255,255,255,0.2) 0 0 40px 5px, white 0 0 0 1px,
              rgba(0,0,0,0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset white 0 0 0 6px;
}
.card-wrap:hover .card-bg {
  transform: scale(1.1);
  opacity: 0.7;
}

@media (max-width: 600px) {
  .acard { width: 200px; height: 280px; }
  .card-info h1 { font-size: 28px; }
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* espacio entre cards */
}

.cards-container card {
  display: block; /* importante para que flex/gap funcione */
  flex: 0 0 auto;
  width: 240px; /* igual que tu .acard */
}
@media (max-width: 768px) {
  .cards-container card {
    width: 200px;
  }
}
/* Base carrusel */
.carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texto centrado */
.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}

.carousel-text h1 {
  font-size: 60px;
  margin-bottom: 20px;
  color: #fffbfb;
  text-shadow:
    2px 2px 5px #000,
    0 0 10px #660000,
    0 0 20px #990000,
    0 0 30px #ff0000;
  animation: glow 2s ease-in-out infinite alternate, float 3s ease-in-out infinite;
}

.carousel-text p {
  font-size: 24px;
  color: hwb(0 100% 0%);
  text-shadow:
    1px 1px 5px #000,
    0 0 10px #950909,
    0 0 15px #990000;
  animation: float 3s ease-in-out infinite;
}

/* Efecto flotante */
.floating-text {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Glow animado para h1 */
@keyframes glow {
  0% { text-shadow: 2px 2px 5px #000, 0 0 10px #660000, 0 0 20px #990000, 0 0 30px #ff0000; }
  50% { text-shadow: 2px 2px 5px #000, 0 0 15px #cc0000, 0 0 25px #ff3300, 0 0 40px #ff6600; }
  100% { text-shadow: 2px 2px 5px #000, 0 0 10px #660000, 0 0 20px #990000, 0 0 30px #ff0000; }
}

/* Flechas */
.carousel-control {
  display: none; /* Oculta las flechas */
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.carousel-dots button.active {
  background: white;
}

/* ======================
   Responsive para tablets y móviles
====================== */
@media screen and (max-width: 1024px) {
  .carousel-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
  }
  .carousel-text p {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .carousel-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  .carousel-text p {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .carousel-text h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .carousel-text p {
    font-size: 16px;
  }
}

/* Sección Sobre Nosotros - Mejorada y responsive */
.sobre-nosotros {
  background-color: hsl(0, 7%, 97%); /* blanco hueso */
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;           /* Permite que los elementos bajen en pantallas pequeñas */
  align-items: center;       /* Centra verticalmente la imagen y el texto */
  justify-content: center;   /* Centra horizontalmente */
  gap: 30px;                 /* Espacio entre imagen y texto */
  width: 100%;               /* Ocupa todo el ancho de la pantalla */
  margin: 0;                 /* Sin margen lateral */
  box-sizing: border-box;    /* Asegura que el padding no desborde */
}


.sobre-nosotros img {
  max-width: 250px;          
  width: 100%;               
  height: auto;              
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.64);
  flex-shrink: 0;
  animation: flotarImg 3s ease-in-out infinite alternate; /* efecto flotante */
}

/* Efecto flotante para la imagen */
@keyframes flotarImg {
 0% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-15px); /* sube 15px */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* sombra más pronunciada */
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
}



.texto-nosotros {
  flex: 1 1 400px;           /* Se adapta al espacio disponible */
  max-width: 600px;
}

.texto-nosotros h2 {
  text-align: center;        
  margin-bottom: 30px;
  background-color: #e9780e52;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: 'Times New Roman', Times, serif;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;

  /* Tamaño de letra responsivo */
 font-size: clamp(1.8rem, 3vw, 2.5rem); /* tamaño más pequeño */
  /* Efecto flotante */
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Animación flotante */
@keyframes float {
  0% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-15px); /* sube 15px */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* sombra más pronunciada */
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
}
.texto-nosotros p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  color: #2c3e50;
  background: linear-gradient(135deg, #f7e9b9, #fff3cd7b);
  padding: 25px 30px;
  border-radius: 30px;
  box-shadow: 0 8px 15px rgba(243, 191, 70, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: flotar 3s ease-in-out infinite alternate; /* efecto flotante */
}

/* Efecto flotante */
@keyframes flotar {
  0% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-15px); /* sube 15px */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* sombra más pronunciada */
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }

}



.texto-nosotros p:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(243, 190, 70, 0.5);
}

/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
  .sobre-nosotros {
    flex-direction: column;  /* Imagen arriba, texto abajo */
    text-align: center;
  }

  .texto-nosotros p {
    text-align: center;      /* Centra el texto en móviles */
    padding: 20px;
    font-size: 1rem;
  }

  .texto-nosotros h2 {
    font-size: 1.5rem;
    padding: 8px 15px;
  }
}
#comentarios {
  width: 100%;
  min-height: 60vh;       /* antes era 100vh, ahora ocupa menos altura */
  padding: 40px 20px;     /* reduce el padding superior e inferior */
  background-color: #FFF8E1; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  box-sizing: border-box;
  margin-top: 50px;       /* separa el formulario de los cards */
}


#comentarios h2 {
  font-size: 2rem;
  color: #e09752;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
}

#comentarios form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;  /* fuerza columna */
  gap: 15px;               /* espacio uniforme entre cajas */
}

#comentarios label {
  font-size: 14px;
  color: #b87d33;
  margin-bottom: 5px;
}

#comentarios input[type="text"],
#comentarios input[type="email"],
#comentarios textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #f2d187;
  border-radius: 8px;
  box-sizing: border-box;   /* importante para que padding no distorsione */
  line-height: 1.4;         /* centra el texto verticalmente */
}

#comentarios textarea {
  height: 100px;
  resize: vertical;
}

#comentarios button[type="submit"] {
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  background-color: #e09752;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

#comentarios button[type="submit"]:hover {
  background-color: #d27c32;
}
#comentarios input[type="text"],
#comentarios input[type="email"],
#comentarios textarea {
    color: #333;           /* Color de letra oscuro */
    background-color: #fff; /* Fondo blanco */
}
#comentarios input::placeholder,
#comentarios textarea::placeholder {
    color: #999;  /* Gris medio */
}

.contacto {
  background-color: #FFF8E7; /* Fondo general crema */
  padding: 50px 20px;
  border-radius: 20px;
  max-width: 1100px;
  margin: 50px auto;
  font-family: 'Poppins', sans-serif;
}

.contacto h2 {
  font-size: 2.2rem;
  color: #e09752;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

/* Contenedor de dos columnas */
.contacto-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Cuadro de contactos */
.contactos {
  flex: 1 1 400px;
  background-color: #fff3cd;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.contactos h3 {
  text-align: center;
  color: #673e17;
  margin-bottom: 20px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contacto-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-item img:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.contacto-item p a {
  text-decoration: none;
  color: #673e17;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contacto-item p a:hover {
  color: #e09752;
}

/* Cuadro de ubicación */
.ubicacion {
  flex: 2 1 600px;
  background-color: #fff3cd;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.ubicacion h2 {
  text-align: center;
  color: #673e17;
  margin-bottom: 20px;
}

/* Iframe del mapa */
.ubicacion iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .contacto-container {
    flex-direction: column;
    align-items: center;
  }
  .contactos, .ubicacion {
    width: 100%;
    max-width: 600px;
  }
}
/* Referencia debajo del mapa */
.referencia-mapa {
  background-color: rgb(255, 206, 107);
  border-radius: 10px;
  font-size: 0.9rem;       /* tamaño más pequeño */
  color: #000000;          /* mismo tono que el h2 para armonía */
  margin-top: 10px;        /* separación del mapa */
  text-align: center;      /* centrado debajo del iframe */
  font-family: 'Times New Roman', Times, serif;      /* opcional, estilo de referencia */
}

/* Pie de página */
footer {
  background-color: #e09752;  /* Color naranja suave */
  color: #fff;                /* Texto blanco */
  font-family: 'Poppins', sans-serif;
  font-weight: 00;
  padding: 30px 0;
  margin-top: 50px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1); /* Sombra superior */
}

footer p {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff3cd; /* Cambio de color al pasar el mouse */
}
/* Pie de página de ancho completo */
footer {
  width: 100%;                  /* Ocupa todo el ancho */
  background-color: #e09752;    /* Color naranja suave */
  color: #fff;                  /* Texto blanco */
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 20px 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1); /* Sombra superior */
  position: relative;           /* Para que no se solape */
  left: 0;
  bottom: 0;
}

footer p {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff3cd; /* Cambio de color al pasar el mouse */
}
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

footer {
  width: 100%;
  background-color: #dbac80; /* Fondo crema/dorado */
  color: #1c1b1a;
  font-weight: 600;
  padding: 1rem 0;
  text-align: center;
  position: relative; /* asegura que no se corte */
  box-shadow: 0 -3px 10px rgba(0,0,0,0.1); /* sombra sutil */
}
/* ==============================
   Sección Contactos y Ubicación
   ============================== */

/* Fondo general de la sección */

/* =========================
   Contactos - centrado y efecto flotante
   
========================= */


.contacto {
  background-color: #F5F5DC; /* blanco hueso */
  width: 100%;               /* ocupa todo el ancho de la pantalla */
  padding: 50px 20px;        /* espacio interno */
  box-sizing: border-box;    /* asegura que el padding no afecte el ancho */
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;               /* ocupa todo el ancho del contenedor */
  max-width: 1200px;         /* opcional, para que los contenidos no se estiren demasiado */
  margin: 0 auto;            /* centrado horizontal */
}

.contactos, .ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado horizontal */
    gap: 1rem;
    flex: 1;
}

.contactos h2, .ubicacion h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #6c3909; /* Dorado */
    margin-bottom: 0.5rem;
}

.contactos p {
    max-width: 350px;
    text-align: center; /* Centra el texto */
    color: rgba(4, 4, 4, 0.9);
    font-size: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.contacto-item {
    display: flex;
    gap: 2rem; /* Espacio entre los íconos */
    margin-top: 1rem;
    justify-content: center; /* Centrado de los íconos */
}

.contacto-item a img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3); /* Brillo dorado */
}

.contacto-item a img:hover {
    transform: translateY(-10px) scale(1.2); /* Efecto flotante y agrandar */
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.6);
}

.ubicacion {
    text-align: center;
}

.ubicacion iframe {
    width: 100%;
    max-width: 400px; /* Más grande que antes */
    height: 250px;
    border: 0;
    border-radius: 12px;
}

.separador {
    width: 2px;
    background: linear-gradient(to bottom, #FFD700, #FFA500); /* Degradado dorado */
    margin: 0 1rem;
    align-self: stretch;
}.contacto-item a img {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    animation: float 3s ease-in-out infinite; /* Animación flotante */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-item a img:hover {
    transform: scale(1.2); /* Aumenta tamaño al pasar el mouse */
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.6);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}


/* Iframe mapa */
.ubicacion iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .contacto-container {
    flex-direction: column;
    align-items: center;
  }
  .contactos, .ubicacion {
    width: 100%;
    max-width: 600px;
  }
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra el card y el botón */
}

.btn-whatsapp {
  margin-top: 20px; /* separa el botón de la card */
  padding: 10px 20px;
  background-color: #eded25bb;
  color: rgb(15, 13, 13);
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  
  /* Animación flotante constante */
  animation: float 3s ease-in-out infinite;
  
  /* Transición para hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover: se eleva más y sombra más intensa */
.btn-whatsapp:hover {
  transform: translateY(-10px); /* eleva más al pasar el mouse */
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Animación flotante */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 600px) {
  .card-wrapper {
    width: 100%;
    max-width: 300px;
  }
}
/* ===============================
   Carrusel independiente
   =============================== */
#my-carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  z-index: 5; /* por debajo del navbar pero sobre contenido */
}

#my-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#my-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

#my-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#my-carousel .carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

#my-carousel .carousel-text h1 {
  font-size: 60px;
  color: #fffbfb;
  text-shadow: 2px 2px 5px #000, 0 0 10px #660000, 0 0 20px #990000, 0 0 30px #ff0000;
  animation: glow 2s ease-in-out infinite alternate, floatText 3s ease-in-out infinite;
}

#my-carousel .carousel-text p {
  font-size: 24px;
  color: #fff;
  text-shadow: 1px 1px 5px #000, 0 0 10px #950909, 0 0 15px #990000;
  animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes glow {
  0% { text-shadow: 2px 2px 5px #000, 0 0 10px #660000, 0 0 20px #990000, 0 0 30px #ff0000; }
  50% { text-shadow: 2px 2px 5px #000, 0 0 15px #cc0000, 0 0 25px #ff3300, 0 0 40px #ff6600; }
  100% { text-shadow: 2px 2px 5px #000, 0 0 10px #660000, 0 0 20px #990000, 0 0 30px #ff0000; }
}

/* Dots de navegación */
#my-carousel .carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

#my-carousel .carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

#my-carousel .carousel-dots button.active {
  background: white;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  #my-carousel .carousel-text h1 { font-size: 48px; }
  #my-carousel .carousel-text p { font-size: 20px; }
}

@media screen and (max-width: 768px) {
  #my-carousel .carousel-text h1 { font-size: 36px; }
  #my-carousel .carousel-text p { font-size: 18px; }
}

@media screen and (max-width: 480px) {
  #my-carousel .carousel-text h1 { font-size: 28px; }
  #my-carousel .carousel-text p { font-size: 16px; }
}
#navbar {
  position: relative; /* o fixed si quieres que quede fijo */
  z-index: 10;        /* mayor que el del carrusel */
}
#my-carousel {
  position: relative;
  z-index: 5; /* por debajo del navbar */
}
#my-carousel .carousel-slide {
  z-index: 1; /* asegúrate que no supere al navbar */
}
#my-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 5; /* igual que el carrusel */
}
#mobile-menu {
  display: none; /* Siempre oculto por defecto */
  background-color: rgba(255, 180, 4, 0.607); /* Fondo oscuro */

}

/* Cuando se abra mediante JS, añade la clase "open" */
#mobile-menu.open {
  display: flex;
}
/* Texto del correo debajo de los botones de contacto */
.contactos p.email-text {
  margin-top: 1rem;       /* Espacio por encima del texto */
  color: #000000;         /* Color visible sobre fondo oscuro */
  font-size: 1rem;        /* Tamaño de texto estándar */
  text-align: center;     /* Centrar el texto */
}
.email-text {
  margin-top: 2rem;      /* Ajusta el espacio que quieras */
  text-align: center;    /* Centrar el texto */
  color: #080808;        /* Color visible sobre fondo oscuro */
  font-size: 1rem;       /* Tamaño adecuado */
}

/* Opcional: darle estilo al enlace */
.email-text a {
  color: #ffa600;        /* Amarillo dorado para resaltar */
  text-decoration: underline;
}

.email-text a:hover {
  color: #a29200;        /* Naranja al pasar el mouse */
}
.floating-button {
  background-color: #f58b00b0; /* Dorado */
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  margin-top: 0.5rem; /* margen desde el correo hacia el botón */
  animation: float 1.5s ease-in-out infinite;
  position: absolute;
  left: 25%;           /* Centra horizontalmente */
  transform: translateX(30px); /* Ajusta cuánto quieres moverlo a la derecha */
}

