

/* Title and Ranger styles */
.map-title {
  background-color: rgba(0, 100, 0, 0.6);
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  margin: 20px auto;
  font-size: 2.5em;
  color: white;
  text-align: center;
}

.ranger-img {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 120px;
}
.map-page {
  min-height: 100vh;
  background-image: url('smoky-map1.jpg'); /* ✅ Corrected path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  text-shadow: 1px 1px 3px black;
}

/* 🟡 Clickable Map Zones */
.map-zone {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 0, 0.4); /* semi-transparent yellow */
  border: 2px dashed #FFD700;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.map-zone:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 0, 0.6);
}

/* Specific zone positions */
#lookrock {
  top: 35%;
  left: 20%;
}

#clingmansdome {
  top: 60%;   /* moved slightly down */
  left: 70%;  /* moved slightly right */
}
.ranger-img {
  pointer-events: none;  /* Prevents ranger image from hijacking clicks */
}

#trainingroom {
  top: 38%;              /* Slight vertical adjustment */
  left: 48%;             /* Slight horizontal adjustment */
  width: 120px;
  height: 120px;
  background-color: rgba(0, 200, 255, 0.4);
  border: 2px solid #00ccff;
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 10;           /* 🔥 Makes sure it sits on top */
  position: absolute;    /* 🧠 Required for z-index to work */
}


/* Optional: Add pulsing animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.dashboard {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  width: 220px;
  font-family: Arial, sans-serif;
  z-index: 100;
  box-shadow: 0 0 10px black;
}

.dashboard h3 {
  margin-top: 0;
  color: #90ee90;
}
.dashboard {
  cursor: pointer;
  transition: transform 0.2s;
}

.dashboard:hover {
  transform: scale(1.02);
  background-color: rgba(0, 128, 0, 0.6);
}
button {
  display: block;
  position: absolute;
  bottom: 30px;
  right: 30px;
  padding: 10px 16px;
  font-size: 16px;
  background-color: #228B22;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 0 5px #000;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1a6d1a;
}
.alert-button {
  margin: 40px auto 60px auto; /* More space above and below */
  padding: 14px 28px;
  font-size: 18px;
  background-color: crimson;
  color: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 15px red;
  cursor: pointer;
  display: block;
}

.alert-button:hover {
  background-color: darkred;
  box-shadow: 0 0 25px orange;
}



