* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #000000ef;
    background-color: #fff;
    scroll-behavior: smooth;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

header {
    position: relative;
    background-image: url("https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504051/tajmahal_ioucig.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}
  
header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(243, 164, 90, 0.269);
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

header.visible::before {
    opacity: 1;
}
  
header * {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

header h1,
header p {
    text-shadow: 2px 2px 8px rgb(134, 58, 0);
}

header p {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.4;
}

.logo-header {
    max-width: 300px;
    width: 80%;
    height: auto;
    margin: 0 auto 0px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(250, 113, 0, 0.98));
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e89f2c;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background-color: #cf8512;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

nav {
    background-color: #fff;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
    margin-bottom: -50px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.497);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 10px 0;
}

nav li {
    margin: 10px 15px;
}

nav a {
    color: #444;
    text-decoration: none;
    font-weight: bold;
    padding: 8px;
}

nav a:hover {
    color: #e89f2c;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section p, section ul {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

ul li {
    margin-bottom: 10px;
}

footer {
    background: #f4f4f4;
    padding: 30px 0;
    font-size: 0.9rem;
    color: #777;
}

/* 📱 Mobile-friendly adjustments */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s ease-out forwards;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.seccion {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}
  
.container {
    max-width: 1000px;
    margin: 0 auto;
}
  
.titulo-seccion {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #d9730d; /* naranja espiritual */
}
  
.texto-seccion {
    font-size: 1.2em;
    color: #333;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.carrusel-fondo {
    position: relative;
    height: 65vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.carrusel-fondo .carrusel-imagenes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.carrusel-fondo .imagen {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carrusel-fondo .imagen.active {
    opacity: 1;
    z-index: 2;
}

.carrusel-fondo .fondo1 {
    background-image: url('https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504076/carrusel1_csitg3.jpg');
}

.carrusel-fondo .fondo2 {
    background-image: url('https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504074/carrusel3_jhfldb.jpg');
}

.carrusel-fondo .fondo3 {
    background-image: url('https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504066/carrusel2_yee2xw.png');
}
.carrusel-fondo .fondo4 {
    background-image: url('https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504024/carrusel4_fn0fhp.jpg');
}

.carrusel-fondo .contenido {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    font-weight: 900;
    font-size: 2.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.iconos-alma {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: auto;
}
  
.icono-item {
    width: 80px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}
  
.icono-item.revealed {
    opacity: 1;
    transform: scale(1);
}
  
.icono-item:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.fondo-suave {
    position: relative;
    background-image: url('https://res.cloudinary.com/dzjrupcg0/image/upload/v1754504036/fondo-sobre_gkylsh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fondo-suave.revealed {
    opacity: 1;
}

.fondo-suave::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.617);
    z-index: 0;
}

/* Aseguramos que el contenido de la sección quede por encima */
.fondo-suave > .container {
    position: relative;
    z-index: 1;
}

/* Estilo para #incluye: lista sin puntos y animación */
#incluye ul {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
  
#incluye ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
  
#incluye ul li.revealed {
    opacity: 1;
    transform: translateY(0);
}

#incluye .texto-seccion {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#incluye.revealed .texto-seccion {
    opacity: 1;
    transform: translateY(0);
}


#itinerario a {
    color: #e89f2c;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
  }
  
  #itinerario a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #e89f2c;
    transition: background-color 0.3s ease;
  }
  
  #itinerario a:hover {
    color: #cf8512;
  }
  
  #itinerario a:hover::after {
    background-color: #cf8512;
  }
  
  #itinerario i {
    margin-left: 5px;
    font-size: 1em;
  }
  
  @keyframes resaltarLink {
    0%   { transform: scale(1); opacity: 1; color: #000; text-shadow: none; }
    25%  { transform: scale(1); opacity: 1; color: #ff7300; text-shadow: 0 0 8px #ff7300; }
    50%  { transform: scale(0.95); opacity: 0.9; }
    75%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; color: #000; text-shadow: none; }
  }
  
  #itinerario a.resaltado {
    animation: resaltarLink 1.2s ease-out 1;
  }

  #contacto {
    text-align: center;
    padding: 60px 20px;
    background-color: #fef9f3;
  }
  
  #contacto .titulo-seccion {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  /* Contenedor de botones en fila, con gap y centrado */
  .contacto-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    
  }
  
  /* Botones flexibles, con min-width para no achicarse demasiado */
  .contacto-item {
    flex: 1 1 300px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: white;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    text-align: center;
    word-break: normal;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.2;
  }
  
  
  
  
  /* Hover más llamativo */
  .contacto-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: #fffdf7;
  }
  
  /* El texto dentro del botón no tiene scroll ni overflow */
  .contacto-item a {
    white-space: normal;
    max-width: 100%;
    display: inline;
    color: inherit;
    text-decoration: none;
  }
  
  /* Íconos con tamaño y color fijo */
  .contacto-item i {
    margin-right: 10px;
    font-size: 1.4rem;
    color: #ff9800;
  }
  
  
  /* Animación */
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive para móviles */
  @media (max-width: 768px) {
    .contacto-links {
      flex-direction: column;
      align-items: center;
      padding: 0 10px;
      margin: 0 auto;
      max-width: 500px;
    }
  
    .contacto-item {
        font-size: 0.95rem;
        padding: 14px 20px;
      flex: 1 1 100%;
      min-width: auto;
      width: 100%;
    }
  }
  
  .seccion:last-of-type {
    margin-bottom: 120px;
  }



  @media (max-width: 600px) {
    .logos-container img {
      max-width: 70px;
    }
  }
  
  .banner-incluye-container {
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.banner-incluye-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

.banner-incluye {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.seccion-corta {
    padding: 20px 20px;
}

.incluye-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  
  .incluye-texto {
    flex: 1 1 50%;
    min-width: 280px;
  }
  
  .incluye-imagen {
    flex: 1 1 45%;
    min-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
  }
  
  .incluye-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }
  
  @media (max-width: 768px) {
    .incluye-flex {
      flex-direction: column;
      align-items: center;
    }
  
    .incluye-texto,
    .incluye-imagen {
      flex: 1 1 100%;
      max-width: 100%;
    }
  
    .incluye-imagen {
      margin-top: 30px;
    }
  }
  .separador-decorativo {
    border: none;
    height: 2px;
    width: 120px;
    margin: 40px auto;
    background: linear-gradient(to right, #f5ad5c, #d9730d);
    border-radius: 10px;
  }

  .banner-incluye-container {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
  }
  
  .banner-incluye-container.reveal {
    opacity: 1;
    transform: scale(1);
  }
  
  .banner-incluye {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  
 /* NAVBAR GENERAL */
.navbar {
  backdrop-filter: blur(8px);
  background-color: rgba(245, 240, 229, 0.7); /* o el color que uses */
  position: sticky; /* o fixed, depende tu diseño */
  top: 50px; /* arranca justo debajo del banner */
  z-index: 2000; /* arriba del banner */
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  min-height: 60px;   /* ✅ altura mínima para que no sobresalga */
}

/* reemplazar la regla .nav-container existente por esta */
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between; /* logo a un lado, hamburguesa al otro */
  align-items: center;            /* centra verticalmente */
  min-height: 60px;               /* asegura altura */
  position: relative;             /* <-- IMPORTANTE: crea el contexto para .nav-links absolute */
}



/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
}


/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  max-width: 100%;   /* <-- nueva línea */
  box-sizing: border-box; /* <-- nueva línea */
  justify-content: center;   /* <-- centrado horizontal */
  align-items: center;
  margin: 0 auto;            /* <-- asegura centrado dentro del contenedor */
}


.nav-links a {
  color: #444;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e89f2c;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    transform: translateX(100%); /* menú oculto fuera de pantalla */
    max-width: 100vw;            /* evita ancho extra */
    overflow-x: hidden;          /* corta desbordes horizontales */
  }

  .nav-links.active {
    transform: translateX(0);    /* entra en pantalla */
  }

  .nav-links.active {
    transform: translateX(0);
  }
}

.banner-fouita {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px; /* altura real del banner */
  z-index: 1000; /* debajo del nav */
}

.navbar {
  position: sticky; /* o fixed, depende tu diseño */
  top: 50px; /* arranca justo debajo del banner */
  z-index: 2000; /* arriba del banner */
}

/* Contenedor y burbuja del chatbot */
.chatbot-container {
  position: fixed;
  bottom: 100px; /* Ajusta según la altura del widget del chat existente */
  right: 30px;   /* Ajusta lateral */
  z-index: 3000; /* Superior al widget de Botpress, asegúrate que supere el z-index del widget real */
  display: flex;
  align-items: center;
}

.chatbot-bubble {
  background: #f4f4f4;
  color: #333;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  animation: fadeIn 0.6s ease-in-out;
  position: relative;
}

.chatbot-bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #f4f4f4;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@media (max-width: 768px) {
  .chatbot-container {
    bottom: 100px; /* Aumentamos espacio en móvil si el widget ocupa más */
    right: 20px;
  }

  .chatbot-bubble {
    font-size: 13px;
    padding: 8px 12px;
  }

  .chatbot-bubble::after {
    right: -6px;
    border-left: 6px solid #f4f4f4;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }
}

