/* =========================
   RESET + BASE
========================= */
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

/* =========================
   SCENE (FULL SCREEN CENTER)
========================= */
#scene {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   WELCOME CARD (LOCKED STAGE)
========================= */
#welcome-wrapper {
  position: relative;
  width: 1300px;        /* MASTER SIZE — adjust to make welcome image bigger */
  max-width: 95vw;
  aspect-ratio: 3 / 2;   /* lock proportions */
  overflow: visible;     /* allow popups to appear outside */
}

/* =========================
   WELCOME SVG (VISUAL ONLY)
========================= */
#welcome {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   HOTSPOTS (DEBUG FRIENDLY)
========================= */
.hotspot {
  position: absolute;
  cursor: pointer;

  /* DEBUG: turn on for adjusting hotspots */
  /* background: rgba(255, 0, 0, 0.3); */
}

/* 🔧 ADJUST THESE TO MATCH YOUR DESIGN */
#btn-about {
  top: 64%;
  left: 43%;
  width: 10%;
  height: 4%;
}

#btn-projects {
  top: 64%;
  left: 56%;
  width: 10%;
  height: 4%;
}

#btn-cursor {
  top: 68%;
  left: 24%;
  width: 10%;
  height: 4%;
}

/* =========================
   POPUPS
========================= */
.popup {
  position: absolute;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  display: inline-block;       /* ensures popup div has size */
}

/* ACTIVE POPUP */
.popup.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* POPUP POSITIONS (EDIT THESE) */
#about-popup {
  top: 40px;
  left: 40px;
}

#projects-popup {
  top: 160px;
  left: 720px;
}

/* POPUP WINDOW IMAGE */
.popup img:not(.close) {
  width: 78%;    /* fills popup container */
  height: auto;
  display: block;
}


/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 0%;
  right: 22%;
  width: 54px;
  cursor: inherit;
}

/* =========================
   CUSTOM CURSOR (AFTER ACTIVATION)
========================= */
body.custom-cursor {
  cursor: url("cursor.png") 0 0, auto;
}

body.custom-cursor .hotspot,
body.custom-cursor .close {
  cursor: inherit;
}

@media (max-width: 1000px) {  /* only affects mobile screens */
  
  /* Adjust Projects popup close button on mobile */
  #projects-popup .close {
    top: -5px;     /* adjust until it sits nicely on the image */
    right: 115px;   /* adjust horizontally */
    width: 60px;   /* optional: make it smaller for mobile */
  }

  /* Optional: adjust popup image size for mobile */
  #projects-popup img:not(.close) {
    width: 80%;    /* make popup bigger on mobile */
    height: auto;
  }

  /* Optional: reposition popup on screen if needed */
  #projects-popup {
    top: 80%;
    left: 35%;
  }

}
