/*
Theme Name: Fruit Corner Landing
Description: Lightweight one-page landing theme for Fruit Corner (egyfruitcorner.com). No plugins or page builder required.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fruitcorner-landing
*/

:root {
  --green-900: #24400a;
  --green-700: #3f6212;
  --green-600: #507008;
  --green-400: #88a000;
  --lime-100: #f1f6dd;
  --cream: #fbfaf4;
  --ink: #16200c;
  --muted: #5a6650;
  --line: #e3e8d4;
  --orange: #e8590c;
  --radius: 14px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: .9rem;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 244, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: auto; }
.brand-name { white-space: nowrap; font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; line-height: 1; }
.brand-name b { color: var(--green-600); font-weight: 700; }
.brand-tag { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .28em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { padding: 8px 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; }
.nav a:hover { color: var(--green-600); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: #fff !important; }
.btn-primary:hover { background: var(--green-900); }
.btn-ghost { border-color: var(--green-700); color: var(--green-700) !important; background: transparent; }
.btn-ghost:hover { background: var(--lime-100); }
.btn-sm { padding: 9px 18px; font-size: .88rem; white-space: nowrap; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Hero */
.hero { position: relative; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 46%, rgba(255,255,255,0) 74%);
}
.hero .wrap { position: relative; z-index: 2; padding: clamp(64px, 10vw, 130px) 0; }
.hero-copy { max-width: 520px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; margin-bottom: .35em; }
.hero h1 span { color: var(--green-600); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Trust strip */
.trust { background: var(--green-900); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { font-size: .9rem; line-height: 1.4; color: #dfe8c6; }
.trust strong { display: block; color: #fff; font-size: 1.35rem; font-weight: 700; margin-bottom: 2px; }

/* Sections */
section { padding: clamp(60px, 8vw, 104px) 0; scroll-margin-top: 72px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-grid .lead { font-size: 1.08rem; }
.pillars { display: grid; gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-400); border-radius: var(--radius); padding: 22px 24px; }
.pillar p { margin: 0; color: var(--muted); font-size: .96rem; }

.products { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
.cat img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.cat-body { padding: 24px; }
.cat-body h3 { font-size: 1.3rem; margin-bottom: .2em; }
.cat-count { font-size: .8rem; color: var(--green-600); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .84rem; }

.markets .chips li { background: var(--lime-100); border-color: transparent; font-size: .95rem; padding: 7px 16px; font-weight: 500; }

.contact { background: var(--green-900); color: #fff; }
.contact h2, .contact .eyebrow { color: #fff; }
.contact .eyebrow { color: #c5d88a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.contact p { color: #dfe8c6; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px 20px; }
.contact-list span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #c5d88a; margin-bottom: 3px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; display: inline-block; padding: 9px 0; overflow-wrap: anywhere; }
.contact-list a.tel { white-space: nowrap; margin-right: 18px; }
.contact-list li > span + a, .contact-list li { line-height: 1.5; }
.contact-list a:hover { text-decoration: underline; }
.contact .btn-primary { background: #fff; color: var(--green-900) !important; }
.contact .btn-primary:hover { background: var(--lime-100); }
.contact .btn-ghost { border-color: #fff; color: #fff !important; }
.contact .btn-ghost:hover { background: rgba(255,255,255,.12); }

.site-footer { background: #162807; color: #b9c7a0; font-size: .86rem; padding: 22px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 10px; }
  .header-cta { margin-left: auto; }
  .nav {
    order: 3; width: 100%; margin: 8px 0 0; gap: 0; justify-content: space-between;
    border-top: 1px solid var(--line);
  }
  .nav a { padding: 11px 4px; font-size: .9rem; }
  section { scroll-margin-top: 112px; }
  .about-grid, .contact-grid, .cats { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 60%, rgba(255,255,255,.75) 100%); }
}
@media (max-width: 520px) {
  .cat { grid-template-columns: 1fr; }
  .cat img { min-height: 180px; max-height: 220px; }
  .brand-tag { display: none; }
  .brand img { width: 36px; }
  .brand-name { font-size: 1.02rem; }
  .btn-sm { padding: 9px 14px; font-size: .82rem; }
  .hero-cta .btn { width: 100%; }
  .contact-list a.tel { display: block; margin-right: 0; }
  .site-footer .wrap { flex-direction: column; gap: 4px; }
}
@media (max-width: 380px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .site-header .wrap { column-gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 30px; }
  .brand-name { font-size: .9rem; }
  .btn-sm { padding: 9px 11px; font-size: .76rem; }
  .nav a { font-size: .84rem; }
  .trust strong { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
