/* Estilos para páginas de cabañas - Mobile First */

header {
  padding: 40px var(--spacing-md) !important;
}

section {
  padding: var(--spacing-lg) var(--spacing-md) !important;
}

h1, h2 {
  color: var(--color-primary);
}

.cabin-features {
  background: #f9f9f9;
  padding: var(--spacing-lg);
  border-radius: 12px;
  margin: 24px 0;
}

.cabin-features h2 {
  margin-top: 0;
}

.cabin-features ul {
  list-style: none;
  padding: 0;
}

.cabin-features li {
  padding: 12px;
  background: white;
  margin-bottom: 8px;
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  line-height: 1.6;
  font-weight: 500;
}

.cabin-features li:before {
  content: "✓ ";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 8px;
}

/* Galería */
.galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.galeria img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}

.galeria img:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Botones */
.boton {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1f4d33 100%);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid rgba(46,93,67,0.9);
}

.boton:hover {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0f2818 100%);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.14);
  color: white;
}

/* iframe mapa */
iframe {
  border-radius: 12px;
  margin-top: 16px;
}

/* Calendario simple */
.simple-calendar {
  max-width: 360px;
  background: white;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  margin-top: 12px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calendar-month {
  font-weight: 700;
  color: var(--color-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
}

.calendar-day {
  padding: 8px 6px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  background: #eaf8ee; /* light green available */
  color: #1a5a2f;
}

.calendar-day.occupied {
  background: #ffecec;
  color: #9b1a1a;
}

.calendar-legend {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-light);
}

.calendar-legend .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.calendar-legend .available { background: #25D366; }
.calendar-legend .occupied { background: #ff6b6b; }

/* Botones del calendario */
.cal-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0 4px;
}

.calendar-header { display:flex; align-items:center; justify-content:space-between; gap:8px }
.calendar-header .left, .calendar-header .right { display:flex; align-items:center }
.calendar-month { flex: 1; text-align:center }

/* Contacto */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  margin: 24px 0;
  text-align: center;
}

.contact-section h2,
.contact-section a {
  color: white;
}

.contact-section a {
  font-weight: 700;
  font-size: 18px;
}

/* Tablet */
@media (min-width: 768px) {
  header {
    padding: 50px 32px !important;
  }

  section {
    max-width: 1100px !important;
    padding: 48px 32px !important;
  }

  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}
