/* ================================================
   RURAL CONTAINER — Stylesheet
   Colors: Deep Forest Green + Earthy Tan + Rust Orange
   ================================================ */

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

:root {
  --green:       #2C4A2E;
  --green-dark:  #1a2e1b;
  --green-light: #3d6b40;
  --tan:         #C8A96E;
  --tan-light:   #e8d5b0;
  --rust:        #B85C2A;
  --rust-light:  #d4714a;
  --cream:       #F5F0E8;
  --dark:        #1a1a1a;
  --gray:        #6b7280;
  --gray-light:  #f3f4f6;
  --white:       #ffffff;
  --font-head:   'Oswald', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --radius:      8px;
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* Fixed western pattern — sits behind everything, content scrolls over it */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('metal-bg.jpg') repeat;
  background-size: 400px 400px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn-primary:hover { background: var(--rust-light); border-color: var(--rust-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(184,92,42,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; text-align: center; }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 18px; margin-top: 8px; }

/* ─── LAYOUT ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.nav-logo { height: 98px; width: auto; filter: brightness(0) invert(1); }
.nav-phone {
  margin-left: auto;
  color: var(--tan-light);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.nav-phone:hover { color: var(--white); }
.nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.9rem; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: url('hero-bg.jpg') center center / cover no-repeat;
  padding-top: 68px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 10, 0.72) 0%,
    rgba(10, 20, 10, 0.55) 50%,
    rgba(10, 20, 10, 0.25) 100%
  );
}
.hero-overlay {
  display: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 60px 24px;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--tan-light);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 20px 0;
  position: relative;
  z-index: 0;
}
.trust-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.82);
  z-index: 0;
}
.trust-bar .trust-items { position: relative; z-index: 1; }
.trust-items {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  text-shadow: none;
  text-transform: uppercase;
}
.trust-item:not(:last-child)::after {
  content: '|';
  margin-left: 8px;
  opacity: 0.4;
}


/* ─── PRODUCTS ─── */
.products { padding: 90px 0; position: relative; z-index: 0; }
.products::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.80);
  z-index: 0;
}
.products .container { position: relative; z-index: 1; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-shadow: none;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 52px;
  line-height: 1.7;
  text-shadow: none;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: rgba(255,255,255,0.88);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  position: relative;
  border-top: 4px solid var(--green);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.product-badge {
  position: absolute; top: -1px; right: 20px;
  background: var(--rust);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.product-icon { font-size: 2.4rem; }
.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-dims {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 12px;
}
.product-features {
  list-style: none;
  font-size: 0.9rem;
  color: var(--dark);
  display: flex; flex-direction: column; gap: 5px;
}
.product-features li::before { content: '✓  '; color: var(--green); font-weight: 700; }
.product-use {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gray-light);
}

/* ─── WHY US ─── */
.why-us { padding: 90px 0; position: relative; z-index: 0; }
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.80);
  z-index: 0;
}
.why-us .container { position: relative; z-index: 1; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: none;
}
.why-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.75; text-shadow: none; }
.why-list {
  list-style: none;
  margin: 20px 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.why-list li { font-size: 0.95rem; color: var(--dark); text-shadow: none; }
.why-visual {
  display: flex; flex-direction: column; gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.88);
  border-top: 3px solid var(--green);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.why-stat {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.why-stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.owners-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}
.owners-photo {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 340px;
}
.owners-caption {
  background: rgba(255,255,255,0.88);
  color: var(--green);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 16px;
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--green);
}
.why-stats-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── QUOTE FORM ─── */
.quote-section {
  padding: 90px 0;
  position: relative;
  z-index: 0;
}
.quote-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.80);
  z-index: 0;
}
.quote-section .container { position: relative; z-index: 1; }
.quote-section .section-title { color: var(--green); text-shadow: none; }
.quote-section .section-sub { color: var(--gray); text-shadow: none; }
.form-wrapper {
  max-width: 780px; margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 8px;
}

/* ─── FOLLOW US ─── */
.follow-us {
  padding: 70px 0;
  position: relative;
  z-index: 0;
}
.follow-us::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.82);
  z-index: 0;
}
.follow-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.follow-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.follow-inner p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.btn-fb {
  background: #1877F2;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-fb:hover { background: #0f5bbf; color: #fff; }
.nav-fb {
  margin-left: auto;
  margin-right: 16px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-fb:hover { opacity: 1; }
.nav-fb svg { display: block; }
.fb-link { color: #1877F2; text-decoration: none; font-weight: 600; }
.fb-link:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
.footer { padding: 60px 0 0; position: relative; z-index: 0; }
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20,40,20,0.88);
  z-index: 0;
}
.footer .container, .footer .footer-inner, .footer .footer-bottom { position: relative; z-index: 1; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; }
.footer-contact h4,
.footer-links h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tan);
  margin-bottom: 16px;
}
.footer-contact p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 6px; }
.footer-contact a { color: var(--tan-light); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--tan); }
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--tan); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  /* Smaller pattern tiles on mobile */
  body::before { background-size: 280px 280px; }

  /* Nav — keep it tight and clean */
  .nav { position: fixed; }
  .nav-inner { height: 56px; padding: 0 14px; gap: 8px; }
  .nav-logo { height: 40px; }
  .nav-phone { display: none; }
  .nav-fb { margin-left: auto; margin-right: 6px; }
  .nav-fb svg { width: 26px; height: 26px; }
  .nav-cta { padding: 8px 12px; font-size: 0.78rem; margin-left: 0; white-space: nowrap; }

  /* Hero — account for smaller nav */
  .hero { padding-top: 56px; }
  .hero-content { padding: 36px 20px 40px; }
  .hero-sub { font-size: 1rem; max-width: 100%; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { text-align: center; width: 100%; }

  /* Trust bar — compact horizontal chips */
  .trust-bar { padding: 14px 0; }
  .trust-items { flex-direction: column; gap: 2px; align-items: flex-start; padding: 0 16px; }
  .trust-item { padding: 4px 0; font-size: 0.8rem; letter-spacing: 0.02em; }
  .trust-item:not(:last-child)::after { display: none; }

  /* Products */
  .products { padding: 52px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card { padding: 24px 20px; }

  /* Why Us */
  .why-us { padding: 52px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-stats-row { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .why-card { flex: 1; min-width: 130px; padding: 20px 16px; }
  .owners-photo { max-height: 240px; }

  /* Quote form */
  .quote-section { padding: 52px 0; }
  .form-wrapper { padding: 24px 16px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  /* Follow us */
  .follow-us { padding: 48px 0; }
  .btn-fb { font-size: 0.88rem; padding: 13px 18px; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-logo { height: 48px; }

  /* Section text */
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.92rem; margin-bottom: 32px; }
}

@media (max-width: 420px) {
  .nav-inner { height: 52px; padding: 0 12px; }
  .nav-logo { height: 36px; }
  .nav-fb svg { width: 24px; height: 24px; }
  .nav-cta { padding: 7px 10px; font-size: 0.74rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.06em; }
  .hero-sub { font-size: 0.92rem; }
  .trust-item { font-size: 0.75rem; }
  .product-card { padding: 20px 16px; }
  .form-wrapper { padding: 18px 12px; }
  .why-stat { font-size: 2.2rem; }
}
