/*
Theme Name: Bloomings
Theme URI: https://bloomings.online
Author: Luna Design
Description: Custom classic theme for Bloomings — B2B global flower logistics. Wireframe (structure + hero), styling in progress.
Version: 0.3.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: bloomings
*/

:root {
  /* Bloomings palette — light, gold-forward with green support */
  --bg:        #f8f6f0;  /* warm ivory base */
  --surface:   #ffffff;  /* cards */
  --panel:     #f0ece1;  /* warm panel fill */
  --panel-2:   #e7e1d2;
  --line:      #e2dccc;  /* warm hairline */
  --ink:       #262420;  /* warm near-black text */
  --ink-soft:  #5f5b51;
  --ink-faint: #928c7d;

  /* Gold — primary accent */
  --gold:      #b8933f;
  --gold-ink:  #8a6a24;  /* readable gold for text/links on light */
  --gold-soft: #f3e9cf;

  /* Green — secondary/support accent */
  --green:     #5c7d55;
  --green-ink: #3f5a3a;
  --green-soft:#e3ebdc;

  /* Semantic accent aliases (gold-forward) */
  --accent:     var(--gold);
  --accent-ink: var(--gold-ink);
  --accent-soft:var(--gold-soft);

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

h1,h2,h3 { text-wrap: balance; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 600; margin: 0;
}

/* ---- Placeholder image box ---- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, color-mix(in srgb, var(--line) 60%, transparent) 11px 12px),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--ink-faint);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  text-align: center; padding: 16px;
}
.ph span { background: var(--bg); padding: 5px 10px; border-radius: 2px; }

/* placeholder text bars (wireframe) */
.bars { display: grid; gap: 8px; }
.bar { height: 10px; border-radius: 3px; background: var(--panel-2); }
.bar.w-90 { width: 90%; } .bar.w-80 { width: 80%; } .bar.w-70 { width: 70%; }
.bar.w-60 { width: 60%; } .bar.w-50 { width: 50%; } .bar.w-40 { width: 40%; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent; transition: transform .12s ease;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #201d14; border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
@media (hover:hover){ .btn:hover { transform: translateY(-1px); } }

/* ---- Section frame ---- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.sec-head { max-width: 46ch; margin-bottom: 40px; display: grid; gap: 13px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.sec-note { color: var(--ink-soft); font-size: 16px; }

/* Fidelity ribbon */
.ribbon {
  background: var(--accent-soft); color: var(--accent-ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px; text-align: center; padding: 9px var(--pad);
  letter-spacing: 0.02em;
}
.ribbon b { font-weight: 700; letter-spacing: 0.1em; }

/* ============ HEADER ============ */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold), var(--green), var(--gold));
  border: 1px solid var(--line);
}
.brand small { display:block; font-size:9.5px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-faint); margin-top:-2px; }
nav.main { margin-left: auto; }
nav.main ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
nav.main a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .mail { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.nav-cta .mail:hover { color: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 11px; cursor: pointer; color: var(--ink); font: inherit; }

/* ============ HERO ============ */
.hero { padding-block: clamp(48px, 6vw, 88px); }
.hero-3col { display: grid; grid-template-columns: .72fr 1.56fr .72fr; gap: clamp(20px, 3.5vw, 44px); align-items: center; }
.hero-side { display: grid; gap: clamp(12px, 1.5vw, 18px); }
.hero-side .ph { aspect-ratio: 5/4; }
.side-cap { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-faint); text-align: center; }
.hero-center { display: grid; gap: 21px; justify-items: center; text-align: center; padding-inline: clamp(0px, 2vw, 24px); }
.hero h1 { font-size: clamp(32px, 4.4vw, 51px); font-weight: 700; }
.hero-lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 4px; justify-content: center; }

/* trust strip */
.trust {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.trust div { background: var(--surface); padding: 18px 20px; display: grid; gap: 5px; }
.trust .num { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.trust .lbl { font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.trust .num em { font-style: normal; color: var(--ink-faint); font-size: 13px; font-weight: 600; }

/* ============ VALUE / PILLARS ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 16px;
}
.card .ico { width: 42px; height: 42px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid var(--line); display:grid; place-items:center; color: var(--green-ink); font-weight:700; }
.card h3 { font-size: 18.5px; }
.card .bars { margin-top: 4px; }

/* ============ FLOWERS GRID ============ */
.flowers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flower { display: grid; gap: 12px; }
.flower .ph { aspect-ratio: 3/4; }
.flower.wide { grid-column: span 3; }
.flower.wide .ph { aspect-ratio: auto; min-height: 150px; }
.flower h3 { font-size: 17px; }
.flower p { font-size: 14px; color: var(--ink-soft); }
.flower.feat .ph { border-color: var(--accent); }
.tag { font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--green-ink); font-weight:700; }

/* ============ PROCESS (real sequence → numbered) ============ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { display: grid; gap: 13px; padding-top: 20px; border-top: 2px solid var(--accent); }
.step .n { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); }
.step h3 { font-size: 17px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ============ AUDIENCE ============ */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.audience div { background: var(--surface); padding: 22px 20px; display: grid; gap: 8px; }
.audience .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--line); }
.audience h3 { font-size: 16px; }

/* ============ CTA BAND ============ */
.cta-band { background: var(--panel); border-block: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 35px); max-width: 20ch; }
.cta-inner .bars { max-width: 40ch; margin-top: 13px; }

/* ============ FOOTER ============ */
footer.site { background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand .brand { font-size: 21px; }
.foot-brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin: 0 0 16px; font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent-ink); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 19px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }
.foot-bottom a { color: var(--ink-faint); text-decoration: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  nav.main { display: none; }
  nav.main.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px var(--pad); }
  nav.main.open ul { flex-direction: column; gap: 16px; }
  .menu-btn { display: inline-block; margin-left: auto; }
  .nav-cta .mail { display: none; }
  .navbar { position: relative; }
  .hero-3col { grid-template-columns: 1fr; gap: 32px; }
  .hero-center { order: -1; }
  .hero-side { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .hero-side .side-cap { grid-column: 1 / -1; order: -1; margin-bottom: -4px; }
  .hero-side .ph { aspect-ratio: 1/1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .pillars, .flowers, .process, .audience { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .pillars, .flowers, .process, .audience, .trust { grid-template-columns: 1fr; }
  .flower.wide { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
