body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
}

header {
  background: #b30000;
  color: white;
  /*padding: 20px;*/
  text-align: center;
}

.site-header {
  background: #b30000;
  color: white;
  padding: 20px 0;
  text-align: center;
  
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}


.navbar {
  background: #2A2F35;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: 0.2s;
}

.navbar a:hover {
  border-bottom: 2px solid white;
  padding-bottom: 2px;
}

/*
nav {
  background: #8c0000;
  text-align: center;
  padding: 10px;
}

nav a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}
*/
.container {
  max-width: 1000px;
  margin: auto;
  padding: 0px 20px;
}

h1, h2 {
  color: #b30000;
}

.image {
  width: 100%;
  margin: 20px 0;
}

.card {
  background: #f9f9f9;
  padding: 20px;
  border-left: 5px solid #b30000;
  margin-bottom: 30px;
}
.highlight {
  background: yellow;
  font-weight: bold;
}
.location-split {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
  flex-wrap: wrap;
}

.location-text {
  flex: 2;
  min-width: 300px;
}

.location-image {
  flex: 1;
  min-width: 250px;
}

.location-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Caption styling */
.map-caption {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  font-style: italic;
}
/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

/* Modal image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
.license-split {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.license-text {
  flex: 2;
  min-width: 300px;
}

.license-image {
  flex: 1;
  min-width: 250px;
}

.license-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.rehab-split {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.rehab-text {
  flex: 2;
  min-width: 300px;
}

.rehab-image {
  flex: 1;
  min-width: 250px;
}

.rehab-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.search-container {
  position: relative;
  width: 100%;
}

#searchBox {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 2px solid #b30000;
  font-size: 1rem;
}

/* Clear (X) button */
#clearSearch {
  position: absolute;
  right: 12px;
  top: 35%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #999;
  display: none;
}

#clearSearch:hover {
  color: #b30000;
}

.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease-in-out;
}

/* Overlay text */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 8px;
}

.hero-overlay h1 {
  margin: 0;
  font-size: 2rem;
}

.hero-overlay p {
  margin-top: 10px;
  font-size: 1rem;
}


.site-footer {
  background: #2A2F35;
  color: white;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

.footer-content p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Link styling */
.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}
/* Button */
.fullscreen-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9rem;
}

.fullscreen-btn:hover {
  background: #b30000;
}

/* Fullscreen modal */

.carousel-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* Image inside modal */
.modal-carousel-img {
  max-width: 90%;
  max-height: 90%;
}

/* Close button */
.carousel-modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.modal-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}
/*
.modal-img:hover {
  transform: scale(2.02);
  transition: transform 0.2s ease;
}*/

@media (max-width: 768px) {
  .modal-img {
    max-width: 95vw;
    max-height: 85vh;
  }
}

.image-disclaimer {
  max-width: 1000px;
  margin: 15px auto 30px;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  line-height: 1.5;
}




}