/* ============================================
   ALQUILER-STYLES.CSS - ESTILOS COMPLETOS
   ============================================ */

/* ===== HERO ALQUILER ===== */
.alquiler-hero {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  border-bottom: 1px solid #eaf0f5;
}

.alquiler-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.alquiler-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

.alquiler-hero-content p {
  font-size: 1.1rem;
  color: #4a6270;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.alquiler-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e5f8e;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #6c8695;
  font-weight: 500;
}

/* ===== FILTROS ===== */
.alquiler-filtros {
  padding: 20px 0;
  background: #f8fafc;
  border-bottom: 1px solid #eef3f8;
  position: sticky;
  top: 60px;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.95);
}

.filtros-wrapper {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filtros-busqueda {
  flex: 1;
  min-width: 200px;
}

.filtros-busqueda input {
  width: 100%;
  padding: 10px 16px;
  border: 2px solid #e8edf2;
  border-radius: 30px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.filtros-busqueda input:focus {
  outline: none;
  border-color: #1e5f8e;
}

.filtros-tipo {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filtro-btn {
  padding: 8px 18px;
  border: 2px solid #e8edf2;
  border-radius: 30px;
  background: white;
  color: #4a6270;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filtro-btn:hover {
  border-color: #1e5f8e;
  color: #1e5f8e;
  transform: translateY(-2px);
}

.filtro-btn.active {
  background: #1e5f8e;
  border-color: #1e5f8e;
  color: white;
}

/* ===== GRID ALQUILER ===== */
.alquiler-grid-section {
  padding: 40px 0 60px;
  background: #f5f8fc;
}

.alquiler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* ===== TARJETA DE ALQUILER ===== */
.alquiler-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e8edf2;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alquiler-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Galería */
.alquiler-card-gallery {
  position: relative;
}

.alquiler-card-gallery .main-image-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #2c3e50;
  cursor: pointer;
  position: relative;
}

.alquiler-card-gallery .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.alquiler-card-gallery .main-image:hover {
  transform: scale(1.03);
}

.alquiler-card .video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.alquiler-card .video-badge i {
  font-size: 0.8rem;
}

.alquiler-card .thumbnail-container {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #f8fafc;
  overflow-x: auto;
  scrollbar-width: thin;
}

.alquiler-card .thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.alquiler-card .thumbnail.active {
  border-color: #1e5f8e;
}

.alquiler-card .thumbnail:hover {
  border-color: #ffd966;
}

.alquiler-card .click-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 20px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Contenido */
.alquiler-card-content {
  padding: 1.5rem;
}

.alquiler-card-content .alquiler-tipo {
  display: inline-block;
  background: #e0eef7;
  color: #1e5f8e;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.alquiler-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a2e3a;
}

.alquiler-card-content .alquiler-precio {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e5f8e;
  margin-bottom: 0.25rem;
}

.alquiler-card-content .alquiler-deposito {
  font-size: 0.85rem;
  color: #6c8695;
  margin-bottom: 0.75rem;
}

.alquiler-card-content .alquiler-descripcion {
  color: #4a6270;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.alquiler-card-content .alquiler-especificaciones {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.alquiler-card-content .alquiler-especificaciones li {
  font-size: 0.85rem;
  color: #4a6270;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alquiler-card-content .alquiler-especificaciones li::before {
  content: "✓";
  color: #1e5f8e;
  font-weight: 700;
}

.alquiler-card-content .alquiler-ubicacion {
  font-size: 0.85rem;
  color: #6c8695;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.alquiler-card-content .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: white;
  padding: 12px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.alquiler-card-content .btn-whatsapp:hover {
  background: #128c7e;
  transform: scale(1.02);
}

/* ===== EMPTY STATE ===== */
.alquiler-empty {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
}

.alquiler-empty i {
  font-size: 4rem;
  color: #d0dae2;
  margin-bottom: 1rem;
}

.alquiler-empty h3 {
  color: #1a2e3a;
  margin-bottom: 0.5rem;
}

.alquiler-empty p {
  color: #6c8695;
}

/* ===== BENEFICIOS ===== */
.alquiler-beneficios {
  padding: 60px 0;
  background: white;
}

.alquiler-beneficios h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.beneficio-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f8fafc;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid #eef3f8;
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.beneficio-card i {
  font-size: 2.5rem;
  color: #1e5f8e;
  margin-bottom: 1rem;
}

.beneficio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.beneficio-card p {
  color: #6c8695;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== MODAL ===== */
#alquilerModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

#alquilerModal .modal-content-container {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#alquilerModal .modal-image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

#alquilerModal .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
}

#alquilerModal .modal-nav:hover {
  background: rgba(30, 95, 142, 0.8);
  transform: translateY(-50%) scale(1.05);
}

#alquilerModal .modal-prev {
  left: 20px;
}

#alquilerModal .modal-next {
  right: 20px;
}

#alquilerModal .modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 11;
  transition: 0.2s;
}

#alquilerModal .modal-close:hover {
  color: #ffd966;
}

#alquilerModal .modal-caption {
  text-align: center;
  color: white;
  font-size: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

#alquilerModal .modal-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  z-index: 11;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .alquiler-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .alquiler-hero {
    padding: 30px 0 40px;
  }

  .alquiler-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .filtros-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .filtros-tipo {
    justify-content: center;
  }

  .alquiler-filtros {
    top: 55px;
  }
}

@media (max-width: 768px) {
  .alquiler-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .alquiler-card-gallery .main-image-container {
    height: 200px;
  }

  #alquilerModal .modal-nav {
    font-size: 1.5rem;
    padding: 0.6rem 1rem;
  }

  #alquilerModal .modal-prev {
    left: 5px;
  }

  #alquilerModal .modal-next {
    right: 5px;
  }

  #alquilerModal .modal-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .alquiler-hero-content h1 {
    font-size: 1.8rem;
  }

  .alquiler-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .filtro-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .alquiler-filtros {
    top: 50px;
  }

  .alquiler-card-gallery .main-image-container {
    height: 180px;
  }

  .alquiler-card-content {
    padding: 1rem;
  }

  .alquiler-card-content h3 {
    font-size: 1rem;
  }

  .alquiler-card-content .alquiler-precio {
    font-size: 1.3rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #alquilerModal .modal-image {
    max-width: 95%;
    max-height: 70vh;
  }
}