
/**
 * Shanty Apartasuites — style.css
 * assets/style.css
 * AimAndJoy · Franz + Joy
 */

/* ══════════════════════════════════════════
   HERO SLIDER FULLSCREEN
══════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #0a0a0a;
}

.slider-track {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide.active { opacity: 1; }

/* Overlay degradado para legibilidad del texto */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.55) 100%
  );
}

/* Placeholders mientras no hay fotos reales */
.slide-ph-1 { background-color: #2a3a4a; background-image: repeating-linear-gradient(45deg,rgba(255,255,255,0.03) 0,rgba(255,255,255,0.03) 1px,transparent 0,transparent 50%); background-size: 20px 20px; }
.slide-ph-2 { background-color: #1a2a3a; background-image: repeating-linear-gradient(-45deg,rgba(255,255,255,0.03) 0,rgba(255,255,255,0.03) 1px,transparent 0,transparent 50%); background-size: 20px 20px; }
.slide-ph-3 { background-color: #2a2a3a; }
.slide-ph-4 { background-color: #1a3a2a; }
.slide-ph-5 { background-color: #3a2a1a; }

/* Etiqueta de placeholder — se quita cuando hay fotos reales */
.slide-label {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

/* Contenido del hero */
.hero-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.hero-eyebrow {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.hero-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 0 0 6px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  letter-spacing: -0.01em;
}
.hero-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.hero-cta {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #111;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-cta:hover { background: #f0f0f0; transform: translateY(-1px); }
.hero-cta svg { flex-shrink: 0; }

/* Flechas de navegación */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.25); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 7px;
}
.sdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}
.sdot.active {
  background: #fff;
  transform: scale(1.35);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(255,255,255,0.4);
  animation: bounce-hint 2s infinite;
}
@keyframes bounce-hint {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ══════════════════════════════════════════
   NAV FANTASMA → SÓLIDO AL SCROLL
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
  padding: 22px 0;
}

/* Estado fantasma (sobre el hero) */
.site-header.ghost {
  background: transparent;
  box-shadow: none;
}

/* Estado sólido (al hacer scroll) */
.site-header.solid {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 14px 0;
}

/* Logo en ghost = blanco */
.site-header.ghost .logo-text { color: #fff; }
.site-header.ghost .logo-text small { color: rgba(255,255,255,0.65); }
.site-header.ghost .logo-mark svg { stroke: #fff; }

/* Nav links en ghost = blancos */
.site-header.ghost .nav-link { color: rgba(255,255,255,0.85); }
.site-header.ghost .nav-link:hover { color: #fff; }
.site-header.ghost .nav-link.active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Botones icono en ghost */
.site-header.ghost .btn-icon { color: rgba(255,255,255,0.85); }
.site-header.ghost .btn-icon:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Hamburger en ghost */
.site-header.ghost .nav-toggle { color: rgba(255,255,255,0.85); }

/* WhatsApp siempre verde */
.site-header.ghost .btn-icon.whatsapp { background: rgba(37,211,102,0.2); color: #25D366; }
.site-header.ghost .btn-icon.whatsapp:hover { background: rgba(37,211,102,0.3); }

/* ══════════════════════════════════════════
   SECCIONES DE CONTENIDO
══════════════════════════════════════════ */

/* Franja tagline — "Cómodo, práctico y moderno" */
.tagline-strip {
  background: #fff;
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tagline-strip h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.tagline-strip p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Trust bar */
.trust-bar {
  background: #f8f8f8;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}
.trust-item svg { color: #00B4A0; flex-shrink: 0; }
.trust-item span.muted { font-weight: 400; color: #888; font-size: 0.8rem; display: block; }

/* Hospedaje */
.hospedaje-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) { .hospedaje-grid { grid-template-columns: 1fr; } }

.hospedaje-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}
.hospedaje-img {
  height: 220px;
  background: #e8e8e8;
  position: relative;
  overflow: hidden;
}
.hospedaje-img .ph-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #bbb;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-family: 'Space Mono', monospace;
}
.hospedaje-img svg { width: 32px; height: 32px; opacity: 0.4; }

/* Slider mini dentro de hospedaje */
.mini-slider { position: relative; height: 220px; }
.mini-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.mini-slide.active { opacity: 1; }
.mini-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.mini-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s;
}
.mini-dot.active { background: #fff; }

.hospedaje-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hospedaje-body h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.hospedaje-body p { font-size: 0.88rem; color: #555; line-height: 1.6; margin: 0 0 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: #f0f0f0;
  color: #444;
  font-weight: 500;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.service-img {
  height: 140px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
}
.service-img svg { width: 28px; height: 28px; opacity: 0.35; display: block; margin: 0 auto 4px; }
.service-label {
  padding: 12px 8px;
}
.service-label strong {
  display: block;
  font-size: 0.82rem;
  color: #222;
  font-weight: 700;
}
.service-label span {
  font-size: 0.72rem;
  color: #888;
}

/* Fotos grandes servicios */
.services-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.services-photos .sph {
  height: 160px;
  background: #ddd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
}
@media (max-width: 500px) { .services-photos { grid-template-columns: 1fr; } }

/* Ubicación */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) { .ubicacion-grid { grid-template-columns: 1fr; } }

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  height: 320px;
  background: #ddd;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

