/* =============================================
   HORSWELL FAMILY FARMS — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@400;500;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: #faf5e9;
  color: #2a1f0e;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Color Variables --- */
:root {
  --brown-dark:   #2a1f0e;
  --brown-mid:    #5a4a2f;
  --brown-light:  #6b5538;
  --gold:         #c9973a;
  --gold-light:   #c9b98a;
  --gold-pale:    #e8d9b0;
  --parchment:    #f5edd8;
  --parchment-lt: #faf5e9;
  --border:       #d9c99a;
  --cream-text:   #f0e6c8;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  background: var(--brown-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--cream-text);
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 0.4px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream-text);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--brown-dark) !important;
  font-weight: 600 !important;
  padding: 8px 18px;
  border-radius: 3px;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #b8852e !important;
}

/* Hamburger — mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: 0.3s;
}

/* =============================================
   SECTION SCAFFOLDING
   ============================================= */
.section {
  padding: 60px 28px;
}

.section-alt {
  background: var(--parchment);
}

.section-dark {
  background: var(--brown-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow.left-align {
  justify-content: flex-start;
}

.section-eyebrow.left-align::before { display: none; }

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: -0.4px;
  text-align: center;
  margin-bottom: 10px;
}

.section-title.left { text-align: left; }

.section-sub {
  font-size: 15px;
  color: var(--brown-light);
  line-height: 1.65;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-sub.left {
  text-align: left;
  margin-left: 0;
}

/* Gold divider line */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--brown-dark);
  color: var(--cream-text);
}

.btn-primary:hover { background: #3d2e18; }

.btn-gold {
  background: var(--gold);
  color: var(--brown-dark);
}

.btn-gold:hover { background: #b8852e; }

.btn-outline {
  background: transparent;
  color: var(--brown-dark);
  border: 1.5px solid var(--brown-dark);
}

.btn-outline:hover {
  background: var(--brown-dark);
  color: var(--cream-text);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream-text);
  border: 1.5px solid var(--gold-light);
}

.btn-outline-light:hover {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}

/* =============================================
   TAGLINE STRIP
   ============================================= */
.tagline-strip {
  background: var(--brown-dark);
  border-top: 1px solid rgba(201,151,58,0.3);
}

.tagline-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.4px;
  border-right: 1px solid rgba(201,183,138,0.15);
}

.strip-item:last-child { border-right: none; }

.strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.service-card {
  background: var(--parchment-lt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,151,58,0.12);
}

.svc-icon {
  width: 38px;
  height: 38px;
  background: var(--brown-dark);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-icon svg {
  width: 18px;
  height: 18px;
}

.svc-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-dark);
  line-height: 1.4;
  margin-top: 3px;
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-card {
  background: var(--parchment-lt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 22px 24px;
}

.stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 15px;
  color: var(--brown-mid);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.reviewer-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown-dark);
  letter-spacing: 0.3px;
}

/* =============================================
   CONTACT GRID
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--parchment-lt);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--brown-dark);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-dark);
  line-height: 1.4;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form {
  background: var(--parchment-lt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--brown-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #1a120a;
  padding: 32px 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,151,58,0.2);
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: #6b5538;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gold-light);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cream-text); }

.footer-contact p {
  font-size: 14px;
  color: #8a7355;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 12px;
  color: #4a3a25;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--brown-dark);
  padding: 52px 28px 44px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.page-hero .section-eyebrow { color: var(--gold); }
.page-hero .section-eyebrow::before,
.page-hero .section-eyebrow::after { background: var(--gold); }

.page-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--cream-text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--gold-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: var(--brown-dark);
    padding: 16px 28px 20px;
    border-top: 1px solid rgba(201,151,58,0.2);
    gap: 16px;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .page-hero h1 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 12px 18px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 18px; }
}
