/* Reset */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Merriweather', serif;
  background-color: #111;
  color: #eee;
}

/* Navbar */
#navbar {
  background: #2e2c2c;
  color: #eee;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  border-bottom: 4px solid #0044cc; /* Blues blue */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo {
  height: 60px;
}

#navbar h1 {
  font-size: 1.3rem;
  margin: 0;
  font-family: 'Rye', cursive; /* retro feel */
}

#navbar .blues {
  color: #66a3ff;
  font-weight: bold;
}

#navbar .trail {
  color: #eee;
  margin-left: 0.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #eee;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #66a3ff;
}

.hamburger {
  display: none;
}

/* Map */
#map {
  height: calc(100% - 60px);
  width: 100%;
}

/* Splash */
#splash {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 25, 25, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.splash-card {
  background: #282626;
  border-radius: 16px;
  padding: 2rem;
  max-width: 650px;
  text-align: center;
  color: #eee;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.splash-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.splash-card h2 {
  font-family: 'Rye', cursive;
  font-size: 1.8rem;
  color: #66a3ff;
}

.splash-text {
  margin: 1rem 0;
  line-height: 1.6;
}

#enter-btn {
  background: #0044cc;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

#enter-btn:hover {
  background: #003399;
  transform: translateY(-2px);
}

/* Legend */
.legend {
  background: #1a1a1a;              /* dark background like splash */
  border: 2px solid #0044cc;        /* blues blue border */
  border-radius: 10px;
  padding: 14px 16px;
  color: #eee;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.7);
  max-width: 220px;
}

.legend h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-family: 'Rye', cursive;      /* retro font */
  color: #66a3ff;                   /* lighter blues blue */
  text-align: center;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 6px 0;
  font-family: 'Merriweather', serif;
}

/* Bigger icons inside the legend only */
.legend-item img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
}


/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #eee;
    
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    border-top: 2px solid #0044cc;
    z-index: 2000;
  }

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

  .nav-links a {
    padding: 0.6rem 1rem;
  }
}
/* ================================
   Popup Styling
   ================================ */
.leaflet-popup-content-wrapper {
  background: #fff;              /* clean white background */
  border: 3px solid #0044cc;     /* blues blue border */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  max-width: 400px;              /* desktop default */
  width: auto;
}

.leaflet-popup-content {
  margin: 0;
  padding: 0.8rem 1rem;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  color: #222;                  /* dark body text */
  line-height: 1.6;
}

/* Mobile popup adjustment */
@media (max-width: 768px) {
  .leaflet-popup-content-wrapper {
    max-width: 85vw;            /* responsive: shrink to 85% of screen */
  }
}


.popup-card h3 {
  font-family: 'Rye', cursive;   /* same retro font as nav bar */
  font-size: 1.4rem;
  color: #0044cc;                /* blues blue */
  margin: 0 0 0.6rem 0;          /* ensures no awkward gap */
  text-align: center;
}

.popup-card p {
  margin: 0 0 0.6rem 0;
}
/* Popup button wrapper */
.custom-popup .popup-card {
  text-align: center;  /* centers inline-block children like the button */
}

/* Popup button */
.custom-popup .popup-btn {
  display: inline-block;
  background: #0044cc;         /* blues blue */
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  font-family: 'Merriweather', serif;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  margin-top: 0.8rem;          /* space above the button */
}

.custom-popup .popup-btn:hover {
  background: #003399;        /* darker blue */
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.custom-popup .popup-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* Hide map controls until splash is gone */
.hidden-controls .leaflet-control,
.hidden-controls .legend {
  display: none !important;
}
/* Info Button */
.leaflet-control-info {
  background: #0044cc; /* Blues blue */
  color: #fff;
  font-family: 'Rye', cursive;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
  transition: background 0.2s ease, transform 0.15s ease;
}

.leaflet-control-info:hover {
  background: #003399;
  transform: scale(1.1);
}

/* Info Overlay */
.info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 3000; /* above map + legend */
}

.info-content {
  background: #1a1a1a;
  border: 3px solid #0044cc;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  color: #eee;
  font-family: 'Merriweather', serif;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  text-align: left;
}

.info-content h3 {
  font-family: 'Rye', cursive;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #66a3ff;
  text-align: center;
}

.info-close {
  background: none;
  border: none;
  color: #eee;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
}
.about-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
  color: #eee;
  line-height: 1.7;
}

.about-container h2 {
  font-family: 'Rye', cursive;
  font-size: 2rem;
  color: #66a3ff;
  margin-bottom: 1rem;
  text-align: center;
}

.about-container .intro-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.info-card {
  background: #1a1a1a;
  border: 1px solid #0044cc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.info-card h3 {
  font-family: 'Rye', cursive;
  color: #66a3ff;
  margin-bottom: 1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
}

.link-grid a {
  color: #eee;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: #2e2c2c;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-grid a:hover {
  background: #0044cc;
  color: #fff;
}

.spotify-embed {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.spotify-embed iframe {
  max-width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.info-card a {
  color: #66a3ff;
  font-weight: bold;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
  color: #99c2ff;
}
