/* ============================================
   ESTILO APP RESERVA — VERSION GLASS PREMIUM
   Identidad visual igual a "Nosotros"
============================================ */

/* ============================================================
   IMPORTACIÓN DE FUENTES
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* Fondo general */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #eef1f7 0%, #f7f7fb 40%, #ffffff 100%);
  color: #1f2937;
}

/* Encabezado tipo app */
.header-app {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 0 0 18px 18px;
}

.header-app h1 {
  margin: 0 auto;
  font-size: 22px;
  font-weight: 600;
}

.back-btn {
  font-size: 22px;
  text-decoration: none;
  color: #4f46e5;
  font-weight: bold;
}

/* Contenedor general */
.app-container {
  padding: 22px;
  max-width: 900px;
  margin: auto;
}

/* Barra de progreso */
.progress-bar {
  position: sticky;
  top: 0;
  height: 6px;
  background: rgba(0,0,0,0.05);
  z-index: 11;
}
#progress-fill {
  height: 6px;
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  width: 20%;
  border-radius: 10px;
  transition: width .3s ease;
}

/* PASOS */
.paso { display: none; }
.paso.active {
  display: block;
  animation: fadeUp .5s ease;
}

/* ============================================
   CARDS GLASS
============================================ */
.card-app {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

/* TITULOS DE SECCIÓN */
h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #1f2937;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ============================================
   INPUTS
============================================ */
input, textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  margin-top: 8px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.8);
  font-size: 15px;
}

/* ============================================
   BOTONES — estilo LunaTravel
============================================ */
.btn-app {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: .25s ease;
}

.btn-app.primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  box-shadow: 0 6px 14px rgba(79,70,229,0.35);
}
.btn-app.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(79,70,229,.45);
}

.btn-app.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 6px 14px rgba(16,185,129,0.35);
}

.btn-app:hover {
  opacity: 0.95;
}

/* ============================================================
   GALERÍA PEQUEÑA + LIGHTBOX
============================================================ */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.galeria-grid img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  transition: .25s;
  cursor: pointer;
}

.galeria-grid img:hover {
  transform: scale(1.08);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
}

/* Imagen grande */
#lightbox-img {
  position: absolute;
  max-width: 92%;
  max-height: 92%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Botón cerrar */
.close-lightbox-btn {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* Flechas */
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  padding: 10px 16px;
  transition: .3s;
  user-select: none;
}

/* Posiciona la flecha PREVIA a la izquierda */
#prev-img {
  left: 20px; /* Ajusta este valor al gusto */
}

/* Posiciona la flecha SIGUIENTE a la derecha */
#next-img {
  right: 20px; /* Ajusta este valor al gusto */
}

/* Si quieres que se vean mejor cuando el fondo es oscuro, puedes asegurarte de que estén encima de todo */
#prev-img, #next-img {
  z-index: 200; /* Asegura que estén sobre la imagen */
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

/* ============================================
   ANIMACIONES
============================================ */
@keyframes fadeUp {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
