/* ==================================================================
   GROUND ZERO GAMES — "The Binding"  |  Stylesheet
   ==================================================================
   Controls how the site LOOKS. The quickest things to change are in
   the ":root" block just below — change a colour once here and it
   updates across the whole site.
   ================================================================== */

:root {
  /* ---- COLOURS (edit these) ---- */
  --black:      #0d0d0d;   /* the black bands + page background */
  --white:      #ffffff;   /* main text                        */
  --gold:       #e8b84b;   /* amber links / accents            */

  /* ---- FONT ---- */
  --font: "Helvetica Neue", Arial, sans-serif;
}


/* ---- BASIC RESET (leave as-is) ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;   /* smooth scroll when clicking nav links */
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.5;
  overflow-x: hidden;        /* stop side-scroll from the bleeding images */
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration: none;
}


/* ==================================================================
   HEADER / NAVIGATION  (transparent bar over the top of the hero)
   ================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
}

.brand img {
  height: 46px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: var(--white);
  font-size: 17px;
}

.site-nav a:hover {
  color: var(--gold);
}

/* Hamburger button — hidden on desktop, shown on phones (see bottom) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--white);
}


/* ==================================================================
   HERO  (crossroads scene)
   The section is a full-height stage. The three pieces are placed
   on top of the background image with position: absolute.
   ================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("images/hero-crossroads.avif");
  background-size: cover;
  background-position: center;
}

/* "THE BINDING" title — left side, bleeding off the edge */
.hero-title {
  position: absolute;
  left: 3vw;
  top: 55%;
  transform: translateY(-50%);
  width: 30vw;
  max-width: 440px;
  filter: drop-shadow(0 0 25px rgba(232, 184, 75, 0.4));
}

/* Story text — white block sitting in the middle of the scene */
.hero-story {
  position: absolute;
  top: 55%;
  left: 30%;
  transform: translateY(-50%);
  width: 42vw;
  max-width: 560px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-story p {
  margin-bottom: 20px;
}

/* The Wraith character — right side, standing on the ground line,
   bleeding slightly off the right edge as in the original. */
.hero-character {
  position: absolute;
  right: 3vw;
  bottom: 0;
  height: 72%;
  width: auto;
}


/* ==================================================================
   CAVE BAND  (mine scene with a creature on the left)
   ================================================================== */
.cave {
  position: relative;
  height: 80vh;
  min-height: 520px;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("images/cave-background.avif");
  background-size: cover;
  background-position: center;
}

.cave-creature {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 96%;
  width: auto;
}


/* ==================================================================
   STUDIO BAND  (black, everything centred)
   ================================================================== */
.studio {
  text-align: center;
  background-color: var(--black);
  padding: 90px 24px;
}

.studio-logo {
  width: 360px;
  max-width: 80%;
  margin: 0 auto 26px;
}

.studio p {
  max-width: 560px;
  margin: 0 auto 26px;
}

.studio-title {
  width: 180px;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(232, 184, 75, 0.35));
}


/* ==================================================================
   CONTACT BAND  (black, everything centred)
   ================================================================== */
.contact {
  text-align: center;
  background-color: var(--black);
  padding: 60px 24px 40px;
}

.contact-image {
  width: 220px;
  margin: 0 auto 30px;
}

.contact h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}


/* ==================================================================
   FOOTER  (social icons + copyright)
   ================================================================== */
.site-footer {
  text-align: center;
  background-color: var(--black);
  padding: 20px 24px 46px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}

.socials a {
  color: var(--white);
  transition: color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.copyright {
  font-size: 15px;
  color: #cfcfcf;
}


/* ==================================================================
   PHONES / SMALL SCREENS
   On narrow screens the overlapping scenes stack neatly instead.
   ================================================================== */
@media (max-width: 900px) {

  /* Show hamburger, hide the desktop nav until it's opened */
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background-color: rgba(13, 13, 13, 0.97);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 16px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* HERO becomes a normal stacked column instead of overlapping */
  .hero {
    height: auto;
    padding: 120px 20px 40px;
  }

  .hero-title,
  .hero-story,
  .hero-character {
    position: static;
    transform: none;
  }

  .hero-title {
    width: 240px;
    max-width: 70%;
    margin: 0 auto 24px;
    left: 0;
  }

  .hero-story {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .hero-character {
    height: auto;
    width: auto;
    max-width: 80%;
    margin: 0 auto;
  }

  /* CAVE creature centres and sits below its background */
  .cave {
    height: auto;
    padding: 40px 20px;
  }

  .cave-creature {
    position: static;
    height: auto;
    width: auto;
    max-width: 80%;
    margin: 0 auto;
  }

  body { font-size: 18px; }
}
