@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Inter:wght@400;600;800&display=swap');

:root{
  --tan:#e9d8b5;       /* page background */
  --tan-2:#f3e7c9;     /* section panels */
  --border:#d4c59f;    /* panel border */
  --ink:#111111;       /* black text everywhere (except header/footer) */
  --muted:#3f3f3f;
  --green:#154734;     /* ONLY used for header/footer/buttons/links */
  --green-2:#0f3a2b;
  --link-light:#c9efe3; /* links on green */
  --radius:14px;
  --shadow:0 6px 18px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--tan);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.container{width:min(1100px,92%);margin-inline:auto}

/* Header/Footer (the ONLY green areas) */
header, footer{background:var(--green);color:#fff}
header .bar, footer .bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0}
.brand{display:flex;align-items:center;gap:.75rem}
.brand img{height:52px;width:auto;border-radius:8px}
.brand .name{font-family:Lora,serif;font-weight:700;font-size:1.15rem;margin:0}
nav a{color:#fff;text-decoration:none;padding:.5rem .7rem;border-radius:10px;font-weight:800}
nav a:hover{background:var(--green-2)}
footer a{color:var(--link-light);text-decoration:underline}

/* ===== Footer text color fix ===== */
footer, footer * {
  color: #ffffff !important;       /* White text for readability */
}

footer a {
  color: #b3e0d4 !important;       /* Light teal links on dark green */
  text-decoration: underline;
  font-weight: 600;
}

footer a:hover {
  color: #ffffff !important;       /* White on hover */
}

/* ===== Header & Footer text color fix ===== */

/* Force white text inside both header and footer */
header, header *, footer, footer * {
  color: #ffffff !important;
}

/* Keep logo visible and nav links readable */
header a, nav a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

header a:hover, nav a:hover {
  text-decoration: underline;
}

/* Footer link styling */
footer a {
  color: #b3e0d4 !important;  /* Light teal links */
  text-decoration: underline;
  font-weight: 600;
}

footer a:hover {
  color: #ffffff !important;
}


/* Sections: tan panels with black text */
section{padding:clamp(1.6rem,3vw + .8rem,2.6rem) 0}
.panel{background:var(--tan-2);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.1rem}
h1,h2,h3{font-family:Lora,serif;color:var(--ink);margin:.2rem 0 .6rem}
p,li,strong,em,span{color:var(--ink)}
a{color:var(--green);text-decoration:underline}

/* Layout */
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}
.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-5{grid-column:span 5}.span-12{grid-column:span 12}

/* Hero */
.hero .panel{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem}
.hero .logo{display:grid;place-items:center}
.hero .logo img{max-width:420px;width:100%;height:auto;border:1px solid var(--border);border-radius:12px;background:#fff}

/* Buttons (green) */
.btn{display:inline-block;border-radius:999px;padding:.75rem 1.1rem;font-weight:900;text-decoration:none}
.btn-primary{background:var(--green);color:#fff;border:2px solid var(--green-2)}
.btn-primary:hover{filter:brightness(1.05)}
.btn-outline{border:2px solid var(--green);color:var(--green);background:transparent}
.btn-outline:hover{background:#e9f3ef}

/* Lists & form */
ul{margin:.4rem 0 0;padding-left:1.1rem}
li{margin:.35rem 0}
label{display:block;margin:.6rem 0 .3rem;font-weight:800}
input[type=text],input[type=email],input[type=tel],select,textarea,input[type=file]{width:100%;padding:.65rem .75rem;border-radius:10px;border:1px solid #c1b28a;background:#fff;color:#111}
textarea{min-height:120px;resize:vertical}
.submit{background:var(--green);color:#fff;border:none;border-radius:10px;padding:.8rem 1rem;font-weight:900;margin-top:.7rem;cursor:pointer}
.submit:hover{filter:brightness(1.05)}

.muted{color:var(--muted)}
.mt{margin-top:.8rem}

@media (max-width:900px){
  .grid,.hero .panel{grid-template-columns:1fr}
  .span-6,.span-7,.span-5,.span-12{grid-column:span 12}
}