/* ==========================================================================
   ESTILOS GENERALES Y CONFIGURACIÓN BASE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #05070a !important;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Capa de fondo con estrellas */
.space-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #0d1321 0%, #05070a 100%);
  pointer-events: none;
  overflow: hidden;
}

/* Animaciones de Estrellas y Estrellas Fugaces */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes shootingStar {
  0% {
    transform: translateX(0) translateY(0) rotate(-45deg) scale(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(-500px) translateY(500px) rotate(-45deg) scale(1);
    opacity: 0;
  }
}

.star {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  animation: twinkle var(--duration, 4s) infinite ease-in-out;
  animation-delay: var(--delay, 0s);
}

.shooting-star {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(212,175,55,0.8), transparent);
  opacity: 0;
}

.star-1 {
  top: 15%;
  right: 20%;
  animation: shootingStar 6s infinite ease-in 2s;
}

.star-2 {
  top: 35%;
  right: 50%;
  animation: shootingStar 8s infinite ease-in 5s;
}

/* Navegación */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.gold-l {
  color: #d4af37;
}

.logo-sub {
  display: block;
  font-size: 0.65rem;
  color: #a0a5b5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

.btn-nav {
  border: 1px solid #d4af37;
  padding: 8px 18px;
  border-radius: 20px;
  color: #d4af37 !important;
  transition: all 0.3s ease !important;
}

.btn-nav:hover {
  background-color: #d4af37;
  color: #05070a !important;
}

/* Componentes Principales */
.badge-subtitle {
  color: #d4af37;
  font-size: 0.8rem;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-section {
  padding: 160px 8% 100px 8%;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
  margin: 15px 0 20px 0;
}

.highlight {
  color: #d4af37;
}

.hero-description {
  color: #a0a5b5;
  font-size: 1.15rem;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background-color: #d4af37;
  color: #05070a;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  border: 1px solid #33394b;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Secciones y Tarjetas */
.section-container {
  padding: 80px 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-card {
  background: #0b0d12;
  border: 1px solid #1f2433;
  border-radius: 20px;
  padding: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 10px 0 20px 0;
}

.section-text {
  color: #a0a5b5;
  line-height: 1.8;
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.exp-card {
  background: #0b0d12;
  border: 1px solid #1f2433;
  padding: 30px;
  border-radius: 16px;
  transition: border-color 0.3s;
}

.exp-card:hover {
  border-color: #d4af37;
}

.exp-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.exp-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.exp-card p {
  color: #a0a5b5;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   ESTILOS PÁGINA DE RESERVA Y CALENDARIO
   ========================================================================== */

.booking-container {
  max-width: 780px;
  margin: 120px auto 60px auto;
  padding: 0 20px;
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin: 10px 0 15px 0;
}

.main-subtitle {
  color: #a0a5b5;
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.event-selector-card {
  margin-bottom: 30px;
}

.selector-label {
  display: block;
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.styled-select {
  width: 100%;
  padding: 16px 20px;
  background-color: #0b0d14;
  border: 1px solid #2d3345;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px;
}

.styled-select:focus, .styled-select:hover {
  border-color: #d4af37;
}

.calendar-card {
  background-color: #0b0d12;
  border: 1px solid #1f2433;
  border-radius: 18px;
  padding: 28px;
}

.calendar-header-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.step-number {
  background-color: #d4af37;
  color: #0b0d12;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-header-step h2 {
  color: #d4af37;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.calendar-month-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.month-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.btn-cal-arrow {
  background: transparent;
  border: 1px solid #2a3142;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: #8a90a2;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-cell {
  aspect-ratio: 1;
  background-color: transparent;
  border: 1px solid #1a202c;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.day-cell.empty {
  border: none;
  cursor: default;
}

.day-cell:hover:not(.empty) {
  transform: translateY(-2px);
  border-color: #ffffff;
}

.day-num {
  font-size: 1.1rem;
  font-weight: 600;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
  margin-top: 4px;
}

/* Categorías de Días */
.cat-planetas { background-color: #111a2e; border-color: #1e2c4a; color: #82aaff; }
.cat-luna-planetas { background-color: #0f241d; border-color: #1a4235; color: #43d9ad; }
.cat-luna-llena-planetas { background-color: #2b2210; border-color: #4a3a1b; color: #e2b952; }
.cat-reservado { background-color: #1f1215; border-color: #3b1c21; color: #733942; cursor: not-allowed; }

/* Leyenda */
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #1a202c;
  font-size: 0.8rem;
  color: #a0a5b5;
}

.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-color { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-luna-llena { background-color: #f1c40f; }
.legend-luna-llena-planetas { background-color: #e2b952; }
.legend-luna-planetas { background-color: #43d9ad; }
.legend-planetas { background-color: #82aaff; }
.legend-luna { background-color: #9b59b6; }
.legend-sin-obs { background-color: #7f8c8d; }
.legend-reservado { background-color: #e74c3c; }

/* Footer y WhatsApp */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 80px;
}

.float-wapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  z-index: 1000;
  transition: transform 0.2s;
}

.float-wapp:hover {
  transform: scale(1.1);
}