/* Estilos específicos para detalle.php - No afectan al index */

.detalle_main {
  position: relative;
  width: 100%;
  color: #ffffff;
  display: block;
  padding: 2em 3em;
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
}

/* Sección Header: Video y Título */
.detalle_header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  margin-bottom: 3em;
  padding: 2em 0;
}

.video_section {
  position: relative;
}

.video_label {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5em 1.5em;
  border-radius: 30px;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 0.5em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video_mute {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  margin-bottom: 1em;
  padding-left: 0.5em;
}

.video_container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
}

.detalle_video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

.title_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detalle_title_label,
.detalle_intro_label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

.detalle_title {
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 0.5em 0;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.detalle_intro {
  font-size: 1.1em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Sección de Datos */
.detalle_data {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2em;
  margin-bottom: 3em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.data_info {
  display: flex;
  gap: 2em;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
}

.data_info_item {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex: 1;
  min-width: 150px;
}

.data_info_label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data_info_value {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2em;
  font-weight: 600;
}

.data_destinos {
  padding-top: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  align-items: center;
}

.destinos_label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.destinos_list {
  color: rgba(255, 255, 255, 0.9);
}

/* Sección Principal: Itinerario y Detalles */
.detalle_content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3em;
  margin-bottom: 3em;
}

.section_title {
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 0 1.5em 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Columna Izquierda: Itinerario */
.itinerary_section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.itinerary_list {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.itinerary_accordion_item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.itinerary_accordion_item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.itinerary_accordion_item.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.itinerary_date_label {
  padding: 0.75em 1.5em;
  background: linear-gradient(135deg, #13601f 0%, #1a8b2c 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px 12px 0 0;
}

.itinerary_accordion_header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25em;
  padding: 1.5em;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.itinerary_accordion_header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #13601f 0%, #1a8b2c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.itinerary_accordion_item.active .itinerary_accordion_header::before {
  opacity: 1;
}

.itinerary_accordion_header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.itinerary_accordion_header:focus {
  outline: none;
}

.itinerary_number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #13601f 0%, #1a8b2c 100%);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(19, 96, 31, 0.5);
  transition: all 0.3s ease;
}

.itinerary_accordion_item.active .itinerary_number {
  box-shadow: 0 6px 16px rgba(19, 96, 31, 0.6);
  transform: scale(1.05);
}

.itinerary_text {
  flex: 1;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.itinerary_accordion_item.active .itinerary_text {
  color: #ffffff;
  font-weight: 600;
}

.itinerary_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.2em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 1;
}

.itinerary_accordion_item.active .itinerary_icon {
  color: #ffffff;
  background: linear-gradient(135deg, #13601f 0%, #1a8b2c 100%);
  transform: rotate(180deg);
  box-shadow: 0 4px 12px rgba(19, 96, 31, 0.4);
}

.itinerary_accordion_content {
  display: none;
  padding: 0 1.5em;
  background: rgba(0, 0, 0, 0.2);
}

.itinerary_accordion_content p {
  padding: 1.5em 0;
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95em;
}

/* Columna Derecha: Detalles */
.details_section {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.detail_box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.detail_box:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.detail_title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 1em 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.detail_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail_list li {
  padding: 0.75em 0;
  padding-left: 1.5em;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail_list li:last-child {
  border-bottom: none;
}

.detail_list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5em;
  line-height: 1;
}

/* Calculadora de Pagos */
.payment_calculator {
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator_title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 1.5em 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.calculator_info {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2em;
}

.calculator_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calculator_row:last-of-type {
  border-bottom: none;
  font-weight: 600;
  font-size: 1.1em;
  padding-top: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator_label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
}

.calculator_value {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05em;
}

.payment_schedule {
  margin: 2em 0;
  padding: 1.5em;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule_title {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1em;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  margin-bottom: 0.75em;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.schedule_item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.schedule_item:last-child {
  margin-bottom: 0;
}

.schedule_date {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95em;
}

.schedule_amount {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05em;
  margin: 0 1.5em;
}

.schedule_label {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  font-style: italic;
}

.schedule_note {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  text-align: center;
  padding: 1em;
  margin: 0;
}

.reserve_button {
  width: 100%;
  width: 100%;
  padding: 1.25em 2em;
  background: linear-gradient(135deg, #13601f 0%, #1a8b2c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(19, 96, 31, 0.5);
  margin-top: 1.5em;
  position: relative;
  overflow: hidden;
}

.reserve_button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.reserve_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(19, 96, 31, 0.7);
  background: linear-gradient(135deg, #1a8b2c 0%, #13601f 100%);
}

.reserve_button:hover::before {
  left: 100%;
}

.reserve_button:active {
  transform: translateY(-1px);
}

/* Responsive */
@media all and (max-width: 992px) {
  .detalle_main {
    padding: 2em 2em;
  }
  
  .detalle_header {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .video_container {
    height: 300px;
  }
  
  .detalle_content {
    grid-template-columns: 1fr;
    gap: 2em;
  }
}

@media all and (max-width: 768px) {
  .detalle_main {
    padding: 1.5em 1em;
  }
  
  .detalle_title {
    font-size: 1.8em;
  }
  
  .video_container {
    height: 250px;
  }
  
  .data_checkboxes {
    flex-direction: column;
    gap: 1em;
  }
  
  .itinerary_item {
    padding: 0.75em;
  }
  
  .detail_box {
    padding: 1.5em;
  }
}

