/* ============================================
   Hard Rock Cafe Collection - Style Sheet
   Color scheme inspired by hardrockcafe.com
   ============================================ */

/* ---------- View Transitions ---------- */
/* ---------- CSS Custom Properties ---------- */
:root {
  --black: #1a1a1a;
  --black-light: #f8f8f8;
  --dark-gray: #f2f2f2;
  --mid-gray: #dcdcdc;
  --gray: #999999;
  --light-gray: #666666;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --hrc-red: #c8102e;
  --hrc-red-dark: #a00d24;
  --hrc-red-light: #e8334d;
  --gold: #d4a843;
  --gold-dark: #b08a2e;
  --gold-light: #c49a38;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 70px;
  --border-radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --black: #f0f0f0;
  --black-light: #1a1a1a;
  --dark-gray: #1e1e1e;
  --mid-gray: #333333;
  --gray: #888888;
  --light-gray: #aaaaaa;
  --white: #121212;
  --off-white: #1a1a1a;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav {
  background: rgba(18, 18, 18, 0.95);
}

[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95));
}

[data-theme="dark"] .detail-hero-overlay {
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
}

[data-theme="dark"] .skeleton-img,
[data-theme="dark"] .skeleton-line {
  background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

[data-theme="dark"] .leaflet-popup-content-wrapper {
  background: #1e1e1e !important;
  color: #f0f0f0 !important;
}

[data-theme="dark"] .leaflet-popup-tip {
  background: #1e1e1e !important;
}

/* Dark mode toggle button */
.theme-toggle {
  background: none;
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--gold);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Skeleton Loading ---------- */
@keyframes shimmer {
  to { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--mid-gray);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, var(--mid-gray) 25%, #e8e8e8 50%, var(--mid-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body {
  padding: 20px;
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mid-gray) 25%, #e8e8e8 50%, var(--mid-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 10px;
}

.skeleton-line:nth-child(1) { width: 70%; height: 18px; }
.skeleton-line:nth-child(2) { width: 50%; }
.skeleton-line:nth-child(3) { width: 40%; }

a {
  color: var(--hrc-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--hrc-red-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  color: var(--gold);
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--hrc-red);
  margin: 15px auto 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-red { color: var(--hrc-red); }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--hrc-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--hrc-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--hrc-red);
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo span {
  color: var(--hrc-red);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-links a:first-child {
  font-size: 1.5rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hrc-red);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--hrc-red);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 4rem;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--hrc-red);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--light-gray);
  margin-bottom: 50px;
  font-weight: 300;
}

/* ---------- Counters ---------- */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

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

.counter-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

.counter-highlight {
  background: var(--gold);
  border-radius: 12px;
  padding: 15px 10px;
}

.counter-highlight .counter-number {
  color: var(--white);
}

.counter-highlight .counter-label {
  color: var(--white);
  font-weight: 600;
}

/* ---------- About ---------- */
.about {
  background: var(--dark-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.about-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.about-text h2 {
  color: var(--gold);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--light-gray);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

/* ---------- Fun Facts ---------- */
.fun-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.fact-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--mid-gray);
  transition: all var(--transition);
}

.fact-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.fact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.fact-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 5px;
}

.fact-label {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* ---------- Latest Additions ---------- */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* ---------- Location Cards ---------- */
.location-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--mid-gray);
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
  display: block;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  color: var(--black);
}

.location-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--mid-gray);
  transition: filter var(--transition);
}

.location-card:hover .location-card-image {
  filter: brightness(1.08);
}

.location-card-body {
  padding: 20px;
}

.location-card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 5px;
}

.location-card-city {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.location-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--light-gray);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.badge-cafe {
  background: var(--hrc-red);
  color: var(--white);
}

.badge-hotel {
  background: var(--gold);
  color: var(--black);
}

.badge-rockshop {
  background: #6b46c1;
  color: var(--white);
}

.badge-closed {
  background: #e67e22;
  color: var(--white);
  font-weight: 400;
}

.badge-visits {
  background: #3b82f6;
  color: var(--white);
  font-size: 0.8rem;
  padding: 3px 8px;
}

.badge-revisit {
  background: #3b82f6;
  color: var(--white);
}

.badge-planned {
  background: #2d8a4e;
  color: var(--white);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
}

.filter-select,
.filter-input {
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  color: var(--black);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 160px;
  transition: border-color var(--transition);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--gold);
}

.filter-input {
  min-width: 220px;
}

.filter-group-btn {
  display: flex;
  align-items: flex-end;
  margin-left: auto;
}

.btn-clear-filters {
  padding: 8px 16px;
  background: transparent;
  color: var(--hrc-red);
  border: 1px solid var(--hrc-red);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-clear-filters:hover {
  background: var(--hrc-red);
  color: var(--white);
}

.results-count {
  text-align: center;
  color: var(--light-gray);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ---------- Location Grid ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

/* ---------- View Toggle ---------- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.view-toggle {
  display: flex;
  gap: 5px;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  color: var(--light-gray);
  cursor: pointer;
  transition: all var(--transition);
}

.view-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.view-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- Locations Table (List View) ---------- */
.locations-table-wrap {
  overflow-x: auto;
}

.locations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.locations-table thead th {
  position: sticky;
  top: 0;
  background: var(--dark-gray);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid var(--gold);
  white-space: nowrap;
  user-select: none;
}

.locations-table thead th:hover {
  color: var(--gold);
}

.locations-table thead th.sorted {
  color: var(--gold);
}

.sort-arrow {
  font-size: 0.75rem;
}

.locations-table tbody tr {
  border-bottom: 1px solid var(--mid-gray);
  cursor: pointer;
  transition: background var(--transition);
}

.locations-table tbody tr:hover {
  background: var(--dark-gray);
}

.locations-table td {
  padding: 10px 15px;
  color: var(--black);
  white-space: nowrap;
}

.locations-table .td-name {
  font-weight: 600;
  white-space: normal;
  min-width: 200px;
}

.locations-table .td-center {
  text-align: center;
}

/* ---------- Location Detail ---------- */
.detail-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.detail-hero-overlay h1 {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
}

.detail-hero-title {
  font-size: 3rem;
  color: var(--black);
}

.detail-info {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.detail-info-item {
  background: var(--dark-gray);
  padding: 15px 10px;
  border-radius: var(--border-radius);
  text-align: center;
}

.detail-info-label {
  font-size: 0.8rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.detail-info-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}

.detail-notes {
  background: var(--dark-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--hrc-red);
  margin-bottom: 40px;
}

.detail-notes p {
  color: var(--light-gray);
  font-style: italic;
  font-size: 1.1rem;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.photo-gallery img:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

/* Detail Pin & T-shirt */
.detail-collectibles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.collectible-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
}

.collectible-card h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

.collectible-card img {
  max-height: 300px;
  margin: 0 auto;
  border-radius: var(--border-radius);
}

/* Detail Navigation */
.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--mid-gray);
}

.detail-nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* Detail Mini Map */
.detail-map {
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 40px;
}

/* ---------- Interactive Map Page ---------- */
.map-page {
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.map-toolbar {
  background: var(--dark-gray);
  padding: 15px 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--mid-gray);
}

.map-toolbar .filter-select {
  min-width: 140px;
}

.map-legend {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--light-gray);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.cafe { background: var(--hrc-red); }
.legend-dot.hotel { background: var(--gold); }
.legend-dot.rockshop { background: #6b46c1; }
.legend-dot.planned { background: #2d8a4e; }

#map {
  flex: 1;
}

/* Leaflet popup custom */
.leaflet-popup-content-wrapper {
  background: var(--white) !important;
  color: var(--black) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow) !important;
}

.leaflet-popup-tip {
  background: var(--white) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
}

.map-popup {
  text-align: center;
  min-width: 180px;
}

.map-popup img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.map-popup h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.map-popup p {
  font-size: 0.85rem;
  color: var(--light-gray);
  margin-bottom: 8px;
}

.map-popup .btn {
  font-size: 0.8rem;
  padding: 6px 16px;
  color: var(--white);
}

/* ---------- Wall of Pins ---------- */
.pin-wall {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.03), transparent 50%),
    linear-gradient(var(--white), var(--off-white));
  padding: 40px 0;
}

.pin-wall-header {
  text-align: center;
  margin-bottom: 40px;
}

.pin-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.pin-item {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--mid-gray);
}

.pin-item:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pin-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--off-white);
  padding: 10px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  transition: all var(--transition);
}

.pin-item:hover img {
  filter: drop-shadow(2px 2px 8px rgba(212, 168, 67, 0.4));
}

.pin-item .pin-info {
  padding: 15px;
  text-align: center;
}

.pin-item .pin-info h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
}

.pin-item .pin-info p {
  color: var(--light-gray);
  font-size: 0.85rem;
}

.pin-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-gray);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 10;
  border: 1px solid var(--mid-gray);
}

.pin-item:hover .pin-tooltip {
  opacity: 1;
}

/* ---------- T-Shirt Gallery ---------- */
.tshirt-gallery {
  margin-top: var(--nav-height);
  padding: 40px 0;
}

.tshirt-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.tshirt-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--mid-gray);
  cursor: pointer;
}

.tshirt-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.tshirt-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: var(--off-white);
  padding: 10px;
}

.tshirt-card .pin-info {
  padding: 15px;
  text-align: center;
}

.tshirt-card .pin-info h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
}

.tshirt-card .pin-info p {
  color: var(--light-gray);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .tshirt-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .tshirt-board { grid-template-columns: 1fr; }
}

/* ---------- Planned Trips ---------- */
.trips-page {
  margin-top: var(--nav-height);
  padding: 40px 0;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.trip-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid var(--mid-gray);
  border-left: 4px solid #2d8a4e;
  transition: all var(--transition);
}

.trip-card:hover {
  border-color: var(--gold);
  border-left-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.trip-card h3 {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 5px;
}

.trip-card .trip-location {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.trip-card .trip-date {
  color: var(--light-gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.trip-countdown {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--hrc-red);
  margin-top: 10px;
}

.trip-countdown-label {
  font-size: 0.75rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Timeline Page ---------- */
.timeline-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.timeline-stat {
  text-align: center;
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 20px 15px;
  border: 1px solid var(--mid-gray);
}

.timeline-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold);
}

.timeline-stat-label {
  font-size: 0.85rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

/* Vertical center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--hrc-red), var(--gold));
  transform: translateX(-50%);
}

/* Year marker */
.timeline-year {
  position: relative;
  text-align: center;
  margin: 40px 0 20px;
  z-index: 2;
}

.timeline-year:first-child {
  margin-top: 0;
}

.timeline-year-marker {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--hrc-red);
  color: var(--white);
  border-radius: 30px;
  padding: 10px 25px;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.timeline-year-label {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
}

.timeline-year-count {
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* Timeline items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 40px 10px 0;
  box-sizing: border-box;
}

.timeline-left {
  left: 0;
  padding-right: 40px;
  padding-left: 0;
}

.timeline-right {
  left: 50%;
  padding-left: 40px;
  padding-right: 0;
}

/* Dot on the line */
.timeline-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  top: 18px;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1;
}

.timeline-left .timeline-dot {
  right: -17px;
}

.timeline-right .timeline-dot {
  left: -17px;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(212, 168, 67, 0.3);
}

.timeline-dot-revisit {
  background: #3b82f6;
  box-shadow: 0 0 0 3px #3b82f6;
}

/* Card */
.timeline-card {
  display: flex;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--border-radius);
  padding: 15px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.timeline-card-body {
  flex: 1;
  min-width: 0;
}

.timeline-card-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 3px;
}

.timeline-card-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
  color: var(--black);
}

.timeline-card-location {
  font-size: 0.85rem;
  color: var(--light-gray);
  margin-bottom: 5px;
}

.timeline-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Slide-in animations for timeline items */
.timeline-left.fade-in {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-right.fade-in {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-left.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-right.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-year.fade-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.timeline-year.fade-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- About Page ---------- */
.about-page {
  margin-top: var(--nav-height);
  padding: 40px 0;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* Location cards fade in (transition-based for dynamic content) */
.locations-grid > .location-card,
.latest-grid > .location-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color var(--transition), box-shadow var(--transition);
}

.locations-grid > .location-card.visible,
.latest-grid > .location-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.locations-grid > .location-card.visible:hover,
.latest-grid > .location-card.visible:hover {
  transform: translateY(-5px);
}

/* Pin items fade in */
.pin-board > .pin-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color var(--transition), box-shadow var(--transition);
}
.pin-board > .pin-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.pin-board > .pin-item.visible:hover {
  transform: translateY(-5px);
}

/* T-shirt cards fade in */
.tshirt-board > .tshirt-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color var(--transition), box-shadow var(--transition);
}
.tshirt-board > .tshirt-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.tshirt-board > .tshirt-card.visible:hover {
  transform: translateY(-5px);
}

.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.about-section p {
  color: var(--black);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-section-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.about-section-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--mid-gray);
  color: var(--black);
  line-height: 1.7;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li strong {
  color: var(--gold);
}

.fun-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.fun-fact-card {
  background: var(--gold);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s, border-color 0.3s;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--gold);
}

.fun-fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background: var(--white);
  border-color: var(--gold);
}

.fun-fact-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.fun-fact-card:hover .fun-fact-label {
  color: var(--gold);
}

.fun-fact-value {
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.fun-fact-card:hover .fun-fact-value {
  max-height: 60px;
  opacity: 1;
  margin-top: 10px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 15px;
}

.link-card {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 1px solid var(--mid-gray);
}

.link-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.link-card ul {
  list-style: none;
  padding: 0;
}

.link-card li {
  padding: 6px 0;
}

.link-card a {
  color: var(--hrc-red);
  text-decoration: none;
  transition: color var(--transition);
}

.link-card a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: var(--border-radius);
  padding: 12px 24px;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.social-link.facebook .social-icon {
  background: #1877f2;
}

.about-promo {
  background: var(--dark-gray);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--mid-gray);
}

.promo-card {
  margin-top: 20px;
}

.promo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.promo-card p {
  margin-bottom: 15px;
}

.promo-card .btn-primary {
  background: #c32a84;
}

.promo-card .btn-primary:hover {
  background: #a82371;
}

.promo-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.promo-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hrc-red);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.promo-socials a:hover {
  color: var(--gold);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 15px 12px;
  border-radius: var(--border-radius);
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(200, 16, 46, 0.7);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 16px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 1.8rem;
    padding: 10px 8px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-gray);
  border-top: 2px solid var(--hrc-red);
  padding: 30px 0;
  text-align: center;
  margin-top: auto;
}

.footer p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.footer a {
  color: var(--hrc-red);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
  margin-top: var(--nav-height);
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(to bottom, var(--dark-gray), var(--white));
}

.page-header h1 {
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--light-gray);
  font-size: 1.1rem;
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--light-gray);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 2px solid var(--hrc-red);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section {
    padding: 50px 0;
  }

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

  .locations-table td:nth-child(5),
  .locations-table th:nth-child(5),
  .locations-table td:nth-child(7),
  .locations-table th:nth-child(7),
  .locations-table td:nth-child(8),
  .locations-table th:nth-child(8) {
    display: none;
  }

  .locations-table .td-name {
    min-width: 140px;
  }

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

  .filter-select,
  .filter-input {
    width: 100%;
  }

  .map-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .map-legend {
    margin-left: 0;
    justify-content: center;
  }

  .detail-hero {
    height: 250px;
  }

  .detail-info {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-hero-title {
    font-size: 2rem;
  }

  .pin-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

  /* Timeline mobile: single column */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-right {
    left: 0;
    padding-left: 50px;
  }

  .timeline-left .timeline-dot,
  .timeline-right .timeline-dot {
    left: 6px;
    right: auto;
  }

  .timeline-left.fade-in,
  .timeline-right.fade-in {
    transform: translateX(-30px);
  }

  .timeline-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-section-photo {
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }

  .about-promo {
    padding: 25px;
  }

  .detail-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pin-board {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-info {
    grid-template-columns: repeat(2, 1fr);
  }
}
