/* ===== popular-locations.css ===== */

/* Overall Section */
.popular-locations {
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  color: #e5e5e5;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.popular-locations h3 {
  color: #f5c542;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  text-align: center;
}

.popular-locations p {
  text-align: center;
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Accordion */
.popular-locations .accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 0.8rem;
}

.popular-locations .accordion-button {
  background-color: #181818;
  color: #f0f0f0;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.popular-locations .accordion-button:hover {
  background-color: #2a2a2a;
  color: #ffcc4d;
}

.popular-locations .accordion-button.collapsed {
  background-color: #121212;
  color: #ccc;
  border: 1px solid #222;
}

.popular-locations .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #333, #222);
  color: #f5c542;
  box-shadow: 0 4px 15px rgba(245, 197, 66, 0.15);
  transform: translateY(-2px);
}

/* Accordion Body */
.popular-locations .accordion-body {
  background-color: #141414;
  padding: 1.2rem 1.8rem;
  border-left: 3px solid #f5c542;
  border-radius: 0 0 12px 12px;
  animation: fadeIn 0.4s ease;
}

/* Location List */
.popular-locations ul.location-list {
  columns: 3;
  column-gap: 1.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 992px) {
  .popular-locations ul.location-list { columns: 2; }
}

@media (max-width: 600px) {
  .popular-locations ul.location-list { columns: 1; }
}

.popular-locations ul.location-list li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.popular-locations ul.location-list a {
  color: #cfcfcf;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.popular-locations ul.location-list a:hover {
  color: #000;
  background-color: #f5c542;
  text-decoration: none;
  transform: translateX(4px);
}

/* Scrollbar Styling (for long lists) */
.popular-locations .accordion-body::-webkit-scrollbar {
  width: 6px;
}
.popular-locations .accordion-body::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}
.popular-locations .accordion-body::-webkit-scrollbar-thumb:hover {
  background: #f5c542;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
