/* ═══════════════════════════════════════════════
   Lodges Directory — uglb.bg replica style
   ═══════════════════════════════════════════════ */

.lodges-section { background: var(--cream); }
.lodges-section .section-header { text-align: center; margin-bottom: 24px; }
.lodges-section .section-header .section-eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.lodges-section .section-header h2 { font-family: var(--font-display); font-size: 32px; color: var(--navy); margin-bottom: 8px; }
.lodges-section .section-subtitle { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; }
.lodges-diamond { text-align: center; color: var(--gold); font-size: 20px; margin-bottom: 28px; }

/* City Filter Pills */
.city-filter-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.city-filter-pill { display: inline-block; font-family: var(--font-body); font-size: 13px; padding: 6px 16px; border-radius: 50px; border: 1.5px solid var(--gold); color: var(--navy); text-decoration: none; transition: all 0.15s; background: transparent; cursor: pointer; white-space: nowrap; }
.city-filter-pill:hover,
.city-filter-pill.active { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Show All button (visible before cards) */
.lodges-show-all-wrap { text-align: center; margin-bottom: 24px; }
.lodges-show-all-wrap .btn { font-size: 16px; padding: 16px 40px; transition: all 0.3s; }

/* ── Lodges Container — smooth expand/collapse ── */
#lodgesContainer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 1s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
}
#lodgesContainer.open {
  max-height: 50000px;
  opacity: 1;
}

/* ── City Groups — staggered reveal ── */
.lodge-city-group {
  margin-bottom: 36px;
  scroll-margin-top: 90px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lodge-city-group.revealed {
  opacity: 1;
  transform: translateY(0);
}
.lodge-city-heading { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid rgba(212,175,55,0.3); }

/* ── Lodge Cards ── */
.lodge-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.lodge-card {
  display: block; background: var(--white); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  text-decoration: none; overflow: hidden; text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  color: var(--text-dark);
  transform: translateY(20px); opacity: 0;
}
.lodge-city-group.revealed .lodge-card {
  transform: translateY(0); opacity: 1;
}
/* Stagger card reveals within each group */
.lodge-city-group.revealed .lodge-card:nth-child(1) { transition-delay: 0.05s; }
.lodge-city-group.revealed .lodge-card:nth-child(2) { transition-delay: 0.1s; }
.lodge-city-group.revealed .lodge-card:nth-child(3) { transition-delay: 0.15s; }
.lodge-city-group.revealed .lodge-card:nth-child(4) { transition-delay: 0.2s; }
.lodge-city-group.revealed .lodge-card:nth-child(5) { transition-delay: 0.25s; }
.lodge-city-group.revealed .lodge-card:nth-child(6) { transition-delay: 0.3s; }
.lodge-city-group.revealed .lodge-card:nth-child(7) { transition-delay: 0.35s; }
.lodge-city-group.revealed .lodge-card:nth-child(8) { transition-delay: 0.4s; }
.lodge-city-group.revealed .lodge-card:nth-child(n+9) { transition-delay: 0.45s; }
.lodge-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }

.lodge-card-img-wrap { display: flex; align-items: center; justify-content: center; background: var(--white); height: 160px; padding: 16px; }
.lodge-card-img-wrap img { max-height: 128px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.lodge-card-img-wrap .lodge-card-img-fallback { width: 80px; height: 80px; border-radius: 50%; background: rgba(27,58,107,0.06); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--navy); opacity: 0.3; }
.lodge-card-body { padding: 12px 16px 16px; border-top: 1px solid rgba(0,0,0,0.06); }
.lodge-card-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.lodge-card-city { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); }
.lodge-card-name::before { content: '\201E'; }
.lodge-card-name::after { content: '\201C'; }

/* View All link (at bottom, after cards shown) */
.lodges-view-all { text-align: center; margin-top: 16px; }

@media (max-width: 768px) {
  .city-filter-wrap { gap: 6px; margin-bottom: 32px; }
  .city-filter-pill { font-size: 12px; padding: 5px 12px; }
  .lodge-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lodge-card-img-wrap { height: 130px; padding: 12px; }
  .lodge-card-img-wrap img { max-height: 100px; }
  .lodge-card-name { font-size: 13px; }
  .lodge-city-heading { font-size: 19px; }
}

@media (max-width: 480px) {
  .lodge-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lodge-card-img-wrap { height: 110px; padding: 8px; }
  .lodge-card-img-wrap img { max-height: 84px; }
  .lodge-card-body { padding: 10px 10px 12px; }
  .lodge-card-name { font-size: 12px; }
}