/* Bamyet Integrated Farm — site styles */

:root {
  --orange: #f37a1f;
  --orange-dark: #d8630c;
  --orange-soft: #fde9d8;
  --ink: #1d1a16;
  --ink-2: #4a443c;
  --muted: #7a7268;
  --cream: #fbf6ee;
  --white: #ffffff;
  --green: #4e7a3a;
  --line: #e9e1d4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 26, 22, .08);
  --wrap: 1180px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
}
p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--cream { background: var(--cream); }
.center { text-align: center; }

/* Section headings: two-line title with an orange accent line */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.title { font-size: clamp(34px, 5vw, 54px); }
.title span { display: block; color: var(--orange); }
.lead { font-size: 19px; max-width: 640px; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--orange-dark); }
.btn--outline:hover { color: var(--white); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Top bar */
.topbar { background: var(--ink); color: #d9d2c7; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; padding: 8px 0; }
.topbar a { color: #d9d2c7; }
.topbar a:hover { color: var(--orange); }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: var(--orange); flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 64px; width: auto; }
.brand-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--orange); border-color: var(--orange); }
.nav .btn { padding: 11px 24px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); box-shadow: var(--shadow);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand img { height: 54px; }
}

/* Hero slider */
.hero { position: relative; min-height: min(86vh, 760px); color: var(--white); overflow: hidden; background: var(--ink); }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.78) 0%, rgba(20,16,12,.45) 55%, rgba(20,16,12,.15) 100%); }
.slide.active { opacity: 1; z-index: 1; }
.slide .wrap { position: relative; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); font-size: clamp(54px, 10vw, 120px); line-height: .95; margin-bottom: 18px; }
.hero h1 span { display: block; font-size: .42em; color: var(--orange); letter-spacing: .06em; margin-top: 8px; }
.hero p { font-size: 19px; color: #f1ece4; }
.hero p strong { color: var(--white); font-size: 21px; }
.hero .btn { margin-top: 10px; }
.slide.active .hero-content > * { animation: rise .9s both; }
.slide.active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.slide.active .hero-content > *:nth-child(3) { animation-delay: .24s; }
.slide.active .hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-arrows { position: absolute; z-index: 2; right: max(16px, calc((100% - var(--wrap)) / 2)); bottom: 40px; display: flex; gap: 10px; }
@media (min-width: 561px) { .hero-arrows { bottom: 96px; } }
.hero-arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: transparent; color: var(--white);
  font-size: 22px; cursor: pointer; transition: background .2s, border-color .2s;
}
.hero-arrows button:hover { background: var(--orange); border-color: var(--orange); }
.hero-dots { position: absolute; z-index: 2; left: max(16px, calc((100% - var(--wrap)) / 2)); bottom: 52px; display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--orange); }

/* Page hero for inner pages */
.page-hero {
  position: relative; color: var(--white); text-align: center;
  padding: clamp(80px, 12vw, 140px) 0 clamp(70px, 10vw, 110px);
  background: var(--ink) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,16,12,.62); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(44px, 7vw, 82px); margin-bottom: 12px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { max-width: 620px; margin: 0 auto 22px; color: #eee7dc; font-size: 18px; }
.crumbs { display: inline-flex; gap: 10px; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: #d9d2c7; }
.crumbs a { color: var(--white); }
.crumbs a:hover { color: var(--orange); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media .badge {
  position: absolute; right: -14px; bottom: -22px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: grid; place-items: center; padding: 14px;
}
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split-media .badge { right: 10px; width: 104px; height: 104px; }
}

/* Stats band */
.stats { background: var(--orange); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: url("../img/bg-dark.jpg") center / cover; opacity: .08; mix-blend-mode: multiply; pointer-events: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(42px, 6vw, 64px); font-weight: 700; line-height: 1; }
.stat-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; margin-top: 8px; color: #fff3e8; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* Product cards */
.products-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 44px; }
.products-head .lead { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(29,26,22,.14); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--muted); }
.card .card-link { margin-top: auto; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.count-pill {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-head); text-transform: uppercase; color: var(--ink); line-height: 1.1; letter-spacing: .06em;
}
.count-pill strong { font-size: 64px; color: var(--orange); line-height: 1; }

/* Testimonial */
.testimonial { position: relative; color: var(--white); background: var(--ink) url("../img/bg-dark.jpg") center / cover; }
.testimonial::before { content: ""; position: absolute; inset: 0; background: rgba(15,12,9,.55); }
.testimonial .wrap { position: relative; max-width: 860px; text-align: center; }
.testimonial .title { color: var(--white); }
.quote-mark { font-family: Georgia, serif; font-size: 110px; line-height: .6; color: var(--orange); display: block; margin: 10px 0 20px; }
.testimonial blockquote { margin: 0; font-size: clamp(17px, 2vw, 20px); color: #eee7dc; font-style: italic; }
.testimonial cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-size: 18px; }

/* Shop call-to-action */
.cta { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--cream); }
.cta-media { min-height: 420px; background: url("../img/day-old-broilers.jpg") center / cover; }
.cta-body { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); align-self: center; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-media { min-height: 280px; } }

/* About page */
.prose p { font-size: 17.5px; }
.prose p:first-of-type { font-size: 20px; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.value h3 { font-size: 22px; }
.value p { margin: 0; font-size: 16px; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--orange-soft); }
.team-grid img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder tile shown until the real farm photos are added */
.photo-placeholder { display: grid; place-items: center; height: 100%; text-align: center; padding: 16px; color: var(--orange-dark); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: 15px; border: 2px dashed rgba(216,99,12,.35); border-radius: var(--radius); }

/* Products page */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: 0; }
.product-row:nth-child(even) .product-media { order: 2; }
.product-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.product-row h2 { font-size: clamp(30px, 4vw, 42px); }
.product-tag { display: inline-block; background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row:nth-child(even) .product-media { order: 0; }
}

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 28px; text-align: center; }
.contact-card .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; margin: 0 auto 18px; }
.contact-card .icon svg { width: 28px; height: 28px; fill: var(--orange); }
.contact-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--ink); font-weight: 700; }
.contact-card a:hover { color: var(--orange); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,122,31,.15); }
.form textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.footer { background: var(--ink); color: #bdb4a7; font-size: 16px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 56px; }
.footer h5 { color: var(--white); font-size: 18px; letter-spacing: .1em; margin-bottom: 18px; }
.footer a { color: #bdb4a7; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer-logo { width: 220px; background: var(--white); border-radius: 10px; padding: 8px 12px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: var(--white); border-radius: 999px;
  padding: 12px 18px 12px 14px; box-shadow: 0 10px 26px rgba(0,0,0,.2);
  font-weight: 700; font-size: 15px;
}
.wa-float:hover { color: var(--white); background: #1ebe5b; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .slide.active .hero-content > * { transition: none; animation: none; }
}

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(110px, 20vw, 200px); color: var(--orange); line-height: 1; font-weight: 700; }
