/* ===== CRDEA warm light theme based on the logo ===== */
:root{
  /* logo colours */
  --red:#f20e17;
  --green:#00713c;
  --gold:#d59203;

  /* neutrals */
  --bg:#fdf9f5;      /* off-white page bg */
  --surface:#fffefa; /* section bg */
  --elev:#fff6e8;    /* card bg */
  --text:#1b160f;    /* espresso text */
  --muted:#5f5446;   /* secondary text */
  --border:#e7dfd3;  /* subtle borders */
  --shadow:0 8px 24px rgba(0,0,0,.07);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  background:var(--bg);color:var(--text);line-height:1.65;
}

img{max-width:100%;height:auto}
.container{width:min(1160px,92%);margin-inline:auto}
.row{display:flex;gap:1rem;align-items:center}
.space{justify-content:space-between}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
@media(max-width:900px){.grid-2{grid-template-columns:1fr}}

a{color:var(--green);text-decoration:none}
a:hover{text-decoration:underline}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.brand-logo{height:48px;width:auto;display:block}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem;align-items:center}
.nav a.active{border-bottom:2px solid var(--green)}
.nav a.btn{background:var(--green);color:#fff;border:none;border-radius:.55rem;padding:.5rem .7rem}
.nav-toggle{display:none;background:#fff;border:1px solid var(--border);border-radius:.5rem;padding:.5rem .7rem}
@media(max-width:820px){
  .nav-toggle{display:block}
  .nav{display:none}
  .nav.open{display:block}
  .nav ul{flex-direction:column;align-items:flex-start;padding:1rem 0}
}

/* hero */
.hero{
  padding:5rem 0 4rem;
  background:
    linear-gradient(135deg,rgba(0,113,60,.10),rgba(213,146,3,.10)),
    url('assets/hero.jpg') center/cover no-repeat;
  border-bottom:1px solid var(--border);
}
.display{font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.15;margin:0 0 .7rem}
.lead{color:var(--muted);max-width:65ch}
.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.2rem}

/* sections */
.section{padding:3rem 0;border-top:1px solid var(--border)}
.section.alt{background:var(--surface)}
.prose h1,.prose h2,.prose h3{margin:.2rem 0 .6rem}
.prose p{color:var(--text)}
.muted{color:var(--muted)}

/* cards and panels */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem;margin-top:1rem}
.card,.panel{background:var(--elev);border:1px solid var(--border);border-radius:18px;padding:1.2rem;box-shadow:var(--shadow)}

/* badges */
.badges{display:flex;gap:.5rem;flex-wrap:wrap}
.badge{display:inline-block;background:rgba(0,113,60,.10);border:1px solid rgba(0,113,60,.35);color:#0e3d27;padding:.25rem .55rem;border-radius:999px;font-size:.82rem}
.badge.gold{background:rgba(213,146,3,.12);border-color:rgba(213,146,3,.4);color:#5e3f00}
.badge.red{background:rgba(242,14,23,.12);border-color:rgba(242,14,23,.35);color:#5a0a0d}

/* lists */
.list{padding-left:1.1rem}
.list li{margin:.35rem 0}
.list.ordered{list-style:decimal}

/* buttons */
.btn{display:inline-block;padding:.65rem 1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);color:var(--text);transition:box-shadow .15s ease,transform .05s ease}
.btn.small{padding:.5rem .7rem;border-radius:.6rem}
.btn.lg{padding:.8rem 1.1rem;font-weight:600}
.btn:hover{box-shadow:var(--shadow)}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--red);color:#fff;border-color:transparent;box-shadow:0 6px 20px rgba(242,14,23,.15)}
.btn.outline{background:transparent}

/* forms */
.form{display:grid;gap:1rem;margin-top:1rem}
input,textarea{width:100%;padding:.8rem;border:1px solid var(--border);border-radius:.65rem;background:#fff;color:var(--text)}
input:focus,textarea:focus{outline:2px solid var(--green);outline-offset:2px}
.checkbox{display:flex;align-items:center;gap:.6rem}

/* footer */
.site-footer{border-top:1px solid var(--border);padding:1.6rem 0;background:var(--surface)}
.socials{display:flex;gap:.8rem}
.socials a{color:var(--muted)}
.socials a:hover{color:var(--text)}

/* accessibility */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;background:#000;color:#fff;padding:.5rem;border-radius:.5rem}
.thumb{width:100%;height:auto;border-radius:12px;margin-bottom:.6rem}
.post-hero{width:100%;max-height:380px;object-fit:cover;border-radius:16px;margin:.5rem 0 1rem}
.post-body p{margin:.8rem 0}
.post-body a{color:var(--red)}
/* === HERO STYLES ================================== */
.hero{
  position:relative;
  min-height:100vh;                         /* full screen */
  background:url("assets/hero.jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero::before{                              /* dark overlay */
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.hero__inner{
  position:relative;                        /* above overlay */
  width:90%;
  max-width:900px;
}

.hero__inner h1{                            /* <-- WHITE HEADLINE */
  color:#fff;                               /* change here if needed */
  font-size:clamp(2.2rem,6vw,4rem);         /* responsive size */
  font-weight:800;
  line-height:1.1;
  margin-bottom:1rem;
}

.hero__inner p{
  color:rgba(255,255,255,.9);
  font-size:1.3rem;
  margin-bottom:2rem;
}

/* buttons – keep if you already have similar styles */
.btn{display:inline-block;padding:.9rem 2.2rem;font-weight:600;border:2px solid transparent;border-radius:8px;text-decoration:none;transition:.25s}
.btn-primary{background:#ff2c2c;color:#fff}
.btn{background:#fff;color:#000}
.btn-ghost{background:transparent;color:#fff;border-color:#fff}
.btn:hover{transform:translateY(-2px);opacity:.9}
/* ================================================ */
/* =============== HERO HEADLINE OVERRIDE =============== */
.hero__inner h1{
  color:#ffffff !important;            /* <<< PURE WHITE          */
  font-size:clamp(2.2rem,6vw,4rem);    /* responsive size — edit   */
  line-height:1.1;
  text-shadow:0 3px 6px rgba(0,0,0,.55);
}
/* Keep YouTube embeds 16:9 and responsive */
.video-wrapper{
  position:relative;
  padding-bottom:56.25%;  /* 16:9 ratio */
  height:0;
  overflow:hidden;
}

.video-wrapper iframe{
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
}

.hero h1{font-size:clamp(2rem,5vw,3.8rem);}
/* Bump the main heading size */
.hero h1{
  font-size:clamp(3rem, 8vw, 5.5rem); /* was ~3.8rem max */
  line-height:1.1;
}

/* If the second line still feels tight on very wide screens: */
@media (min-width:1400px){
  .hero h1{font-size:6rem;}
}
