/* ============================================================
   Elaine's Farms Limited — new site
   Single typeface: Arial Nova / Arial · Burgundy #A42125
   ============================================================ */

:root {
  --burgundy: #A42125;
  --burgundy-dark: #861a1e;
  --dark: #1E1D1D;
  --gray: #7A7373;
  --gray-light: #a7a2a2;
  --cream: #F6F2EC;
  --white: #FFFFFF;
  --font: "Arial Nova", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --container: 1200px;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(30,29,29,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; color: var(--dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.section--cream { background: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 14px 28px; border-radius: 4px;
  cursor: pointer; border: none; transition: all .18s ease; font-size: 14px;
}
.btn--burgundy { background: var(--burgundy); color: var(--white); }
.btn--burgundy:hover { background: var(--burgundy-dark); }
.btn--outline { background: transparent; color: var(--burgundy); border: 2px solid var(--burgundy); }
.btn--outline:hover { background: var(--burgundy); color: var(--white); }

/* Section heading with cleaver */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head__icon { display: block; margin-bottom: 8px; }
.section-head__icon img { width: 72px; height: auto; display: block; margin: 0 auto; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase;
  letter-spacing: 0.01em; color: var(--burgundy); font-weight: 700;
}
.section-head p { color: var(--gray); margin-top: 10px; font-size: 16px; }

/* ===== Header ===== */
.topbar { background: var(--burgundy); color: var(--white); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 26px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); }
.topbar a:hover { opacity: .8; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }

.site-header { background: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a.nav-link {
  font-family: var(--font); font-weight: 700; text-transform: uppercase;
  font-size: 14px; letter-spacing: 0.04em; padding: 10px 14px; color: var(--dark);
}
.nav a.nav-link:hover { color: var(--burgundy); }
.nav a.nav-link.active { color: var(--burgundy); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-call { text-align: right; }
.header-call .label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.header-call .num { font-weight: 700; font-size: 15px; color: var(--dark); }
.cart { position: relative; display: flex; align-items: center; font-size: 24px; color: var(--dark); }
.cart .badge { position: absolute; top: -6px; right: -8px; background: var(--burgundy); color: #fff; font-size: 11px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ===== Hero ===== */
.hero { position: relative; background: #222; color: var(--white); }
.hero img.hero-bg { width: 100%; height: 520px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }
.hero .hero-words { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; background: rgba(164,33,37,0.92); padding: 16px 0; }
.hero .marquee { display: flex; white-space: nowrap; animation: marquee 22s linear infinite; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; }
.hero .marquee span { padding: 0 30px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Category cards (beef/lamb/venison/pet) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { text-align: center; }
.cat-card .cat-img { aspect-ratio: 1/1; background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--gray-light); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { margin: 16px 0 10px; text-transform: uppercase; font-size: 18px; }
.cat-card .btn { width: 100%; }

/* ===== About (butcher image + from farm to plate) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { background: var(--cream); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.04em; }
.about-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about-text h2 { color: var(--burgundy); text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.about-text p { color: var(--gray); margin-bottom: 14px; }

/* ===== Meat assortments ===== */
.assort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.assort-item { text-align: center; }
.assort-item .a-img { aspect-ratio: 1/1; background: var(--cream); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray-light); }
.assort-item .a-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.assort-item h3 { margin-top: 14px; text-transform: uppercase; font-weight: 700; font-size: 16px; }

/* ===== Specials ===== */
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid #eee; border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 22px; }
.product-card .p-img { aspect-ratio: 1/1; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--gray-light); }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 17px; margin: 16px 16px 6px; }
.product-card .price { color: var(--burgundy); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.product-card .btn { margin: 0 16px; width: calc(100% - 32px); }

/* ===== Long image banner ===== */
.banner { position: relative; background: #222; color: var(--white); }
.banner img.banner-bg { width: 100%; height: 380px; object-fit: cover; }
.banner .banner-box { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); max-width: 380px; }
.banner .banner-box .banner-logo { width: 84px; height: 84px; margin-bottom: 10px; }
.banner .banner-box h3 { color: var(--white); text-transform: uppercase; font-size: 24px; margin: 8px 0; }
.banner .banner-box p { color: rgba(255,255,255,0.9); font-size: 15px; }

/* ===== Why choose us ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { text-align: center; padding: 10px; }
.why-item .why-icon { font-size: 34px; margin-bottom: 12px; }
.why-item h3 { font-size: 17px; margin-bottom: 8px; }
.why-item p { color: var(--gray); font-size: 15px; }

/* ===== Footer ===== */
.site-footer { background: var(--burgundy); color: var(--white); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.85); font-size: 14px; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.9); font-size: 14.5px; }
.footer-col ul li a:hover { text-decoration: underline; }
.footer-contact a { color: var(--white); font-weight: 700; font-size: 18px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.2); text-align: center; padding: 20px 0; font-size: 13.5px; color: rgba(255,255,255,0.85); }

/* ===== Placeholder image helper ===== */
.ph { display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--gray-light); text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cat-grid, .assort-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .specials-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .cat-grid, .assort-grid, .specials-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .header-call { display: none; }
}
