/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background-color: #f5f5f5;
}

/* Container - natural image sizing */
.page-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  line-height: 0;
}

/* Image - scales with width, maintains aspect ratio */
.page-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Base hotspot styles */
.hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  /* DEBUG: Red border to see hotspot positions */
  /* border: 3px solid red;
  background-color: rgba(255, 0, 0, 0.1); */
}

/* .hotspot:hover {
  background-color: rgba(255, 0, 0, 0.3);
} */

/* Active page indicator */
.hotspot.active {
  border-color: blue;
}

/* ============================================
   HOTSPOT POSITIONS - UNIFIED FOR ALL PAGES
   Sidebar width: ~16% | Left offset: ~2%
   Height: ~6% | Gap: ~0.5%
   ============================================ */

/* Horizontal positioning (same for all pages) */
.hotspot-dashboard,
.hotspot-activities,
.hotspot-games,
.hotspot-weather,
.hotspot-news,
.hotspot-meals {
  left: 0.4%;
  width: 15%;
  height: 6.5%;
}

/* ============================================
   VERTICAL POSITIONS - Similar for all pages
   Menu items are at same position across images
   Only Dashboard needs slight adjustment (shorter image)
   ============================================ */

/* Dashboard: 1590x793 - shorter image */
.page-dashboard .hotspot-dashboard { top: 21%; }
.page-dashboard .hotspot-activities { top: 29%; }
.page-dashboard .hotspot-games { top: 37%; }
.page-dashboard .hotspot-weather { top: 45%; }
.page-dashboard .hotspot-news { top: 53%; }
.page-dashboard .hotspot-meals { top: 61%; }

/* Activities, Games, Weather, News, Meals: ~1580-1595 x 860-866 */
.page-activities .hotspot-dashboard,
.page-games .hotspot-dashboard,
.page-weather .hotspot-dashboard,
.page-news .hotspot-dashboard,
.page-meals .hotspot-dashboard { top: 19%; }

.page-activities .hotspot-activities,
.page-games .hotspot-activities,
.page-weather .hotspot-activities,
.page-news .hotspot-activities,
.page-meals .hotspot-activities { top: 25.8%; }

.page-activities .hotspot-games,
.page-games .hotspot-games,
.page-weather .hotspot-games,
.page-news .hotspot-games,
.page-meals .hotspot-games { top: 33%; }

.page-activities .hotspot-weather,
.page-games .hotspot-weather,
.page-weather .hotspot-weather,
.page-news .hotspot-weather,
.page-meals .hotspot-weather { top: 41%; }

.page-activities .hotspot-news,
.page-games .hotspot-news,
.page-weather .hotspot-news,
.page-news .hotspot-news,
.page-meals .hotspot-news { top: 48%; }

.page-activities .hotspot-meals,
.page-games .hotspot-meals,
.page-weather .hotspot-meals,
.page-news .hotspot-meals,
.page-meals .hotspot-meals { top: 55.5%; }

/* ============================================
   BELL ICON HOTSPOT (Dashboard only)
   ============================================ */
.hotspot-bell {
  top: 23.5%;
  right: 17.2%;
  width: 3%;
  height: 5%;
  left: auto;
  /* DEBUG */
  /* border: 3px solid red;
  background-color: rgba(255, 0, 0, 0.2); */
}

/* ============================================
   POPUP OVERLAY STYLES
   ============================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-overlay.active {
  display: flex;
}

.popup-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.popup-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* X button hotspot on popup (top right) */
.hotspot-close {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 8%;
  height: 8%;
  cursor: pointer;
}

/* Big Close button hotspot on popup (bottom) */
.hotspot-close-btn {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 15%;
  cursor: pointer;
  /* DEBUG */
  /* border: 3px solid red;
  background-color: rgba(255, 0, 0, 0.2); */
}
