/* ========= 🌾 Explorar POIs (Premium Clean Glass Style) ========= */

.explorar {
  --accent-blue: #70a1ff;
  --glass-border: rgba(255, 255, 255, 0.15);
  --text-dim: rgba(255, 255, 255, 0.6);
}

/* 1. Botonera de Filtros */
.explorar .poi-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 2rem 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
}

.explorar .poi-toolbar .btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 22px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.explorar .poi-toolbar .btn-outline-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.explorar .poi-toolbar .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.explorar .poi-toolbar .btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

/* 2. Targetes del Llistat */
.explorar #pois .poi-card {
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.explorar #pois .poi-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* 3. El Slideshow */
.explorar .poi-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.explorar .poi-slideshow .slide:not(:has(img)) {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  padding: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-y: auto;
}

.explorar .poi-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.explorar .poi-card:hover .poi-slideshow img {
  transform: scale(1.08);
}

/* 4. Títulos y Tipografía (Cambio a Blanco Limpio) */
.explorar .card-title a {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.explorar .card-title a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
}

/* 5. Footer (Localización y Meta) */
.explorar .poi-footer {
  margin-top: 1rem;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.explorar .loc-ico {
  text-decoration: none;
  font-size: 1.15rem;
  margin-right: 8px;
  filter: drop-shadow(0 0 8px rgba(112, 161, 255, 0.4));
  transition: transform 0.3s ease;
}

.explorar .poi-card:hover .loc-ico {
  transform: scale(1.2) rotate(-10deg);
}

.explorar .poi-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explorar .meta-type {
  color: var(--accent-blue);
  font-weight: 800;
}

.explorar .meta-id {
  opacity: 0.5;
  font-family: monospace;
}

/* Detalles de la ficha */
.explorar .poi-fitxa {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.explorar .poi-fitxa h2 {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(13, 110, 253, 0.3);
}

/* Paginación */
.explorar .pagination-container {
  margin-top: 3rem;
  color: var(--text-dim);
}

.explorar .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.explorar .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}