/*
  Archivo: style.css
  Descripción: Estilos personalizados extraídos de Diseño-Web-de-Viajes.html
*/
:where([class^="ri-"])::before { content: "\f3c2"; }
body {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}
.hero-section {
  background-image: url('https://readdy.ai/api/search-image?query=beautiful%20travel%20destination%20with%20beach%20and%20mountains%2C%20crystal%20clear%20water%2C%20bright%20sunny%20day%2C%20perfect%20vacation%20spot%2C%20paradise-like%20scenery%2C%20professional%20travel%20photography%2C%20high-end%20resort%20visible%20in%20distance%2C%20no%20people%2C%20panoramic%20view%2C%20left%20side%20with%20gradient%20to%20white%20for%20text%20overlay&width=1920&height=800&seq=travel-hero&orientation=landscape');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.search-form {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}
.destination-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.offer-badge {
  background: linear-gradient(135deg, #FF4E50, #F9D423);
}
.service-card {
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #6D28D9;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s;
  position: relative;
}
.custom-checkbox:checked {
  background-color: #6D28D9;
}
.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #6D28D9;
  border-radius: 50%;
  outline: none;
  transition: all 0.2s;
  position: relative;
}
.custom-radio:checked {
  border-color: #6D28D9;
}
.custom-radio:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #6D28D9;
}
.custom-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #6D28D9;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.active {
  max-height: 500px;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e0e0e0;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6D28D9;
  cursor: pointer;
}
.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6D28D9;
  cursor: pointer;
  border: none;
}
