/* ===== Garngibboch Nature Nursery — site stylesheet ===== */

:root {
  --dark: #1A380E;
  --medgreen: #1E4E12;
  --medgreen2: #244A14;
  --cream: #F7F4ED;
  --lightgreen: #DCE9CF;
  --sage: #C8DFB0;
  --treegreen: #8AB56A;
  --gold: #C09030;
  --goldlight: #D4A84B;
  --white: #FFFFFF;
  --textdark: #2E2E2A;
  --muted: #6B6B60;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(26, 56, 14, 0.12);
  --shadow-sm: 0 4px 14px rgba(26, 56, 14, 0.10);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--textdark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--medgreen);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
section.tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.lede {
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--goldlight); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--goldlight); }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--medgreen); border: 1.5px solid var(--medgreen); }
.btn-outline-dark:hover { background: var(--medgreen); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 56, 14, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.15rem; }
.brand-text .sub { font-size: 0.62rem; letter-spacing: 1.5px; color: var(--goldlight); font-weight: 700; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--lightgreen);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.main-nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 12px; }
  .main-nav .btn { margin-left: 0; text-align: center; margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 86vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,32,8,0.72) 0%, rgba(15,32,8,0.55) 45%, rgba(15,32,8,0.88) 100%);
}
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero-badge { margin: 0 auto 22px; width: 110px; height: 110px; }
.hero h1 { color: var(--white); }
.hero .lede { color: var(--lightgreen); max-width: 620px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
}

.page-hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: 130px 0 70px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,32,8,0.78), rgba(15,32,8,0.6));
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--lightgreen); }

/* ---------- Stat banner ---------- */
.stat-banner {
  background: var(--medgreen);
  color: var(--white);
}
.stat-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.stat-banner .stat-num { font-family: var(--font-head); font-size: 3rem; color: var(--white); font-weight: 700; }
.stat-banner .stat-label { color: var(--goldlight); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.78rem; }
.stat-banner .divider { width: 1px; height: 46px; background: rgba(255,255,255,0.25); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card .icon-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--lightgreen);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon-circle svg { width: 26px; height: 26px; stroke: var(--medgreen); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

.offer-card {
  background: var(--medgreen);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.offer-card .icon-circle { background: rgba(255,255,255,0.14); flex-shrink: 0; }
.offer-card .icon-circle svg { stroke: var(--goldlight); }
.offer-card h3 { color: var(--white); margin-bottom: 6px; }
.offer-card p { color: var(--sage); margin: 0; font-size: 0.94rem; }

/* ---------- Section variants ---------- */
.section-dark { background: var(--dark); color: var(--lightgreen); }
.section-dark h2 { color: var(--white); }
.section-medium { background: var(--medgreen2); color: var(--sage); }
.section-medium h2 { color: var(--white); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature h2 { margin-bottom: 14px; }
.feature p { color: var(--muted); }
@media (max-width: 860px) {
  .feature, .feature.reverse .feature-media { grid-template-columns: 1fr; order: 0; }
  .feature { gap: 28px; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { border-radius: var(--radius); height: 220px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(1) img { height: 100%; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery a:nth-child(1) img { height: 220px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
}
.cta-band h2 { color: var(--dark); }
.cta-band p { color: #4a3a15; }

/* ---------- Timeline (day at Garngibboch) ---------- */
.timeline { max-width: 640px; margin: 0 auto; }
.timeline-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lightgreen);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time { flex-shrink: 0; width: 110px; font-weight: 800; color: var(--gold); font-family: var(--font-head); font-size: 1.05rem; }
.timeline-text h4 { margin: 0 0 4px; color: var(--medgreen); font-size: 1.02rem; }
.timeline-text p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Form ---------- */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--medgreen); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #DDD8C9;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--textdark);
  background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.hidden-field { position: absolute; left: -5000px; }

.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon-circle { flex-shrink: 0; width: 44px; height: 44px; background: var(--medgreen); }
.contact-item .icon-circle svg { width: 20px; height: 20px; stroke: var(--goldlight); }
.contact-item h4 { margin: 0 0 2px; color: var(--medgreen); font-size: 0.95rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--lightgreen); padding: 56px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; width: 40px; }
.footer-brand span { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; font-weight: 700; }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--goldlight); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #9CB088;
}

/* ---------- Misc ---------- */
.badge-icon { width: 100%; height: 100%; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* =====================================================================
   Mobile hardening — most visitors will be on a phone, so these rules
   tighten spacing, sizing and tap targets below tablet width.
   ===================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 48px 0; }
  section.tight { padding: 32px 0; }

  .site-header .container { height: 66px; }
  .brand img { height: 38px; width: 38px; }
  .brand-text .name { font-size: 1rem; }
  .brand-text .sub { font-size: 0.56rem; }
  .main-nav { top: 66px; }

  .hero { min-height: auto; padding: 118px 0 56px; }
  .hero-badge { width: 84px; height: 84px; margin-bottom: 16px; }
  .hero .lede { font-size: 1rem; }
  .pill-row { gap: 8px; }
  .pill { font-size: 0.72rem; padding: 6px 12px; }
  .hero-actions { gap: 10px; margin-bottom: 8px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }

  .page-hero { padding: 100px 0 48px; }

  .btn { padding: 13px 22px; font-size: 0.9rem; width: 100%; }
  .hero-actions .btn, .cta-band .btn { width: auto; }

  .stat-banner .container { gap: 22px 30px; padding: 22px 18px; }
  .stat-banner .stat-num { font-size: 2.2rem; }
  .stat-banner .divider { display: none; }

  .card, .form-wrap { padding: 22px; }
  .offer-card { padding: 20px; gap: 14px; }
  .offer-card .icon-circle, .card .icon-circle { width: 44px; height: 44px; }
  .offer-card .icon-circle svg, .card .icon-circle svg { width: 21px; height: 21px; }

  .cta-band { padding: 32px 22px; }

  .gallery img { height: 150px; }
  .gallery a:nth-child(1) img { height: 100%; }

  .timeline-item { gap: 12px; }
  .timeline-time { width: 70px; font-size: 0.9rem; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-wrap .btn { width: 100%; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.9rem; }
  .pill { font-size: 0.68rem; padding: 5px 10px; }
  .hero-badge { width: 72px; height: 72px; }
}

/* Comfortable tap targets on touch devices */
@media (pointer: coarse) {
  .main-nav a, .nav-toggle { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 46px; }
}
