body {
  font-family: 'Inter', sans-serif;
  padding: 0;
  margin: 0;
}

@media (max-width: 800px) {
  #fact-1 {
    transform: translateY(-9px);
  }
}

html, body {
  overflow: auto;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* For leaflet map */
.map-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
}
#map {
  box-shadow: 0 2px 16px rgba(56,142,60,0.08);
  border-radius: 12px;
  width: 100%;
  height: 100%;
}

/* Decorative images for intro section */
.intro-decor {
  position: absolute;
  width: 40px;
  height: auto;
  opacity: 0.3;
  animation: decor-float 2s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes decor-float {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-30px) scale(1.04) rotate(10deg); }
}
/* Button hover effects for AI Park Guide, Explore Parks, and Ask Guide */
#btn-AI,
#btn-explore,
#ai-guide-btn {
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
}
#btn-AI:hover,
#btn-explore:hover,
#ai-guide-btn:hover {
  background: #2e7031;
  box-shadow: 0 4px 16px rgba(56,142,60,0.18);
  transform: translateY(-2px) scale(1.04);
}

.emoji-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #a5d6a7;
  font-size: 2.4em;
  margin-bottom: 8px;
  color: #388e3c;
  box-shadow: 0 2px 8px rgba(56,142,60,0.10);
  transition: background 0.2s;
}

/* Filter button hover effect */
#filters label {
  transition: transform 0.13s cubic-bezier(.4,2,.6,1);
}
#filters label:hover {
  transform: scale(1.05);
  background: #c8e6c9;
  box-shadow: 0 2px 6px rgba(56,142,60,0.10);
  z-index: 2;
}

#map {
    width: 600px;
    height: 800px;
    max-width: 100%;
}
/* Base layout: side-by-side (desktop) */
.map-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* AI Guide Box Styling */
.ai-guide-box {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(56,142,60,0.15);
  padding: 12px 18px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  animation: ai-guide-flash 3.5s ease-in-out infinite;
}

@keyframes ai-guide-flash {
  0% {
    box-shadow: 0 4px 24px rgba(56,142,60,0.15);
  }
  40% {
    box-shadow: 0 4px 32px 8px rgba(56,142,60,0.32);
  }
  60% {
    box-shadow: 0 4px 32px 8px rgba(56,142,60,0.32);
  }
  100% {
    box-shadow: 0 4px 24px rgba(56,142,60,0.15);
  }
}

.ai-guide-box > div {
  flex: 1 1 200px;
  min-width: 0;
}

#ai-guide-input {
  width: 100%;
  box-sizing: border-box;
}

#ai-guide-btn {
  flex-shrink: 0;
  max-width: 100%;
  white-space: nowrap;
}

#ai-guide-btn span:last-child {
  margin-right: 0;
}


#ai-guide-input {
  width: 630px;
  max-width: 100%;
  padding: 12px 16px;
  font-size: 1em;
  border-radius: 8px;
  border: none;
  background: #f2f2f2;
  box-sizing: border-box;
  transition: background 0.18s, border 0.18s;
  outline: none;
  overflow-x: auto;
  height: 48px;
}
#ai-guide-input:focus,
#ai-guide-input:hover {
  background: #fff;
  border: 2px solid #388e3c;
}

#ai-guide-btn {
  padding: 12px 28px;
  font-size: 1em;
  background: #388e3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(56,142,60,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  white-space: nowrap;
  min-width: 140px;
}

#ai-guide-response {
  margin-top: 18px;
  font-size: 1.05em;
  color: #222;
  text-align: left;
  word-break: break-word;
}
/* Smooth blinking effect for AI response */
.blinking {
  animation: blink 2s linear infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Dashboard column settings (for mobile) */
.dashboard-column {
  overflow-y: auto;
  max-height: 100vh;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 350px;
  min-width: 320px;
  max-width: 400px;
  min-height: 400px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Responsive adjustment for small screens */
@media (max-width: 800px) {
  .map-layout {
    flex-direction: column;
    align-items: stretch;
  }

  #map {
    height: 500px;
  }
  #map-wrapper,
  .dashboard-column {
    width: 100%;
  }
}

.main-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}
/* Park dashboard/dashboard elements below */
.park-dashboard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(56,142,60,0.15);
  border: 1px solid #e0e0e0;
  padding: 28px 24px 32px 24px;
  width: 100%;
  margin-left: 0;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dashboard-park-name {
  font-size: 1.35em;
  color: #222;
  margin: 0;
  font-weight: 700;
  text-align: left;
}
.dashboard-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.3em;
  color: #388e3c;
  font-weight: 600;
  min-width: 70px;
  gap: 6px;
}
.dashboard-park-reviews {
  font-size: 0.95em;
  color: #555;
  font-weight: 400;
  margin-top: 2px;
  text-align: right;
  display: block;
  white-space: nowrap;
}
.star-emoji {
  margin-right: 4px;
}
.dashboard-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.feature-box {
  background: #e8f5e9;
  color: #555;
  border-radius: 18px;
  padding: 7px 16px;
  font-size: 1em;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(56,142,60,0.08);
  font-weight: 500;
  border: none;
}
.feature-emoji {
  margin-right: 7px;
  font-size: 1.2em;
}
.dashboard-park-image {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 22px auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(56,142,60,0.10);
}
.dashboard-directions {
  background: #67b16b;
  color: #fff;
  font-size: 1.2em;
  font-weight: 200;
  border: none;
  border-radius: 10px;
  padding: 16px 0;
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56,142,60,0.10);
  transition: background 0.2s;
}
.dashboard-directions:hover {
    background: #3e9643;
}
.dashboard-reviews {
  background: #fff;
  color: #555;
  font-size: 1.2em;
  font-weight: 200;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 16px 0;
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56,142,60,0.10);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dashboard-reviews:hover {
  background: #f5f5f5;
  border-color: #999;
  color: #333;
}
