/* ================================
   MondoMingle – styles.css (global type, footer min 16px)
   ================================ */

/* --------- Theme tokens --------- */
:root{
  --bg:#ffffff;
  --text:#1b1b1b;
  --muted:#5b5b5b;

  /* Onepage colors */
  --brand1:#FFFFFF;   /* light */
  --brand2:#A0491D;   /* primary */
  --brand3:#EEB462;   /* secondary */
  --brand4:#592711;   /* dark (links/body green) */
  --brand5:#592711;   /* fallback dark */

  /* Buttons / nav accents mapped to Onepage */
  --accent:#A0491D;        /* primary */
  --accent-hover:#EEB462;  /* secondary */
  --header-bg:#592711;     /* dark */
  --underline:#A0491D;     /* active nav underline = primary */

  --radius:16px;
  --max:1300px;
}

@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Light_Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Medium.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Medium_Italic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Bold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Chantal";
  src: url("/assets/fonts/fonnts.com-Chantal_Bold_Italic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* override headings to use Chantal */
h1{
  font-family: 'Chantal', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ---------- Base / reset ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; padding:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color:var(--brand4); /* lighter green for body text */
  background:var(--bg);
  line-height:1.6;

  /* Global body text: min 20px, scales slightly on larger screens */
  font-size: clamp(20px, 1.15vw, 22px);
}

h1,h2,h3,h4{
  margin:0 0 .6em;
  line-height:1.25;
  font-weight:800;
  color:var(--brand4); /* darker green for headings */
}


img{max-width:100%; display:block; border-radius:var(--radius)}
a{color:var(--brand4); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:100%; max-width:var(--max); margin:0 auto; padding:0 20px}

/* ---------- Global Typography Scale ---------- */
h1,h2,h3,h4{margin:0 0 .6em; line-height:1.25; font-weight:800}

/* Headings keep strong hierarchy, all with min >= 20px */
h1{font-size: clamp(40px, 5.2vw, 64px); line-height:1.2}
h2{font-size: clamp(32px, 3.8vw, 44px); line-height:1.25}
h3{font-size: clamp(24px, 2.6vw, 30px); line-height:1.3}
h4{font-size: clamp(22px, 2.2vw, 26px); line-height:1.35}

/* Paragraphs / lists inherit global base size (≥ 20px) */
p{margin:0 0 1em}

/* Optional kicker/eyebrow text (inherits font-size ≥ 20px) */
.kicker{
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--brand4); font-weight:800; margin-bottom:10px;
}

/* --------- Sections / layout --------- */
.section{padding:72px 0}
.section h2:not(.section__intro){margin-bottom:20px}
.grid{display:grid; gap:22px}
.grid--2{grid-template-columns:1fr 1fr}
.grid--3{grid-template-columns:repeat(3,1fr)}
.split{display:grid; gap:26px; grid-template-columns:1fr 1fr; align-items:center}
.card{padding:24px; border:1px solid #eee; border-radius:16px; background:#fff}
.badge{
  display:inline-block; background:var(--brand1); color:#1b1b1b;
  border-radius:999px; padding:8px 12px; font-weight:700;
}
.list{margin:12px 0 0; padding:0; list-style:none; display:grid; gap:10px}
.list li{padding-left:26px; position:relative}
.list li::before{content:"•"; position:absolute; left:8px; color:var(--brand4); font-weight:900}

/* tighten spacing between hero and the CTA cards (Get Involved page) */
.section--hero { padding-bottom: 32px; } /* was 72px via .section */
#cta-cards    { padding-top:    32px; } /* reduce top padding for the cards */
@media (max-width: 900px){
  .section--hero { padding-bottom: 20px; }
  #cta-cards    { padding-top:    20px; }
}

/* --------- Header / Nav / Social --------- */
.header{
  position:sticky; top:0; z-index:10;
  background:var(--header-bg);
  padding:.75rem 0;
}
.nav{display:flex; align-items:center; justify-content:space-between}
.brand__logo{height:40px}

.menu{display:flex; gap:2rem}
.menu a{
  text-decoration:none;
  position:relative;
}

/* Mobile menu styles */
@media (max-width: 750px) {
  .menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: var(--radius);
  }
  
  .menu.active a {
    color: var(--header-bg); /* Your dark preset color #592711 */
    padding: 0.5rem 1rem;
  }
}
.menu a[aria-current="page"]::after{
  content:""; position:absolute; bottom:-4px; left:0; width:100%; height:2px;
  background:var(--underline);
}

.social{display:flex; align-items:center; gap:1.25rem}
.social a{
  display:flex; align-items:center; justify-content:center;
  color:#fff; text-decoration:none;
}
.social svg{width:22px; height:22px; flex-shrink:0}
.social a:hover svg{color:var(--underline)}

/* --------- Buttons --------- */
.btn{
  display:inline-block; padding:12px 18px; border-radius:12px;
  font-weight:700; border:2px solid transparent; cursor:pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary{background:var(--accent); color:#fff; border:none}
.btn--primary:hover{
  background:var(--accent-hover);
  color:var(--brand4); /* text color on hover */
}
.btn--outline{border-color:var(--accent); color:var(--brand4); background:#fff}
.btn--outline:hover{
  background:var(--accent);
  color:#fff; /* readable on dark bg */
  border-color:var(--accent);
}

/* Inverse version of primary (white bg, accent text/border; hover swaps to primary) */
.btn--inverse{
  background: var(--brand3);     /* light */
  color: var(--brand4);         /* dark */
  border: 2px solid var(--accent);
}
.btn--inverse:hover,
.btn--primary.btn--inverse:hover{
  background: var(--accent);    /* filled on hover */
  color: var(--brand1);         /* white text when filled */
  border-color: var(--accent);
}
/* focus-visible for keyboard users */
.btn--inverse:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--accent) 20%, transparent);
  outline-offset: 2px;
}

/* --------- HERO (full-bleed background) --------- */
.hero--bg{
  position:relative; min-height:72vh;
  background:center / cover no-repeat var(--hero-img);
  display:grid; place-items:center; color:#fff; padding:8vh 0;
}
.hero__content h1, 
.hero__content h2, 
.hero__content h3, 
.hero__content h4 {
  color: var(--brand1); /* bright primary green */
}

.hero__overlay{position:absolute; inset:0; background:rgba(0,0,0,.65)}
.hero__content{position:relative; text-align:center; max-width:900px}
/* h1 and p inside hero inherit global sizes */

/* --------- Collage (home, right column) — ORIGINAL BIG VERSION --------- */
.collage{display:grid; gap:12px}
.collage-main{width:100%; height:auto; object-fit:cover; border-radius:var(--radius)}
.collage-side{display:grid; gap:12px}
.collage-side img{width:100%; height:auto; object-fit:cover; border-radius:var(--radius)}
@media (min-width:900px){
  .collage{grid-template-columns:2fr 1.5fr; align-items:stretch}
  .collage-main{height:100%}
  .collage-side{grid-template-rows:1fr 1fr}
  .collage-side img{height:100%}
}

/* --------- Forms / SendFox --------- */
.form{display:grid; gap:12px}
/* Text inputs, selects, textareas – full width */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font: inherit;
}

/* Checkboxes / radios – keep their native sizing */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  border-radius: 0;
}
.sendfox-form p{margin:0 0 12px 0}
.sendfox-form input[type="text"],
.sendfox-form input[type="email"],
.sendfox-form textarea{
  width:100%; padding:14px 16px; border:1.5px solid #e0e0e0; border-radius:12px;
  font:inherit; transition:border-color .15s, box-shadow .15s; background:#fff;
}
.sendfox-form input:focus,
.sendfox-form textarea:focus{
  outline:none; border-color:var(--brand4);
  box-shadow:0 0 0 3px rgba(80,114,60,.15);
}
.sendfox-form button[type="submit"]:hover{
  background: color-mix(in srgb, var(--header-bg) 88%, #000 12%);
  color: #fff; /* ensure readable on hover */
}
/* GDPR consent row — checkbox left, text beside it */
.sendfox-form .gdpr-inline,
.gdpr-inline {
  display: flex;
  align-items: flex-start;    /* top-align text with checkbox */
  justify-content: flex-start;
  gap: 10px;
  margin: 10px 0 16px;
  text-align: left !important;
}

.sendfox-form .gdpr-inline input[type="checkbox"],
.gdpr-inline input[type="checkbox"] {
  margin: 3px 0 0 0;          /* nudge down to align with first text line */
  flex-shrink: 0;
}

.sendfox-form .gdpr-inline label,
.gdpr-inline label {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.45;
  color: #5a6a61;             /* lighter body text tint */
  display: block;
  flex: 1;
}

.sendfox-form .gdpr-inline a,
.gdpr-inline a {
  color: var(--brand4);
  text-decoration: underline;
}

/* --------- Modals (Onepage-like sizing & tone) --------- */
.modal{
  display:none; position:fixed; z-index:1000; inset:0;
  background:rgba(0,0,0,.62); /* slightly lighter than before */
  align-items:center; justify-content:center; padding:24px;
}
.modal.open{display:flex}

.modal__box{
  background:#fff;
  width:min(760px, 92vw);       /* ~Onepage width */
  padding:32px 34px;            /* tighter padding */
  border-radius:14px;           /* softer corners */
  position:relative;
  box-shadow:0 22px 60px rgba(0,0,0,.30);
}

/* Close button = small floating pill in the top-right */
.modal__close{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px; line-height:34px;
  border-radius:999px;
  border:0; cursor:pointer;
  background: var(--brand1);    /* light gray */
  color: var(--brand4);         /* dark green “x” */
  font-size:20px; font-weight:700;
  display:grid; place-items:center;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.modal__title{
  margin:0 0 8px;
  text-align:center;
  color: var(--brand4);
  font-size:clamp(26px, 2.2vw, 32px); /* like Onepage */
  font-weight:800;
}
.modal__sub {
  text-align: center;
  color: var(--brand4);
  max-width: 680px;
  margin: 0 auto 18px;          /* reduced bottom margin */
  font-size: clamp(16px, 1.5vw, 18px);  /* smaller subheader */
  line-height: 1.4;
}


/* Form spacing + field styling */
.sendfox-form p{margin:0 0 14px}
.sendfox-form input[type="text"],
.sendfox-form input[type="email"],
.sendfox-form textarea{
  width:100%;
  height:56px;                  /* Onepage-like height */
  padding:14px 16px;
  border:1px solid #d7dadc;
  border-radius:10px;
  background:#fff;
  transition:border-color .15s, box-shadow .15s;
  font:inherit;
}
.sendfox-form textarea{min-height:120px}
.sendfox-form input:focus,
.sendfox-form textarea:focus{
  outline:0;
  border-color: var(--brand3);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--brand3) 20%, transparent);
}

/* Hide visible labels to match Onepage’s placeholder-only look,
   but keep them accessible for screen readers */
.sendfox-form label[for="sendfox_form_name"],
.sendfox-form label[for="sendfox_form_email"]{
  position:absolute !important;
  width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* GDPR consent row */
.gdpr-inline {
  display: flex;
  align-items: flex-start;   /* align text with top of checkbox */
  gap: 8px;                  /* space between box and text */
  font-size: clamp(13px, 1.3vw, 14px);
  line-height: 1.4;
  color: #555;
  margin-top: 8px;           /* a little space below inputs */
  max-width: 100%;
}

.gdpr-inline input[type="checkbox"] {
  margin: 3px 0 0 0;         /* nudges box down slightly to align with text */
  flex-shrink: 0;            /* stops it from shrinking */
}

.gdpr-inline label {
  flex: 1;                   /* makes the label take the remaining width */
  display: block;            /* ensures clean wrapping */
}

/* Submit button: full-width, tall, friendly radius */
.sendfox-form button[type="submit"]{
  display:block; width:100%;
  height:56px;
  border-radius:10px;
  background: var(--header-bg); /* dark brand green – matches your theme */
  color:#fff; font-weight:700; border:none; cursor:pointer;
  transition: background .15s ease;
}
.sendfox-form button[type="submit"]:hover{
  background: color-mix(in srgb, var(--header-bg) 88%, #000 12%);
}

/* Success message (kept, but tightened) */
.success{display:none; text-align:center; padding:20px}
.success.show{display:block}
.success__icon{width:88px; height:88px; margin:0 auto 12px}
.success__title{margin:6px 0 6px}
.success__text{color:#555; margin:0 auto; max-width:560px}
.ck{stroke:var(--brand4); fill:none; stroke-width:4; stroke-linecap:round; stroke-linejoin:round}
.ck-circle{stroke-dasharray:276; stroke-dashoffset:276; animation:draw .9s ease-out forwards}
.ck-check{stroke-dasharray:60; stroke-dashoffset:60; animation:draw .6s .5s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}

/* --------- Footer (green bar version) --------- */
.footer {
  background: var(--header-bg);
  color: #fff;
  text-align: center;

  /* Footer text: can scale down to 16px (exception) */
  font-size: clamp(16px, 1vw, 18px);

  padding: 24px 0;
}
.footer small {color:#fff}
.notice {color:#fff}

/* --------- Responsive tweaks --------- */
@media (max-width:900px){
  .grid--3{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
}
@media (max-width:620px){
  .grid--2,.grid--3{grid-template-columns:1fr}
}

/* --------- Features section --------- */
.section--features { background: var(--brand1); text-align:center }

/* The intro line above the four columns (inherits h2 sizing) */
.section__intro{ margin-bottom: 60px; } /* adjust if you want more/less spacing */

/* Features grid layout only; text sizes come from global h3/p rules */
.features { grid-template-columns: repeat(4, 1fr); gap: 40px }
@media (max-width:900px){ .features{ grid-template-columns:1fr 1fr; gap:24px } }
@media (max-width:600px){ .features{ grid-template-columns:1fr } }

/* --------- Ready to Connect section --------- */
.section--connect { text-align:center }
.connect__title { /* uses h2 global sizing */ }
.connect__text { /* inherits p/global sizing (≥20px) */ }
.cta-row { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:42px }

.header, 
.footer {
  color: var(--bg); /* lightest color on dark background */
}

.header a, 
.footer a,
.header h1, .header h2, .header h3, .header h4,
.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--bg);
}

/* ===== Mission/Vision (About) ===== */
.section--mv .mv-grid{
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px){
  .section--mv .mv-grid{
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* roomy like onepage */
  }
}

/* Large display-like headers to match onepage */
.section--mv .mv-title{
  margin: 0 0 12px;
  line-height: 1.1;
  color: var(--brand4); /* darker green heading */
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 64px); /* same scale as main h1-ish display */
}
.mv-title {
  font-size: clamp(32px, 3.8vw, 44px); /* same as h2 global */
  line-height: 1.25;
  margin-bottom: 16px;
}


/* Comfortable line-length for the body text */
.section--mv .mv-block p{
  max-width: 60ch;
}

/* --- About page: Mission/Vision spacing tweak (reduce space before Values) --- */
.section--mv {
  padding-bottom: 36px; /* less space below */
}

/* Values section */
.section--values h2 {
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.values-grid .card {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

/* Responsive steps for the grid */
@media (max-width: 1100px){
  .values-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px){
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .values-grid{ grid-template-columns: 1fr; }
}
.value-card--title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: none;
  background: transparent;
  padding: 0;
}

.value-card--title .values__title {
  margin: 0;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 1.2;
}
/* Founder section image sizing */
.section--founder img {
  max-height: 450px;   /* keeps the image about the same height as the text */
  width: auto;         /* preserves proportions */
  border-radius: 8px;  /* matches other rounded visuals */
  display: block;
  margin: 0 auto;      /* centers image if narrower */
}
/* --- Get Involved hero tweaks --- */
.gi-hero .split { align-items: center; gap: 34px; }
.gi-hero__media img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* Optional: a bit more max-width for the right column text on huge screens */
@media (min-width: 1100px){
  .gi-hero .split > :last-child { max-width: 680px; }
}

/* --- Cards section spacing (keeps your existing .card styling) --- */
.gi-cards .card h2 { margin-top: 0; }

/* Hero section */
.section--hero .hero-title {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.2;
  margin: 0 0 28px;
  text-align: center;
}

// ...existing code...
/* Hamburger menu styles */
.hamburger {
  display: none; /* Hidden by default */
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--brand1);
  margin: 3px 0;
}

/* Responsive styles */
@media (max-width: 750px) {
  .menu {
    display: none; /* Hide menu by default */
    flex-direction: column;
    position: absolute;
    right: 0;
    background: white; /* Adjust as needed */
    top: 60px; /* Adjust based on header height */
    width: 200px; /* Adjust as needed */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  .menu.active {
    display: flex; /* Show menu when active */
  }

  .hamburger {
    display: flex; /* Show hamburger icon */
  }
}

/* Hamburger menu styles */
.hamburger {
  display: none; /* Hidden by default */
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

/* Show hamburger icon only on smaller screens */
@media (max-width: 750px) {
  .hamburger {
    display: flex; /* Show hamburger icon */
  }
}
