/*
Theme Name: Bonamanzi Residents
Theme URI: https://example.invalid/
Author: Bonamanzi Residents Association
Description: Lake-inspired theme for the independent Bonamanzi Residents Association.
Version: 1.1.0
Text Domain: bonamanzi-residents
*/

:root {
  --lake-950: #072d3a;
  --lake-800: #0b5060;
  --water-500: #0e9ca0;
  --water-100: #dff5f2;
  --sand-400: #e7b766;
  --ink: #17333b;
  --muted: #65787d;
  --paper: #ffffff;
  --mist: #f3f8f7;
  --line: #d7e5e3;
  --danger: #a33131;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(7, 45, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--lake-800); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgba(7, 45, 58, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--lake-950);
  background: var(--sand-400);
  font-weight: 900;
  letter-spacing: -.05em;
}
.brand-text strong, .brand-text span { display: block; }
.brand-text strong { line-height: 1.1; font-size: 1rem; }
.brand-text span { opacity: .68; font-size: .75rem; }
.site-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: white; text-decoration: none; font-size: .92rem; }
.site-nav a:hover { color: var(--sand-400); }

.hero {
  overflow: hidden;
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 80% 25%, rgba(14,156,160,.55), transparent 25%),
    linear-gradient(135deg, var(--lake-950), var(--lake-800));
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -62px;
  height: 125px;
  border-radius: 50%;
  background: var(--mist);
}
.hero-inner {
  min-height: 560px;
  padding: 96px 0 118px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 64px;
}
.eyebrow { color: var(--sand-400); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { max-width: 780px; margin: 14px 0 20px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero-copy > p { max-width: 650px; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button, button, input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--lake-950);
  background: var(--sand-400);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { color: white; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.28); }
.lake-card {
  transform: rotate(2deg);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}
.lake-card .boat { font-size: 4rem; }
.lake-card strong { display: block; margin-top: 22px; font-size: 1.3rem; }
.lake-card p { margin-bottom: 0; color: rgba(255,255,255,.72); }

.section { padding: 88px 0; }
.section.white { background: var(--paper); }
.section-heading { max-width: 700px; margin-bottom: 36px; }
.section-heading h2 { margin: 8px 0 12px; }
.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 30px rgba(7,45,58,.05);
}
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--water-100);
  font-size: 1.4rem;
}
.disclaimer {
  padding: 18px 20px;
  border-left: 4px solid var(--sand-400);
  border-radius: 6px 14px 14px 6px;
  background: #fff8e9;
  color: #604a24;
}

.content-shell { min-height: 62vh; padding: 70px 0; }
.content-panel {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.content-panel h1 { margin-top: 0; color: var(--lake-950); font-size: clamp(2.2rem, 5vw, 4rem); }
.notice-grid { display: grid; gap: 18px; }
.notice-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.notice-card h2 { margin: 4px 0 8px; font-size: 1.55rem; }
.notice-meta { color: var(--muted); font-size: .86rem; }

.bra-form { max-width: 620px; }
.bra-form label { display: block; margin: 18px 0 6px; font-weight: 750; }
.bra-form input[type="text"], .bra-form input[type="email"], .bra-form input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #b9cdca;
  border-radius: 10px;
  background: white;
  font: inherit;
}
.bra-message { margin: 16px 0; padding: 14px 16px; border-radius: 10px; background: var(--water-100); }
.bra-error { color: var(--danger); background: #feecec; }
.comment-list { padding-left: 22px; }
.comment-body { margin-bottom: 18px; padding: 18px; border-radius: 12px; background: var(--mist); }

.site-footer { padding: 42px 0; color: rgba(255,255,255,.72); background: var(--lake-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.site-footer a { color: white; }
.site-footer small { display: block; margin-top: 22px; opacity: .7; }

@media (max-width: 800px) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 72px; gap: 30px; }
  .lake-card { display: none; }
  .cards { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
