/* ============================================================
   WOODSPRING SHORTHORN — REDESIGNED STYLESHEET (2025)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  color: #2c2c2c;
  background: #f5f1ed;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
}

/* ============================================================
   DESIGN TOKENS — 2025 PALETTE
   ============================================================ */
:root {
  --primary: #a64d31;
  --primary-light: #c86a42;
  --primary-dark: #8b3d25;
  --accent: #d4a574;
  --cream: #f5f1ed;
  --text-dark: #2c2c2c;
  --text-mid: #5c5c5c;
  --text-light: #8c8c8c;
  --sidebar-width: 175px;
  --serif-font: 'Lora', Georgia, serif;
  --display-font: 'Playfair Display', serif;
  --sans-font: 'Raleway', sans-serif;
}

/* ============================================================
   SIDEBAR NAVIGATION
   ============================================================ */
.sidebar-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

.sidebar-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_cattle.webp');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.35);
  opacity: 0.5;
}

.sidebar-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(166, 77, 49, 0.75);
}

.sidebar-nav ul {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}

.sidebar-nav ul li a {
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: color 0.3s, text-shadow 0.3s;
  display: block;
  padding: 2px 0;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  color: var(--accent);
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

/* ============================================================
   MAIN WRAPPER
   ============================================================ */
.main-wrapper {
  margin-left: var(--sidebar-width);
  background: var(--cream);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--cream);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 24px;
  background: #f5f1ed;
  position: relative;
  z-index: 5;
}

.hero-logo {
  width: 280px;
  height: auto;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(35%) brightness(0.85) saturate(0.7);
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 44, 44, 0.75);
  backdrop-filter: blur(4px);
  padding: 32px 40px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  border: 2px solid var(--primary-light);
}

.hero-overlay h1 {
  font-family: var(--display-font);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-overlay p {
  font-size: 14px;
  color: #e8e8e8;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--serif-font);
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 10px 24px;
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   GENERIC SECTION STYLES
   ============================================================ */
.section {
  background: #fff;
  padding: 64px 0;
}

.section:nth-child(even) {
  background: var(--cream);
}

.section-inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-family: var(--display-font);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-align: center;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: #fff;
}

.about-content {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 12px;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-image {
  display: none;
}

.about-image img {
  width: 100%;
  border: 3px solid var(--primary);
}

.drop-cap-wrap {
  overflow: hidden;
  margin-bottom: 16px;
}

.drop-cap {
  font-family: var(--display-font);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.75;
  color: var(--primary-light);
  float: left;
  margin-right: 6px;
  padding: 8px 4px 0 0;
}

.drop-cap-wrap p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.practices-intro {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.8;
  font-weight: 600;
}

.practices-list {
  list-style: disc;
  padding-left: 20px;
}

.practices-list li {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ============================================================
   WHY SPROUTFED SECTION
   ============================================================ */
.why-section {
  background: var(--cream);
}

.why-content {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.why-image {
  display: none;
}

.why-image img {
  width: 100%;
  border: 2px solid var(--primary);
}

.why-text {
  flex: 1;
  min-width: 0;
}

.why-text p,
.why-paragraphs p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.8;
}

.benefits-list {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.benefits-list li {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 5px;
  line-height: 1.7;
}

/* ============================================================
   FARM VISITS SECTION
   ============================================================ */
.farm-visits-section {
  display: none;
}

.farm-tours-section {
  background: #fff;
}

.visits-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.visits-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-row {
  display: flex;
  gap: 4px;
}

.gallery-row img {
  flex: 1;
  width: 50%;
  height: 160px;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.gallery-center {
  justify-content: center;
}

.gallery-center img {
  width: 50%;
  flex: 0 0 50%;
  height: 160px;
  border: 2px solid var(--primary);
}

/* ============================================================
   FARM TOURS SECTION
   ============================================================ */
.farm-tours-section {
  background: var(--cream);
}

.no-events {
  text-align: center;
  color: var(--primary);
  font-size: 16px;
  margin-top: 16px;
  font-style: italic;
}

/* ============================================================
   ORDER SECTION
   ============================================================ */
.order-section {
  background: #fff;
}

.steak-img-wrap {
  text-align: center;
  margin: 24px 0 32px;
}

.steak-img-wrap img {
  max-width: 320px;
  margin: 0 auto;
  border: 2px solid var(--primary);
}

/* Order Form */
.order-form {
  margin-top: 0;
}

.form-section-title {
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

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

.form-grid input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-family: var(--serif-font);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grid input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(166, 77, 49, 0.1);
}

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

/* Product Table */
.product-table-wrap {
  margin-top: 16px;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--primary);
  margin-bottom: 0;
}

.product-table thead tr {
  background: var(--primary);
}

.product-table thead th {
  font-family: var(--sans-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.product-table thead th:nth-child(2),
.product-table thead th:nth-child(3),
.product-table thead th:nth-child(4) {
  text-align: center;
}

.product-row td {
  padding: 14px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
}

.product-name-cell {
  font-family: var(--sans-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.cow-diagram {
  max-width: 95px;
  margin-top: 8px;
  filter: grayscale(100%);
}

.portion-diagram {
  width: 60px;
  height: 80px;
  margin-top: 8px;
  display: block;
}

.price-cell {
  text-align: center;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.total-cell {
  text-align: center;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

.qty-cell {
  text-align: center;
}

.qty-cell input {
  width: 80px;
  padding: 6px 8px;
  border: 2px dashed var(--primary);
  font-size: 12px;
  text-align: center;
  outline: none;
  color: var(--text-dark);
  background: #fff;
  font-family: var(--serif-font);
}

/* Cuts row */
.cuts-row td {
  padding: 12px;
  background: #faf8f5;
  border-bottom: 1px solid #e8e8e8;
}

.cuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px 12px;
}

.cuts-grid ul li {
  font-size: 12px;
  color: var(--text-mid);
  padding: 2px 0;
  line-height: 1.6;
}

/* Shipping notice */
.shipping-notice {
  background: #faf8f5;
  border: 2px solid var(--primary);
  border-top: none;
  padding: 12px 16px;
  text-align: center;
}

.shipping-notice p {
  font-family: var(--sans-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* Packs table */
.packs-table {
  margin-top: 24px;
}

.pack-name {
  font-size: 13px;
}

/* Delivery notice */
.delivery-notice {
  margin-top: 16px;
  text-align: center;
}

.delivery-notice p {
  font-family: var(--sans-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Order submit row */
.order-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.recaptcha-placeholder {
  flex: 0 0 auto;
}

.recaptcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  background: #faf8f5;
  border-radius: 2px;
  min-width: 200px;
}

.recaptcha-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.recaptcha-box label {
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  flex: 1;
}

.bitcoin-logo-wrap {
  flex: 0 0 auto;
}

.bitcoin-logo-wrap img,
.bitcoin-logo {
  max-height: 60px;
  width: auto;
  display: block;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--cream);
}

.contact-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
  flex: 1;
  min-width: 140px;
}

.contact-icon {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.contact-divider {
  height: 2px;
  background: var(--primary);
  margin: 32px 0;
}

/* Contact form */
.contact-form {
  max-width: 340px;
}

.contact-field-wrap {
  position: relative;
  margin-bottom: 10px;
}

.contact-field-wrap input,
.contact-field-wrap textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: var(--serif-font);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.contact-field-wrap input:focus,
.contact-field-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(166, 77, 49, 0.1);
}

.textarea-wrap textarea {
  min-height: 100px;
}

.contact-recaptcha {
  margin: 12px 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  padding: 20px 24px;
}

.footer-inner {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans-font);
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-family: var(--sans-font);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar-nav {
    display: none;
  }

  .main-wrapper {
    margin-left: 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
    flex: none;
  }

  .why-content {
    flex-direction: column;
  }

  .why-image {
    max-width: 100%;
    flex: none;
  }

  .contact-info-row {
    flex-direction: column;
  }

  .order-submit-row {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .cuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid input.full-width {
    grid-column: 1;
  }

  .hero-logo {
    width: 160px;
  }

  .hero-bg {
    height: 300px;
  }

  .hero-overlay {
    bottom: 30px;
    padding: 20px 24px;
  }

  .hero-overlay h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .gallery-row {
    flex-direction: column;
  }

  .gallery-row img {
    width: 100%;
    flex: none;
    height: 200px;
  }

  .gallery-center img {
    width: 100%;
    flex: none;
    height: 200px;
  }

  .cuts-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .product-table {
    font-size: 12px;
  }

  .product-row td {
    padding: 8px;
  }
}
