/* ==========================================================================
   EXPLORE PAGE SPECIFIC STYLES
   ========================================================================== */
.explore-section {
  background-color: var(--color-black);
}

/* Filter Buttons Styling */
.filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
  border: 1px solid rgba(197, 168, 112, 0.3);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  background-color: rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

:lang(en) .filter-btn,
html[lang^="en"] .filter-btn {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-body-en);
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background-color: rgba(197, 168, 112, 0.06);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-black);
  border-color: var(--color-gold-light);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(197, 168, 112, 0.3);
  transform: translateY(-1px);
}

/* Shimmer on active filter button */
.filter-btn.active::before {
  content: '';
  position: absolute;
  top: 0; left: -110%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: filterShimmer 2.5s ease-in-out infinite;
}

@keyframes filterShimmer {
  0% { left: -110%; }
  40%, 100% { left: 140%; }
}

/* Attractions Grid — Bento editorial layout */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
}

/* First card spans 2 columns — hero attraction */
.attraction-card:first-child {
  grid-column: span 2;
}

.attraction-card:first-child .attraction-img-wrapper {
  height: 300px;
}

.attraction-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.25,1,0.5,1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.attraction-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold-heavy);
  box-shadow: 0 20px 40px rgba(197, 168, 112, 0.12), 0 4px 12px rgba(0,0,0,0.04);
}

.attraction-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

/* Cinematic overlay on hover */
.attraction-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.attraction-card:hover .attraction-img-wrapper::before { opacity: 1; }

/* Gold border reveal */
.attraction-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(197, 168, 112, 0);
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.attraction-card:hover .attraction-img-wrapper::after {
  border-color: rgba(197, 168, 112, 0.4);
}

.attraction-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.attraction-card:hover .attraction-img {
  transform: scale(1.08);
}

.distance-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(197, 168, 112, 0.35);
  color: var(--color-gold-light);
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-body-en);
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.attraction-card:hover .distance-tag {
  background: rgba(197, 168, 112, 0.15);
  border-color: rgba(197, 168, 112, 0.6);
  color: var(--color-gold);
}

@media (prefers-reduced-motion: reduce) {
  .filter-btn.active::before {
    animation: none;
  }
}

.attraction-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.attraction-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition-smooth);
}

.attraction-card:hover .attraction-title {
  color: var(--color-gold-dark);
}

.attraction-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0;
}

/* Map Section */
.map-container {
  overflow: hidden;
  border-color: rgba(197, 168, 112, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
  display: block;
  filter: grayscale(0.2) contrast(1.1); /* Match luxury styling */
  transition: var(--transition-smooth);
}

.map-container:hover iframe {
  filter: grayscale(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-wrapper {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 12px;
  }

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

  /* Reset bento span on single-column mobile */
  .attraction-card:first-child {
    grid-column: span 1;
  }

  .attraction-card:first-child .attraction-img-wrapper,
  .attraction-img-wrapper {
    height: 200px;
  }
}
