html, body {
  margin: 0;
  height: 100%;
  overflow: hidden; /* Keep if you want only #scrollbox to scroll */
  font-family: system-ui, sans-serif;
}

:root {
  --moss: #3a5035;
  --moss2: #4a6345;
  --rust: #a14c31;
  --raccoon-grey: #7a7976;

  /* Fallback combined height of #hero + .nav */
  --header-offset: 180px; /* Adjust if your header + nav height changes */
}

/* HERO container */
#hero {
  background: var(--moss);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px; /* Your hero height */
  z-index: 100;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* FLEX wrapper */
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
}

/* Logo on the left */
.hero-logo {
  height: 110px;
  width: auto;
  margin-left: 3em;
  margin-right: 3em;
  flex-shrink: 0;

}

/* Centered text block */
.hero-text {
  text-align: left;
  margin: 0;
  line-height: 1.3;
}

/* Remove default paragraph spacing */
.hero-text p,
.hero-text h1,
.hero-text .tagline,
.hero-text .subtagline {
  margin: 0;
  margin-bottom: 0.5em;
}

#hero .tagline {
  font-size: 1.2em;
}

#hero .subtagline {
  font-size: 0.9em;
}

/* NAVBAR */
.nav {
  background: var(--raccoon-grey);
  position: fixed;
  top: 130px;
  width: 100%;
  z-index: 100;
  padding-right: 2cm; 
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  padding: 0.75em 1em;
  display: inline-block;
  text-decoration: none;
  margin-left: 1.5em;
  transform: translateX(-1.3cm); /* <-- Shift left by 1cm */
}

.nav a:hover {
  text-decoration: underline;
}

/*
@media (max-width: 600px) {
  #hero {
    height: auto;
    padding: 1em 0;
    flex-direction: column;
  }

  .hero-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1em;
    text-align: center;
    margin-left: -1.5em;
  }

  .hero-logo {
    height: 70px;
    margin: 0 0 1em 0;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
  font-size: 1.5em; 
  line-height: 1.2;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25em;
    padding: 0.5em;
    background: var(--raccoon-grey);
  }

  .nav a {
    margin: 0;
    padding: 0.5em;
    font-size: 0.95em;
    text-align: center;
    width: 100%;
    margin-left: 2.5em;
  }
}
*/
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 1.2em;
  }

  #hero .tagline {
    font-size: 0.95em;
  }

  #hero .subtagline {
    font-size: 0.75em;
  }

  .hero-logo {
    height: 60px;
  }

  .hero-inner {
    padding: 0 0.5em;
  }
}




#scrollbox {
  height: calc(100% - var(--header-offset));
  margin-top: var(--header-offset);
  overflow-y: scroll;
  background: url('images/Stage1.jpg') center top / cover no-repeat fixed;
  background-color: rgba(247, 246, 243, 0.92);
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 2em 1em;
  padding-bottom: 8vh;
}

.parchment {
  background: url('images/texture.jpg');
  background-size: cover;
  padding: 1.5em;
  border-radius: 6px;
  margin-bottom: 2em;
}

details {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: url('images/texture.jpg');
  margin-bottom: 2em;
  overflow: hidden;
}


summary {
  background: var(--moss);
  color: white;
  padding: 1em;
  font-size: 1.2em;
  cursor: pointer;
  font-weight: bold;
}

summary:hover {
  background: var(--moss2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
  gap: 1em;
}

.card {
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1em;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
  position: static;
  width: 180px;
  box-sizing: border-box;
  flex-grow: 0;
  flex-shrink: 0;
  gap: 1em; /* Add this line to create space between items */
}

.cards-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}

.cards-two .card {
  max-width: 100%;
}

.card h3 {
  margin-top: 0;
  color: var(--moss);
}

.card p {
  margin: 0.5em 0 0;
}

.indev {
  display: block;
  width: 100%;
  background-color: #d32f2f;
  color: white !important;
  padding: 0.5em 1em;
  font-size: 0.75em;
  font-weight: 700;
  text-align: center;  
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-top: auto; /* Changed from 1em to auto */
  box-sizing: border-box; /* Add this */
}

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  background: url('images/texture.jpg');
  background-size: cover;
  padding: 2em;
  border-radius: 6px;
}

.about-image {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  max-height: 400px;
  object-fit: contain;
}

.about-deets {
  flex: 1;
}

.art {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  background: url('images/texture.jpg');
  background-size: cover;
  padding: 2em;
  border-radius: 6px;
}

.art-image {
  width: 75%;
  max-width: 150px;
  border-radius: 8px;
  max-height: 200px;
  object-fit: contain;
}

.art-deets {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding: 1.5em;

  border-radius: 6px;
  margin-top: 2em;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.contact-form button {
  background: var(--moss);
  color: white;
  border: none;
  padding: 0.75em;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
}

.contact-form button:hover {
  background: var(--rust);
}

footer {
  background: var(--moss);
  color: white;
  text-align: center;
  padding: 2em 1em;
}

footer .raccoon-icon {
  height: 80px;
  display: block;
  margin: 0 auto 1em;
}