/* Body fills viewport, column layout */
body {
    margin: 0;
    font-family: 'Helvetica', sans-serif;
    background: #f9f9f9;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    text-align: center;
  }
  
  /* Hero section vertically and horizontally centered */
  .hero-wrapper {
    flex: 1; 
    display: flex;
    justify-content: center; 
    align-items: center;     
  }
  
  /* Hero content container */
  .hero-container {
    max-width: 600px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.75); 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
  }
  
  /* Buttons */
  .cta-button {
    display: block; 
    margin: 0.5rem auto;
    padding: 0.8rem 2rem;
    background: #0070f3;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .cta-button:hover {
    background: #005bb5;
  }
  
  .footer {
    border-top: 1px solid #eee;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: #222;           
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(6px);             
    -webkit-backdrop-filter: blur(6px); 
}

.footer-content {
    display: center;
    align-items: center; ;
}

.footer a {
    color: #0070f3;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .credit {
    font-weight: normal;
    color: #555;
}
  

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}


#page-header {
    background: rgba(255,255,255,0.95);
    text-align: center;
    padding: 0.5rem 0;
}
  
#page-header h1 {
    margin: 0;
}
  
#back-link {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}


#map-container {
    position: relative;
    width: 100%;
    height: 83vh;
    overflow: hidden; /* ensures nothing spills out */
}
  
#map {
    background: #e5e7eb;
    width: 100%;
    height: 83vh ;
}
  .leaflet-control-attribution {
    font-size: 11px;
    opacity: 0.7;
}
  
#sidebar {
    position: fixed; /* fixed is better than absolute */
    top: 0;
    right: 0;
    width: 440px;
    height: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
    box-sizing: border-box;
    line-height: 1.4;
    transform: translateX(100%); /* hidden by default */
    transition: transform 0.5s;
  }
  
  #sidebar.open {
    transform: translateX(0); /* slide in */
  }
  
#sidebar .close-btn {
    display: block;
    font-size: 1.5rem;
    text-align: right;
    cursor: pointer;
    color: #0070f3;
    margin-bottom: 1rem;
}
  
#sidebar .close-btn:hover {
    color: #005bb5;
}
  
#sidebar img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}
