/* ==========================================================================
   Channell Homestead — style.css
   Fonts: Fraunces (headings) + Nunito Sans (body)
   ========================================================================== */

:root {
  --forest: #2f6a34;
  --forest-dark: #1c3f20;
  --forest-light: #4f8b55;
  --cream: #faf6ec;
  --cream-dark: #f1ead8;
  --terracotta: #c1652f;
  --terracotta-dark: #a24f22;
  --gold: #d9a441;
  --ink: #2b2620;
  --ink-soft: #5b5347;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest-dark);
  letter-spacing: -0.01em;
}

.section-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-size: 0.8rem;
}

.section-title {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 680px;
}

section { padding: 5.5rem 0; }
@media (max-width: 767.98px) {
  section { padding: 3.75rem 0; }
}

.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-forest { background: var(--forest); }
.text-forest { color: var(--forest-dark) !important; }
.text-terracotta { color: var(--terracotta) !important; }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(250, 246, 236, 0.96);
  backdrop-filter: blur(6px);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  box-shadow: 0 2px 14px rgba(28, 63, 32, 0.08);
}

.navbar-brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--forest-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand img { height: 40px; width: auto; }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink) !important;
  padding: 0.5rem 0.7rem !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover { color: var(--terracotta) !important; }

.btn-nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  border-radius: 40px;
  padding: 0.5rem 1.25rem !important;
  margin-left: 0.4rem;
}
.btn-nav-cta:hover { background: var(--terracotta-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
}

.hero-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ffe8c2;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #fdfaf3;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.btn-terracotta {
  background: var(--terracotta);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 40px;
  transition: all 0.2s ease;
}
.btn-terracotta:hover { background: var(--terracotta-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-cream {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.9rem;
  border-radius: 40px;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover { background: #fff; color: var(--forest-dark); }

/* ---------- About ---------- */
.about-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(28, 63, 32, 0.2);
  border: 6px solid #fff;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.family-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}

/* ---------- Meet the Farm mosaic ---------- */
.farm-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  box-shadow: 0 10px 28px rgba(28,63,32,0.12);
  isolation: isolate;
}
.farm-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.farm-card:hover img { transform: scale(1.06); }
.farm-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,32,18,0.92) 0%, rgba(20,32,18,0.35) 45%, rgba(20,32,18,0) 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
  color: #fff;
}
.farm-card-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.farm-card-overlay p { font-size: 0.92rem; margin: 0; color: #ece5d6; }

.farm-card.filler {
  background: linear-gradient(155deg, var(--forest) 0%, var(--forest-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
}
.farm-card.filler i { font-size: 2.2rem; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.farm-card.filler h3 { color: #fff; font-size: 1.25rem; }
.farm-card.filler p { color: #e4ecdf; font-size: 0.92rem; margin: 0; }

/* ---------- Breeding program ---------- */
.breed-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(28,63,32,0.08);
  border-top: 4px solid var(--gold);
}
.breed-card h3 { font-size: 1.4rem; }
.breed-card ul { padding-left: 1.1rem; }
.breed-card li { margin-bottom: 0.4rem; color: var(--ink-soft); }
.ribbon-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(28,63,32,0.2);
}
.ribbon-photo img { width: 100%; display: block; }

/* ---------- Experience cards ---------- */
.exp-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 28px rgba(28,63,32,0.1);
  display: flex;
  flex-direction: column;
}
.exp-card-img { height: 200px; overflow: hidden; }
.exp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.exp-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.exp-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.exp-card-body p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.exp-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--terracotta-dark);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}
.exp-card.filler {
  background: linear-gradient(155deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
}
.exp-card.filler i { font-size: 2rem; color: #ffe3cf; margin-bottom: 0.75rem; }
.exp-card.filler h3 { color: #fff; }
.exp-card.filler p { color: #ffe9db; }
.exp-card.icon-card .exp-card-body { align-items: flex-start; }
.exp-card.icon-card .icon-wrap {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.exp-card.icon-card .icon-wrap i { font-size: 1.4rem; color: var(--forest); }

/* ---------- Shop ---------- */
.shop-list { list-style: none; padding: 0; margin: 0; }
.shop-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(43,38,32,0.18);
  gap: 1rem;
}
.shop-list .item-name { font-weight: 700; color: var(--forest-dark); }
.shop-list .item-note { display: block; font-size: 0.84rem; color: var(--ink-soft); font-weight: 400; }
.shop-list .item-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--terracotta-dark);
  white-space: nowrap;
}
.shop-panel {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(28,63,32,0.08);
  height: 100%;
}
.giftcard-panel {
  background: linear-gradient(155deg, var(--forest) 0%, var(--forest-dark) 100%);
  border-radius: 18px;
  padding: 2.25rem;
  color: #fff;
  text-align: center;
}
.giftcard-amounts { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0; }
.giftcard-amounts span {
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 40px;
  padding: 0.35rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.shop-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--cream-dark);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

/* ---------- Events ---------- */
.event-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 28px rgba(28,63,32,0.1);
  border-left: 5px solid var(--terracotta);
}
.event-date {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.event-card h3 { font-size: 1.2rem; }
.event-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.gallery-item { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Visit / Contact ---------- */
.visit-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(28,63,32,0.08);
  height: 100%;
}
.visit-row { display: flex; gap: 0.9rem; margin-bottom: 1.25rem; }
.visit-row i { color: var(--terracotta); font-size: 1.2rem; margin-top: 0.15rem; }
.visit-row h4 { font-size: 1rem; margin-bottom: 0.15rem; color: var(--forest-dark); }
.visit-row p, .visit-row a { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.map-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(28,63,32,0.08); height: 100%; min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--forest-dark);
  color: #dfe8dc;
  padding: 3.5rem 0 1.5rem;
}
.footer-logo-chip {
  background: var(--cream);
  border-radius: 14px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 42px; width: auto; }
.footer-logo-chip span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--forest-dark);
  font-size: 1.05rem;
}
footer.site-footer h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
footer.site-footer a { color: #cfe0cb; text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.social-icons { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.05rem;
  transition: background 0.2s ease;
}
.social-icons a:hover { background: var(--gold); color: var(--forest-dark); }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 2rem 0 1.5rem; }
.powered-by {
  text-align: center;
  font-size: 0.88rem;
  color: #bcd0b8;
}
.powered-by a { color: var(--gold); font-weight: 700; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; }
.footer-legal {
  text-align: center;
  font-size: 0.8rem;
  color: #9db698;
  margin-top: 0.75rem;
}
.footer-legal button {
  background: none; border: none; padding: 0; color: #9db698;
  text-decoration: underline; font-size: 0.8rem;
}

/* ---------- Modal (Terms) ---------- */
.modal-content { border-radius: 16px; }
.modal-content h6 { font-weight: 700; color: var(--forest-dark); margin-top: 1rem; }
.modal-content p, .modal-content li { font-size: 0.92rem; color: var(--ink-soft); }
