
/* =========================
   GLOBAL TEXT STYLE
========================= */

.bigger-text {
  font-size: 1.5rem;
}

/* =========================
   HOME PAGE (INDEX)
========================= */

body {
  margin: 0;
  text-align: center;
}

/* home background */
body.home {
  background-image: url("wood.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

/* circle container */
.circle-container {
	z-index: 5;
  position: relative;
  width: 600px;
  height: 600px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* orbit positioning base */
.circle-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
}

/* true circle layout */
.item1 {
  transform: rotate(0deg) translate(160px) rotate(0deg);
}

.item2 {
  transform: rotate(120deg) translate(160px) rotate(-120deg);
}

.item3 {
  transform: rotate(240deg) translate(160px) rotate(-240deg);
}

/* images */
.circle-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.2s ease;
}

.circle-item img:hover {
  transform: scale(1.15);
}

.angled-header {
  position: absolute;
  top: 300px;
  left: 20px;

  width: 600px; /* adjust size as needed */

  transform: rotate(-30deg);
  transform-origin: top left;

  z-index: 2;

  pointer-events: none; /* prevents it blocking clicks */
}



/* =========================
   CAVE PAGE BASE
========================= */

body.page {
  margin: 0;
  background-image: url("carpet.jpeg");
  background-repeat: repeat;
  background-color: beige;
}

/* container */
.container {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

/* =========================
   SCROLL STACK LAYOUT
========================= */

.block {
  max-width: 600px;
  margin: 160px auto;  /* spacing between sections */
  text-align: center;
  background: none;
}

/* images */
.image-block img {
  width: 320px;  /* slightly larger for scroll focus */
  height: auto;
  display: block;
  margin: 0 auto;

  position: relative;
}

/* =========================
   OVERLAY TEXT (ON IMAGE)
========================= */

.image-block {
  position: relative;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 80%;

  color: white;
  background: none;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* =========================
   FIXED CAVE FRAMING
========================= */

.cave-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.cave-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

/* =========================
   BACK LINK
========================= */

.back-link {
  display: block;
  text-align: center;
  margin: 120px 0;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}