@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Scene description style override */
.scene-description {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
/* Hero section styles for index page */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2em;
}
.hero-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FEE715;
  margin-bottom: 0.2em;
}
.hero-subtitle {
  font-size: 1.3em;
  color: #F5F7FA;
  margin-bottom: 1.2em;
  font-weight: 400;
}
.cta-btn {
  display: inline-block;
  padding: 1.1em 2.2em;
  background: linear-gradient(90deg, #0f0e17 0%, #5f5fff 100%);
  color: #fff;
  font-size: 1.4em;
  font-weight: 600;
  border-radius: 2em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.13s, box-shadow 0.13s;
}
.cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  color: #FEE715;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #101820;
  color: #F5F7FA;
  font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
#title {
  width: 100vw;
  background: rgba(26, 34, 51, 0.97);
  color: #FEE715;
  text-align: center;
  z-index: 20;
  padding: 0.35em 0 0.35em 0;
  box-shadow: 0 2px 16px rgba(0,168,232,0.13);
  border-bottom: 2px solid #00A8E8;
  backdrop-filter: blur(4px);
}
#title h1 {
  margin: 0.18em 0;
  font-size: 1.7em;
  color: #00A8E8;
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(16,24,32,0.97);
  z-index: 10;
  color: #FEE715;
  font-size: 2em;
  gap: 1em;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #00A8E8;
  border-top: 5px solid #FEE715;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.5em;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
model-viewer {
  width: 75vw;
  height: 75vh;
  max-width: 100vw;
  max-height: 100vh;
  background: #1A2233;
  box-shadow: 0 4px 24px rgba(0,168,232,0.10);
  border-radius: 12px;
  outline: none;
}
@media (max-width: 700px) {
  #title h1 { font-size: 1.2em; }
  model-viewer { width: 98vw; height: 60vh; }
  #viewer { padding-top: 2.5em; }
}
main {
  margin-top: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}
.card {
  background: #1A2233;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,168,232,0.13);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  text-align: center;
  border: 1.5px solid #00A8E8;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,168,232,0.18);
  border-color: #FEE715;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #101820;
}
.caption {
  padding: 1em 0.5em 1.2em 0.5em;
  font-size: 1.1em;
  color: #FEE715;
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .card img {
    height: 120px;
  }
}
#viewer {
  width: 100vw;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-top: 2em;
}

 .map-title {
  position: relative;
  color: black;
  background: rgba(255,255,255,0.55);
  padding: 6px 20px;
  border-radius: 8px;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 1000;
  pointer-events: none;
  margin: 8px auto;
  text-align: center;
  display: block;
  width: fit-content;
  max-width: 90vw;
  line-height: 0.9;
}

.leaflet-coords {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(255, 255, 255, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.0em;
  font-weight: bold;
  color: blue;
  z-index: 1000;
  pointer-events: none;
}