@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #2d4a1e;
  --green-mid:   #4a7c35;
  --green-light: #7db05a;
  --cream:       #faf6ee;
  --warm-white:  #fff9f0;
  --terracotta:  #c0622a;
  --gold:        #d4a017;
  --text-dark:   #1c1c1c;
  --text-mid:    #4a4a3a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}

/* ── HEADER ── */
header {
  background: var(--green-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--green-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

nav { display: flex; gap: 0.25rem; }

nav a {
  color: #c8dbb8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
  background: var(--green-mid);
  color: #fff;
}

/* ── HERO (index only) ── */
.hero {
  background: var(--green-dark);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(74,124,53,0.45) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a7c35' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-light);
}

.hero p {
  font-size: 1.1rem;
  color: #c8dbb8;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: #a8521f; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--green-light);
  color: var(--green-light);
  margin-left: 0.75rem;
}
.btn-outline:hover { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }

/* ── STRIPS & SECTIONS ── */
.strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.strip-narrow { max-width: 760px; }

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title em { font-style: italic; color: var(--terracotta); }

/* ── FEATURE CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--warm-white);
  border: 1px solid #e0d8c8;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(45,74,30,0.12); }

.card-icon { font-size: 2.4rem; margin-bottom: 1rem; }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid #ddd5c2;
  margin: 0;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--warm-white);
  border: 1px solid #e0d8c8;
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
}

.contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
}

.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
  text-decoration: none;
}

.contact-item a:hover { color: var(--green-mid); }

.map-placeholder {
  background: #e8ead8;
  border: 1px solid #d0cdb8;
  border-radius: 8px;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1.5rem;
}

.map-placeholder span { font-size: 2.5rem; }

/* ── UPDATES PAGE ── */
.updates-intro {
  background: var(--green-dark);
  color: #c8dbb8;
  padding: 3rem 2rem;
  text-align: center;
}

.updates-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.6rem;
}

.updates-intro p { font-size: 0.95rem; font-weight: 300; }

.update-card {
  background: var(--warm-white);
  border: 1px solid #e0d8c8;
  border-left: 5px solid var(--green-mid);
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.update-card .update-date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}

.update-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.update-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  white-space: pre-line;
}

.no-updates {
  text-align: center;
  color: var(--text-mid);
  font-style: italic;
  padding: 3rem 0;
  font-size: 1rem;
}

/* ── ADMIN PANEL ── */
.admin-toggle {
  text-align: center;
  margin-top: 2rem;
}

.admin-toggle button {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: #bbb;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}

.admin-toggle button:hover { color: var(--green-mid); }

.admin-panel {
  background: #f0ede4;
  border: 1px solid #d5cfc0;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
  display: none;
}

.admin-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}

.admin-panel input,
.admin-panel textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  border: 1px solid #ccc8ba;
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
}

.admin-panel input:focus,
.admin-panel textarea:focus { border-color: var(--green-mid); }

.admin-panel textarea { min-height: 110px; resize: vertical; }

.admin-panel .row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.admin-panel .btn-admin {
  background: var(--green-dark);
  color: #fff;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-panel .btn-admin:hover { background: var(--green-mid); }

.admin-panel .btn-delete {
  background: #c0391b;
}
.admin-panel .btn-delete:hover { background: #a02d12; }

.lock-screen {
  text-align: center;
  padding: 1rem 0;
}

.lock-screen p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.9rem;
}

.lock-screen input {
  width: 100%;
  max-width: 280px;
  text-align: center;
  letter-spacing: 0.2em;
}

.update-meta { display: flex; align-items: center; justify-content: space-between; }

.delete-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
  display: none;
}
.delete-btn:hover { color: #c0391b; }

body.admin-mode .delete-btn { display: block; }

/* ── PAGE HERO (non-home) ── */
.page-hero {
  background: var(--green-dark);
  padding: 3.5rem 2rem 2.8rem;
  text-align: center;
}

.page-hero .section-label { color: var(--green-light); }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-top: 0.3rem;
}

/* ── FOOTER ── */
footer {
  background: #1a2e10;
  color: #7a9e68;
  text-align: center;
  padding: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-top: 4rem;
}

footer strong { color: #c8dbb8; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 540px) {
  .header-inner { padding: 0 1rem; }
  nav a { padding: 0.5rem 0.6rem; font-size: 0.75rem; }
  .logo-main { font-size: 1.15rem; }
  .hero { padding: 4rem 1.2rem 4rem; }
  .strip { padding: 2.5rem 1.2rem; }
}

/* ── TWO COLUMN GRID (home page) ── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 680px) { .two-col-grid { grid-template-columns: 1fr; } }

/* ── HOURS TABLE ── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.hours-table td {
  padding: 0.55rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0d8c8;
}
.hours-table td:first-child { color: var(--text-mid); }
.hours-table td:last-child { font-weight: 700; text-align: right; color: var(--green-dark); }
.hours-table tr:last-child td { border-bottom: none; }

/* ── RESPONSIVE HEADER FIX ── */
@media (max-width: 760px) {
  .logo-sub { display: none; }
  nav a { padding: 0.45rem 0.5rem; font-size: 0.72rem; letter-spacing: 0.06em; }
  .logo-main { font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .logo-main { font-size: 0.95rem; }
  nav a { padding: 0.4rem 0.4rem; font-size: 0.66rem; }
}
