/* Buena Vista Torrevieja - styles.css */

html { scroll-behavior: smooth; }

[x-cloak] { display: none !important; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Calendario */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.cal-day.empty { cursor: default; visibility: hidden; }
.cal-day.past { color: #cbd5d8; cursor: not-allowed; }
.cal-day.available { color: #1f5670; }
.cal-day.available:hover { background: #d8eaf2; }
.cal-day.occupied {
  background: #fee;
  color: #c44;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.6;
}
.cal-day.selected {
  background: #2c6e88 !important;
  color: white !important;
}
.cal-day.in-range {
  background: #d8eaf2;
  color: #1f5670;
  border-radius: 0;
}
.cal-day.range-start { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cal-day.range-end { border-top-left-radius: 0; border-bottom-left-radius: 0; }

.cal-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #c9a458;
  padding: 0.5rem 0;
  letter-spacing: 0.1em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Animación scroll indicator */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%      { transform: translateY(-8px) translateX(-50%); }
}

/* Vídeo cover fallback en móvil (Safari iOS a veces no autoplays) */
@media (max-width: 640px) {
  video[poster] { background-size: cover; }
}
