/* ============================================================
   Tribloom Farms — B2B Premium Exporter Overhaul
   ============================================================ */
:root {
  --dark-green: #142a1b;
  --dark-green-hover: #1e3f29;
  --gold: #dcb363;
  --gold-hover: #c49d52;
  --bg-cream: #f9f8f4;
  --text-dark: #222222;
  --text-light: #5a5a5a;
  --border-color: rgba(0,0,0,0.06);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1320px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 0.5em; color: var(--dark-green); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px; font-weight: 500;
  font-family: var(--font-body); font-size: 0.9rem;
  cursor: pointer; transition: 0.25s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--dark-green); color: #fff; }
.btn-primary:hover { background: var(--dark-green-hover); }
.btn-gold { background: var(--gold); color: var(--dark-green); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark-green); }

/* SVG Icons Utility */
.icon-svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.icon-svg-stroke { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Top Bar */
.top-bar {
  background: var(--dark-green); color: var(--gold);
  font-size: 0.75rem; letter-spacing: 0.05em; padding: 10px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }

/* Header */
.site-header {
  background: #fff; padding: 16px 0;
  position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 72px; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); transition: color 0.2s; }
.nav-link:hover { color: var(--dark-green); }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 80vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.hero-content { color: #fff; max-width: 600px; }
.hero-content h1 { color: #fff; font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 12px; }
.hero-content .subtitle { font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: 1.4rem; margin-bottom: 16px; }
.hero-content p { font-size: 1.05rem; color: #ddd; margin-bottom: 32px; max-width: 450px; }
.hero-actions { display: flex; gap: 16px; }

/* Features Bar */
.features-bar { background: #fff; border-bottom: 1px solid var(--border-color); padding: 32px 0; }
.features-bar .container { display: flex; justify-content: space-between; gap: 24px; }
.feature { display: flex; align-items: flex-start; gap: 12px; flex: 1; }
.feature-icon { color: var(--dark-green); font-size: 1.8rem; display: flex; }
.feature-icon svg { width: 1em; height: 1em; stroke-width: 1.2; }
.feature-text h4 { font-family: var(--font-body); font-size: 0.95rem; margin: 0 0 4px; }
.feature-text p { font-size: 0.8rem; color: var(--text-light); margin: 0; line-height: 1.4; }

/* Our Collection */
.collection-section { background: var(--bg-cream); }
.collection-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.collection-header .eyebrow { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.collection-header h2 { font-size: 2.2rem; margin: 0; }
.collection-header p { color: var(--text-light); margin: 8px 0 0; }
.collection-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.flower-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: transform 0.2s; border: 1px solid var(--border-color); }
.flower-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flower-img { aspect-ratio: 4/3; background: #eee; overflow: hidden; }
.flower-img img { width: 100%; height: 100%; object-fit: cover; }
.flower-info { padding: 16px; }
.flower-info h4 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 4px; }
.flower-info p { font-size: 0.75rem; color: var(--text-light); margin: 0 0 12px; }
.flower-link { font-size: 0.8rem; color: var(--dark-green); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.flower-link svg { width: 12px; height: 12px; }

/* Gallery Marquee */
.gallery-section { overflow-x: hidden; }
.gallery-marquee {
  position: relative; width: 100vw; left: 50%; transform: translateX(-50%);
  overflow: hidden; padding: 10px 0 30px;
}
.gallery-track {
  display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-track img {
  height: 400px; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform 0.3s;
}
.gallery-track img:hover { transform: scale(1.05); box-shadow: var(--shadow); z-index: 1; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

/* Split Section (Farm to You / Founder) */
.split-section { display: flex; min-height: 500px; }
.split-left { flex: 1; background: var(--dark-green); color: #fff; padding: 80px 5%; display: flex; flex-direction: column; justify-content: center; }
.split-right { flex: 1; position: relative; background: #e9e6dc; display: flex; align-items: center; padding: 80px 5%; overflow: hidden; }
.split-left h2 { color: #fff; font-size: 2.4rem; }
.split-left p { color: #ccc; margin-bottom: 40px; }

/* Timeline Horizontal */
.timeline-hz { display: flex; justify-content: space-between; position: relative; margin-bottom: 40px; max-width: 600px; }
.timeline-hz::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: rgba(255,255,255,0.2); z-index: 0; }
.timeline-step-hz { position: relative; z-index: 1; text-align: center; flex: 1; }
.step-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-green); border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step-icon svg { width: 20px; height: 20px; stroke-width: 1.5; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.timeline-step-hz span { font-size: 0.7rem; color: #ddd; display: block; line-height: 1.3; font-weight: 500; }

/* Founder right side */
.founder-bg { position: absolute; inset: 0; z-index: 0; }
.founder-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.9; }
.founder-content { position: relative; z-index: 1; max-width: 400px; background: rgba(255,255,255,0.9); padding: 40px; border-radius: 4px; backdrop-filter: blur(8px); margin-right: auto; }
.founder-content h2 { font-size: 2rem; margin-bottom: 16px; }
.quote-icon { color: var(--gold); font-size: 2rem; font-family: var(--font-head); line-height: 1; margin-bottom: 8px; }
.founder-content p { font-style: italic; color: var(--text-dark); margin-bottom: 16px; font-size: 1.05rem; }
.founder-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.founder-title { font-size: 0.75rem; color: var(--text-light); }

/* Trusted By */
.trusted-by { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border-color); }
.trusted-by .container { display: flex; align-items: center; gap: 40px; }
.trusted-by h4 { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-light); margin: 0; width: 180px; }
.logos { display: flex; gap: 40px; align-items: center; flex: 1; justify-content: space-between; }
.logos img { height: 32px; opacity: 0.6; filter: grayscale(1); transition: 0.2s; }
.logos img:hover { opacity: 1; filter: grayscale(0); }

/* Bottom CTA */
.bottom-cta { background: var(--dark-green); padding: 80px 0; color: #fff; position: relative; overflow: hidden; }
.bottom-cta-inner { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.bottom-cta h2 { color: #fff; font-size: 2.2rem; margin: 0; max-width: 300px; line-height: 1.1; }
.cta-features { display: flex; gap: 32px; }
.cta-feat { display: flex; align-items: flex-start; gap: 12px; }
.cta-feat-icon { color: var(--gold); display: flex; font-size: 1.8rem; }
.cta-feat-icon svg { width: 1em; height: 1em; stroke-width: 1.5; fill: none; stroke: currentColor; }
.cta-feat-text h5 { font-family: var(--font-body); color: #fff; margin: 0 0 2px; font-size: 0.85rem; font-weight: 600; }
.cta-feat-text p { font-size: 0.75rem; color: #ccc; margin: 0; }
.cta-action { text-align: center; }
.cta-action p { font-size: 0.8rem; margin: 12px 0 0; color: #ccc; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Footer */
.site-footer { background: var(--dark-green); padding: 0 0 24px; color: #ccc; font-size: 0.8rem; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

/* Responsive basics */
@media (max-width: 1200px) {
  .collection-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .features-bar .container { flex-wrap: wrap; }
  .feature { min-width: 200px; }
  .bottom-cta-inner { flex-direction: column; gap: 40px; text-align: center; }
  .bottom-cta h2 { max-width: 100%; }
}
@media (max-width: 960px) {
  .hero .container { flex-direction: column; align-items: flex-start; gap: 40px; }
  .split-section { flex-direction: column; }
  .cta-features { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .trusted-by .container { flex-direction: column; text-align: center; }
  .logos { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .timeline-hz { flex-direction: column; gap: 20px; }
  .timeline-hz::before { left: 20px; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline-step-hz { display: flex; align-items: center; gap: 16px; text-align: left; }
  .step-icon { margin: 0; }
}
