/* ============================================================
   JACKSON CRAIG — Landing Page
   index.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.atlas-link {
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    0.4s ease;
}

/* ------------------------------------------------------------
   LANDING STAGE
   Full viewport, parchment background image
------------------------------------------------------------ */
.landing-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Background — parchment texture, cover so it fills edge to edge */
  background-image: url('Images/Landing_Background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* ------------------------------------------------------------
   ATLAS LINK WRAPPER
------------------------------------------------------------ */
.atlas-link {
  display: block;
  /* Size the atlas so it's tall enough to feel substantial
     but fits comfortably with breathing room on all sides.
     Book ratio is 1100:1622 (w:h = 1:1.4745) */
  height: min(78vh, 70vw * 1.4745);
  width: calc(min(78vh, 70vw * 1.4745) / 1.4745);
  cursor: pointer;
  text-decoration: none;

  /* Slight clockwise tilt — atlas resting on a table */
  transform: rotate(3deg);
  transform-origin: center center;

  /* Realistic book shadow — offset matches the tilt direction */
  filter: drop-shadow(6px 12px 24px rgba(80, 55, 20, 0.55))
          drop-shadow(2px 4px 8px rgba(60, 40, 10, 0.35));

  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    0.4s ease;
}

/* Hover — straighten slightly and lift */
.atlas-link:hover {
  transform: rotate(1.2deg) scale(1.045);
  filter: drop-shadow(10px 20px 36px rgba(80, 55, 20, 0.65))
          drop-shadow(3px 6px 12px rgba(60, 40, 10, 0.4));
}




/* ------------------------------------------------------------
   ATLAS BOOK IMAGE
------------------------------------------------------------ */
.atlas-book {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}