/* GrassRoots Games Rental — stylesheet */

:root {
  --green-900: #1f4d2c;
  --green-800: #234f30;
  --green-700: #2f6d3b;
  --green-600: #3c8449;
  --green-500: #4c9a5c;
  --green-100: #e7f2e9;
  --wood-700: #6b431f;
  --wood-500: #8a5a30;
  --wood-300: #c9a06c;
  --sun-500: #e0a634;
  --sun-600: #c88b1f;
  --sun-300: #f2c869;
  --cream: #faf6ec;
  --cream-2: #f3ecdb;
  --ink: #23291f;
  --ink-soft: #4b5346;
  --white: #ffffff;
  --line: #e1dcc9;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(31, 40, 25, 0.08);
  --shadow-md: 0 10px 30px rgba(31, 40, 25, 0.14);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); text-align: center; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--green-700); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-800);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--sun-500);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sun-600); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

.btn-small {
  font-size: 0.85rem;
  padding: 0.5em 1.1em;
  background: var(--green-700);
  color: #fff;
}
.btn-small:hover { background: var(--green-800); }

.btn-block { width: 100%; }
.btn-block:disabled { opacity: 0.6; cursor: not-allowed; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wood-700);
  margin: 0 0 0.6em;
}

.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-head);
  color: var(--green-900);
}
.brand-mark { font-size: 1.6rem; }
.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-500);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--green-700);
  color: #fff !important;
  padding: 0.5em 1.1em;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--green-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--green-900);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/games/axe-throwing-large.jpg");
  background-size: cover;
  background-position: center 35%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 24, 0.78) 0%, rgba(20, 39, 24, 0.72) 45%, rgba(20, 39, 24, 0.88) 100%);
}
.hero-inner {
  position: relative;
  padding: 4.5rem 20px 3.5rem;
  text-align: center;
  max-width: 780px;
}
.hero .eyebrow { color: var(--sun-300); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero-sub {
  color: #eef3ea;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.8em;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.hero-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stats strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--sun-500);
}
.hero-stats span {
  font-size: 0.8rem;
  color: #eef3ea;
}

/* How it works */
.how { padding: 4rem 0 3rem; }
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.how-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.3rem;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.how-steps p { margin: 0; font-size: 0.92rem; }

/* Games grid */
.games { padding: 3rem 0 4rem; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}
.game-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.game-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
  background: var(--green-100);
  overflow: hidden;
}
.game-photo img { width: 100%; height: 100%; object-fit: cover; }
button.game-photo.has-photo { cursor: zoom-in; }
button.game-photo.has-photo:focus-visible { outline: 3px solid var(--sun-500); outline-offset: -3px; }

.game-photo.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--ph-a, #3f7d52), var(--ph-b, #265238));
  color: #fff;
}
.ph-icon { font-size: 2.4rem; line-height: 1; }
.ph-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.game-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { margin-bottom: 0.3em; }
.game-body p { font-size: 0.92rem; flex: 1; }
.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  gap: 0.6rem;
}
.price-tag {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-800);
}
.price-tag small { font-weight: 500; color: var(--ink-soft); font-size: 0.7em; }

/* Extras */
.extras { padding: 1rem 0 4rem; }
.extras-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.extras-photo img { height: 100%; object-fit: cover; }
.extras-copy { padding: 2rem 2.2rem 2rem 0; }

/* Pricing */
.pricing { padding: 1rem 0 4rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.price-card h3 { font-size: 0.95rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; margin-bottom: 0.4em; }
.price-amt {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--green-800);
  margin: 0 0 0.1em;
}
.price-sub { font-size: 0.82rem; margin: 0; }
.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 2rem auto 0;
  font-size: 0.92rem;
}

/* Delivery */
.delivery { padding: 1rem 0 4rem; }
.delivery-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.4rem;
  align-items: start;
}
.delivery-card {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.8rem;
}
.delivery-card h3 { color: #fff; }
.delivery-card ul { margin: 0; padding-left: 1.2rem; }
.delivery-card li { margin-bottom: 0.5em; font-size: 0.92rem; }

/* FAQ */
.faq { padding: 1rem 0 4rem; }
.faq-list {
  max-width: 760px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-900);
}
.faq-list p { margin: 0.7em 0 0; }

/* Booking form */
.book { padding: 1rem 0 5rem; }
.book-inner { max-width: 760px; margin: 0 auto; }
.book-intro { text-align: center; margin-bottom: 2rem; }
.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  font: inherit;
  padding: 0.65em 0.8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
}
.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}
.checkbox-field input { width: 18px; height: 18px; }

.field-games {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin: 0 0 1.1rem;
}
.field-games legend {
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--green-900);
  padding: 0 0.3em;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}
.checkbox-grid input { width: 16px; height: 16px; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.estimate-box {
  background: var(--green-100);
  border: 1px solid var(--green-500);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.3rem 0;
}
.estimate-box h3 { margin-bottom: 0.6em; font-size: 1rem; }
.estimate-box dl { margin: 0; }
.estimate-box dl > div {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  font-size: 0.92rem;
}
.estimate-box dt { color: var(--ink-soft); }
.estimate-box dd { margin: 0; font-weight: 600; }
.estimate-total {
  border-top: 1px dashed var(--green-500);
  margin-top: 0.4rem;
  padding-top: 0.5rem !important;
  font-family: var(--font-head);
}
.estimate-total dd { font-size: 1.1rem; color: var(--green-800); }
.estimate-fine { font-size: 0.78rem; margin: 0.6rem 0 0; }

.form-status {
  min-height: 1.4em;
  text-align: center;
  font-weight: 600;
  margin: 0.8rem 0 0;
}
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--green-900);
  color: #eef3ea;
  padding: 2.6rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .brand-text { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4em; }
.site-footer a { color: #fff; }
.site-footer p { color: #eef3ea; }
.footer-contact p { margin: 0 0 0.4em; color: #eef3ea; }
.footer-bottom {
  padding: 1rem 20px 1.4rem;
  font-size: 0.8rem;
  text-align: center;
  color: #a9bba2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* Responsive */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .extras-inner { grid-template-columns: 1fr; }
  .extras-photo img { max-height: 260px; width: 100%; }
  .extras-copy { padding: 0 1.6rem 1.8rem; }
  .delivery-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 20px 1.4rem;
    gap: 0.9rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.4rem 0; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  .how-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .booking-form { padding: 1.4rem; }
  .hero-inner { padding: 3.2rem 20px 2.6rem; }
  .hero-stats { gap: 1.4rem; }
}
