/* ============================================================
   JUNGLE-JIM — Superior Quality Playgrounds
   Brand colours: Jungle Green / White / Wooden Brown
   ============================================================ */

:root {
  --green: #1e6b3c;
  --green-dark: #14522c;
  --green-light: #e8f3ec;
  --leaf: #58a05c;
  --wood: #8b5a2b;
  --wood-dark: #6b4423;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #26312a;
  --grey: #5f6f63;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 60, 35, 0.10);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* SVG icon sizing */
.nav-phone svg { width: 16px; height: 16px; }
.btn svg { width: 18px; height: 18px; }
.card-icon svg { width: 26px; height: 26px; stroke: var(--green); }
.contact-row .ico svg { width: 20px; height: 20px; stroke: var(--green); }
.footer-contact li svg { width: 15px; height: 15px; stroke: #9fd98f; margin-right: 0.55rem; vertical-align: -2px; }

/* Subtle entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-head, .card, .range-card, .product-card, .stat, .contact-card {
  animation: fadeUp 0.7s ease both;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }

.main-nav a.nav-link {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a.nav-link:hover,
.main-nav a.nav-link.active {
  color: var(--green);
  border-bottom-color: var(--wood);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green);
  color: #fff !important;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-phone:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-dark);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(30, 107, 60, 0.28); }
.btn-green:hover { background: var(--green-dark); }

.btn-wood { background: var(--wood); color: #fff; box-shadow: 0 6px 18px rgba(139, 90, 43, 0.28); }
.btn-wood:hover { background: var(--wood-dark); }

.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-white { background: #fff; color: var(--green-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.btn-white:hover { background: var(--green-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(105deg, rgba(16, 54, 30, 0.88) 0%, rgba(16, 54, 30, 0.55) 45%, rgba(16, 54, 30, 0.15) 100%), url('images/hero.jpg') center/cover no-repeat;
}

.hero-content { padding: 5rem 0; max-width: 640px; }

.hero-badge {
  display: inline-block;
  background: var(--wood);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.hero h1 .accent { color: #9fd98f; }

.hero p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--wood-dark);
  color: #f3e8d8;
  padding: 1.1rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-items span { display: flex; align-items: center; gap: 0.5rem; }

.trust-items .dot {
  width: 10px; height: 10px;
  background: var(--leaf);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }

.section-alt { background: #fff; }

.section-green { background: var(--green); color: #fff; }

.section-head { max-width: 680px; margin-bottom: 2.8rem; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  color: var(--wood);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

.section-green .eyebrow { color: #cfe8c4; }

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-head p { margin-top: 0.9rem; color: var(--grey); font-size: 1.05rem; }

.section-green .section-head p { color: #d9ecdd; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 1.6rem; }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  border: 1px solid #e7ede8;
  border-top: 4px solid var(--green);
  box-shadow: 0 4px 16px rgba(20, 60, 35, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card.wood-top { border-top-color: var(--wood); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 800; }

.card p { color: var(--grey); font-size: 0.95rem; }

/* ---------- Range preview cards ---------- */
.range-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7ede8;
  box-shadow: 0 4px 16px rgba(20, 60, 35, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.range-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.range-card img { height: 240px; width: 100%; object-fit: cover; }

.range-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.range-body h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }

.range-body p { color: var(--grey); font-size: 0.95rem; flex: 1; }

.range-body a {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--green);
}

.range-body a:hover { color: var(--wood); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat .num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
}

.stat .lbl { color: #cfe4d2; font-weight: 600; font-size: 0.95rem; }

/* ---------- Safety / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.25; }

.split p { color: var(--grey); margin-bottom: 1rem; }

.tick-list { list-style: none; margin: 1.2rem 0 1.6rem; }

.tick-list li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
  font-weight: 600;
}

.tick-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 22px; height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--wood-dark), var(--wood));
  color: #fff;
  border-radius: 18px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 14px 34px rgba(107, 68, 35, 0.25);
}

.cta-band h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; }

.cta-band p { opacity: 0.9; }

/* ---------- Products page ---------- */
.page-hero {
  background: linear-gradient(105deg, rgba(16,54,30,0.9), rgba(16,54,30,0.65)), url('images/wooden-2.jpg') center/cover no-repeat;
  color: #fff;
  padding: 4.5rem 0;
}

.page-hero.contact-bg {
  background: linear-gradient(105deg, rgba(16,54,30,0.9), rgba(16,54,30,0.65)), url('images/hero.jpg') center/cover no-repeat;
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 0.6rem; }

.page-hero p { max-width: 620px; font-size: 1.1rem; opacity: 0.95; }

.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.filter-btn {
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--green);
  font-family: var(--font);
  font-weight: 800;
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.filter-btn:hover { background: var(--green-light); }

.filter-btn.active { background: var(--green); color: #fff; }

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7ede8;
  border-bottom: 4px solid var(--green);
  box-shadow: 0 4px 16px rgba(20, 60, 35, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.product-card img { height: 230px; width: 100%; object-fit: cover; }

.product-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

.product-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.7rem;
}

.product-tag.tag-wood { background: #f3e8d8; color: var(--wood-dark); }
.product-tag.tag-steel { background: #e3ecf5; color: #1d4e77; }
.product-tag.tag-plastic { background: #fdeaea; color: #9c3b3b; }
.product-tag.tag-tiles { background: #ececec; color: #333; }

.product-body h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.45rem; }

.product-body p { color: var(--grey); font-size: 0.92rem; margin-bottom: 0.9rem; }

.product-feats { list-style: none; margin-bottom: 1.2rem; flex: 1; }

.product-feats li {
  font-size: 0.88rem;
  padding: 0.2rem 0 0.2rem 1.4rem;
  position: relative;
  color: var(--ink);
  font-weight: 600;
}

.product-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62rem;
  width: 8px; height: 8px;
  background: var(--wood);
  border-radius: 50%;
}

.enquire-link {
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.enquire-link:hover { color: var(--wood-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-card h3 { font-weight: 800; margin-bottom: 1.2rem; font-size: 1.2rem; }

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eee;
}

.contact-row:last-child { border-bottom: none; }

.contact-row .ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-row .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); font-weight: 700; }

.contact-row .val { font-weight: 800; font-size: 1.05rem; }

.contact-row .val a { color: var(--ink); }
.contact-row .val a:hover { color: var(--green); }

form.quote-form { display: grid; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.quote-form label { font-weight: 700; font-size: 0.88rem; display: block; margin-bottom: 0.3rem; }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid #dde5de;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-note { font-size: 0.85rem; color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #d9ecdd;
  padding: 3.5rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-grid img { height: 46px; margin-bottom: 1rem; }

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.site-footer a { color: #d9ecdd; }
.site-footer a:hover { color: #fff; }

.footer-links { list-style: none; }
.footer-links li { padding: 0.25rem 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 5%;
    gap: 0.4rem;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid var(--green);
  }

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

  .main-nav a.nav-link { padding: 0.6rem 0; }

  .nav-phone { justify-content: center; margin-top: 0.5rem; }

  .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }

  .cta-band { padding: 2rem; }

  .trust-items { gap: 1.2rem; font-size: 0.85rem; }
}
