/* ==========================================================================
   FOOTHILLS NATURAL TURF — PIEDMONT HERITAGE WEB DESIGN SYSTEM
   Faithfully derived from the 3" x 4" Piedmont Heritage Bottle Labels
   ========================================================================== */

:root {
  --forest: #1B4332;
  --forest-deep: #153527;
  --ivory: #FAF9F4;
  --paper: #FFFFFF;
  --ink: #1A241E;
  --muted: #4A564F;
  --rule: #D6DDD7;

  /* Seasonal Accents (sampled directly from the 4 Piedmont Heritage labels) */
  --spring: #B4533A;
  --spring-soft: #9FB38B;
  --summer: #C97718;
  --summer-soft: #D6A548;
  --fall: #AE5229;
  --winter: #426E93;
  --winter-soft: #8FA4B5;

  /* Active page accent (overridden per seasonal page) */
  --accent: #B4533A;
  --accent-soft: #E9ECE6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  color: var(--forest);
}

a {
  color: var(--forest);
}

/* Top Brand Header (mirrors label top forest banner + seasonal accent bar) */
.heritage-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  color: #FFFFFF;
  box-shadow: 0 2px 14px rgba(21, 53, 39, 0.14);
}

.header-bar-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-lockup {
  text-decoration: none;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.brand-lockup .brand-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.brand-lockup .brand-meta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CFE3D6;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  color: #E7F1EB;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 5px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.accent-stripe {
  height: 7px;
  width: 100%;
  background: var(--accent);
}

/* Framed Page Wrapper (mirrors the fine dark-green label border & corner brackets) */
.page-frame {
  max-width: 1120px;
  margin: 1.75rem auto 3rem;
  padding: 0 1.25rem;
}

.heritage-sheet {
  background: var(--paper);
  border: 1.5px solid var(--forest);
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  box-shadow: 0 10px 34px rgba(27, 67, 50, 0.07);
}

/* Corner architectural ornaments matching bottom-left & bottom-right of front labels */
.heritage-sheet::before,
.heritage-sheet::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.heritage-sheet::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.heritage-sheet::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

/* Botanical Filigree Divider */
.filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.35rem auto 1.65rem;
  max-width: 440px;
}

.filigree-divider svg {
  width: 100%;
  height: 24px;
  display: block;
}

/* Home Hero */
.home-hero {
  text-align: center;
  padding: 0.75rem 0 1.5rem;
}

.series-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  display: block;
}

.home-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.tagline-italic {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

.home-hero .intro-copy {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.45rem;
  border-radius: 6px;
  transition: all 0.16s ease;
  cursor: pointer;
}

.btn-forest {
  background: var(--forest);
  color: #FFFFFF;
  border: 1.5px solid var(--forest);
}

.btn-forest:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

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

.btn-outline-forest:hover {
  background: #F1F6F3;
}

/* 4-Season Product Showcase Grid (Home Page) */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--ivory);
  border: 1.5px solid var(--forest);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(27, 67, 50, 0.12);
}

.product-card-bar {
  height: 6px;
  background: var(--card-accent, var(--forest));
}

.product-card-img-wrap {
  background: #FFFFFF;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: center;
}

.product-card-img-wrap img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}

.product-card-body {
  padding: 1.15rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.season-chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-accent, var(--forest));
  margin-bottom: 0.3rem;
}

.product-card h3 {
  font-size: 1.04rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.product-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.card-spec-line {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--forest);
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.95rem;
}

.card-cta {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--forest);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.card-cta:hover {
  background: var(--card-accent, var(--forest-deep));
}

/* Product Page Hero (2-Column Editorial + Interactive Front/Back Label Viewer) */
.product-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1.5px solid var(--rule);
}

@media (max-width: 820px) {
  .product-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.product-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}

.product-meta-sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

/* Three Heritage Seal Badges (matching bottom of front labels) */
.seal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

@media (max-width: 520px) {
  .seal-row {
    grid-template-columns: 1fr;
  }
}

.heritage-seal {
  background: #FFFFFF;
  border: 2px solid var(--forest);
  border-radius: 999px;
  padding: 4px;
  text-align: center;
}

.heritage-seal-inner {
  border: 1.2px solid var(--accent);
  border-radius: 999px;
  padding: 0.85rem 0.55rem;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.heritage-seal.shield,
.heritage-seal.shield .heritage-seal-inner {
  border-radius: 14px;
}

.seal-sprig {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  line-height: 1;
}

.seal-text {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.25;
  margin: 0.25rem 0;
}

/* Interactive Label Viewer */
.label-viewer {
  background: var(--ivory);
  border: 1.5px solid var(--forest);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.label-tabs {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 0.85rem;
  gap: 4px;
}

.label-tab-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--muted);
}

.label-tab-btn.active {
  background: var(--forest);
  color: #FFFFFF;
}

.label-frame-img {
  width: 100%;
  max-width: 310px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(27, 67, 50, 0.14);
  display: block;
  margin: 0 auto;
}

.label-caption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Back-Label Style Bordered Info Boxes (exact match to back labels!) */
.label-box-section {
  margin-top: 2rem;
}

.label-box {
  background: var(--ivory);
  border: 1.5px solid var(--forest);
  border-radius: 10px;
  padding: 1.25rem 1.4rem 1.35rem;
  margin-bottom: 1.35rem;
}

.label-box-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.label-box-title::before,
.label-box-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--accent);
  opacity: 0.8;
}

.label-box-title h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.label-bullets {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.label-bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.label-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 800;
}

/* Benefits Grid */
.section-block {
  margin-top: 2.25rem;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 1.35rem;
}

.section-heading-center h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 0.25rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}

.benefit-card {
  background: var(--ivory);
  border: 1.5px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1.2rem;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.benefit-card p {
  font-size: 0.91rem;
  color: var(--muted);
}

/* Calendar Table */
.table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--forest);
  border-radius: 8px;
  background: #FFFFFF;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: var(--forest);
  color: #FFFFFF;
  text-align: left;
  padding: 0.75rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--rule);
}

tr:nth-child(even) td {
  background: var(--ivory);
}

/* FAQ Accordion */
details {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--forest);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

summary {
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.95rem;
}

details p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Sheet Footer (mirrors back-label bottom bar) */
.sheet-footer {
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.size-badge {
  border: 1px solid var(--forest);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Global Dark Footer */
.site-footer {
  background: var(--forest);
  color: #CFE3D6;
  padding: 1.75rem 1.25rem;
  font-size: 0.84rem;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}
