/*
Theme Name: CoCoCo
Theme URI: https://cococo.local
Author: Rev. Hooman / OpenAI
Description: A one-page WordPress theme for CoCoCo – The Cacao Coop and Collective, featuring the rainforest conservatory, chocolate factory, spa, gift shop, and ceremonial gathering space.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: cococo
*/

:root {
  --bg: #10160f;
  --bg-2: #172117;
  --ink: #f7efd9;
  --muted: #cdbf9a;
  --gold: #c79a4a;
  --green: #253e27;
  --deep: #080b07;
  --card: rgba(16, 22, 15, .82);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.brand { font-family: Georgia, serif; font-size: clamp(28px, 4vw, 46px); letter-spacing: .03em; color: var(--gold); text-decoration: none; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.nav a { text-decoration: none; opacity: .88; }
.nav a:hover { opacity: 1; color: var(--gold); }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 80px) 70px;
  background-image: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18)), var(--hero-img);
  background-size: cover;
  background-position: center;
}
.hero-content { max-width: 840px; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin: 0 0 20px; }
h1 { font-size: clamp(52px, 9vw, 118px); color: var(--ink); }
h2 { font-size: clamp(38px, 6vw, 74px); color: var(--ink); }
h3 { font-size: clamp(24px, 3vw, 36px); color: var(--gold); }
.lede { font-size: clamp(20px, 2.4vw, 30px); color: var(--ink); max-width: 780px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--ink);
  text-decoration: none;
  background: rgba(199,154,74,.12);
}
.btn.primary { background: var(--gold); color: #15100a; font-weight: 800; }

.section { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 80px); }
.section.dark { background: var(--deep); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.copy { grid-column: span 5; }
.media { grid-column: span 7; }
.copy.wide { grid-column: 2 / span 10; text-align: center; }
.copy p { color: var(--muted); font-size: 18px; }
.media img { border-radius: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.42); border: 1px solid rgba(199,154,74,.25); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card { background: var(--card); border: 1px solid rgba(199,154,74,.22); padding: 28px; border-radius: 24px; }
.card p { color: var(--muted); margin-bottom: 0; }

.split-bg {
  background-size: cover;
  background-position: center;
  min-height: 78vh;
  display: flex;
  align-items: end;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 80px);
  position: relative;
}
.split-bg::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18)); }
.panel { position: relative; max-width: 620px; background: rgba(8,11,7,.72); border: 1px solid rgba(199,154,74,.28); border-radius: 28px; padding: clamp(28px, 4vw, 48px); backdrop-filter: blur(8px); }
.panel p { color: var(--muted); font-size: 18px; }

.footer { padding: 50px clamp(20px, 5vw, 80px); background: #070907; color: var(--muted); display:flex; justify-content:space-between; gap:22px; flex-wrap:wrap; }
.footer strong { color: var(--gold); }

@media (max-width: 850px) {
  .site-header { position:absolute; align-items:flex-start; }
  .nav { display:none; }
  .copy, .media, .copy.wide { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}
