/* Bouquets by Melly — WordPress Theme (faithful to original design) */

:root {
  --ink: #2f2b2d;
  --muted: #756d72;
  --soft: #fbf7f8;
  --surface: #fffefe;
  --blush: #f6d6df;
  --rose: #d85d84;
  --rose-deep: #9b315b;
  --silver: #ded9dc;
  --charcoal: #403c3f;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(87,59,72,.16);
  --shadow-soft: 0 16px 44px rgba(87,59,72,.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(246,214,223,.72), transparent 34rem),
    linear-gradient(180deg, #fff 0%, var(--soft) 45%, #fff 100%);
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(64,60,63,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,60,63,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Topbar / Nav ───────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(64,60,63,.08);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.08rem;
  color: var(--ink);
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #fff 0 15%, transparent 16%), linear-gradient(135deg, #f9c4d3, #d85d84 58%, #a03e62);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.55), 0 9px 24px rgba(216,93,132,.28);
  flex-shrink: 0;
}
.navlinks { display: flex; gap: 18px; align-items: center; font-size: .94rem; color: var(--muted); }
.navlinks a:hover { color: var(--rose-deep); }

/* ── Buttons ─────────────────────────────────────────────── */
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  font-family: inherit;
  font-size: .94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--rose), var(--rose-deep)); box-shadow: 0 14px 30px rgba(216,93,132,.30); }
.button.primary:hover { box-shadow: 0 20px 40px rgba(216,93,132,.40); }
.button.ghost { background: rgba(255,255,255,.76); border-color: rgba(64,60,63,.12); color: var(--charcoal); }
.button.soft { background: #fff; color: var(--rose-deep); border-color: rgba(216,93,132,.18); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 22px 54px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,470px);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose-deep);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(216,93,132,.18);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(216,93,132,.13);
  flex-shrink: 0;
}
h1 {
  margin: 22px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: .88;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.hero p { max-width: 620px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.microcopy { margin-top: 18px; color: var(--muted); font-size: .92rem; }

.hero-card {
  position: relative;
  isolation: isolate;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(246,214,223,.55));
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-card::before, .hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(.2px);
}
.hero-card::before { width: 132px; height: 132px; background: rgba(216,93,132,.16); right: -30px; top: -28px; }
.hero-card::after  { width: 96px; height: 96px; background: rgba(222,217,220,.62); left: -24px; bottom: -22px; }
.hero-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 32px; }

.floating-note {
  position: absolute;
  left: -22px;
  bottom: 34px;
  max-width: 230px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(64,60,63,.08);
  transform: rotate(-4deg);
}
.floating-note strong { display: block; color: var(--rose-deep); font-size: .92rem; }
.floating-note span   { color: var(--muted); font-size: .84rem; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 62px 22px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem,4vw,4rem); line-height: .95; letter-spacing: -.055em; }
.section-head p { margin: 0; max-width: 520px; color: var(--muted); }

/* ── Services ─────────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}
.service {
  min-height: 188px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(64,60,63,.08);
  box-shadow: var(--shadow-soft);
}
.service .num { color: var(--rose); font-weight: 900; letter-spacing: -.04em; font-size: 1rem; }
.service h3 { margin: 34px 0 8px; font-size: 1.04rem; }
.service p  { margin: 0; color: var(--muted); font-size: .94rem; }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.gallery-card {
  background: var(--surface);
  border: 1px solid rgba(64,60,63,.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(87,59,72,.15); }
.gallery-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--soft); }
.gallery-copy { padding: 16px 17px 18px; }
.gallery-copy h3 { margin: 0 0 5px; font-size: 1.02rem; }
.gallery-copy p  { margin: 0; color: var(--muted); font-size: .9rem; }

.gallery-more { text-align: center; margin-top: 28px; }

/* ── Process band ────────────────────────────────────────── */
.process-band {
  background: linear-gradient(135deg, var(--charcoal), #2c282b);
  color: white;
  border-radius: 42px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  overflow: hidden;
  position: relative;
}
.process-band::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -140px; top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,214,223,.32), transparent 65%);
  pointer-events: none;
}
.process-band h2 { color: white; }
.process-band p  { color: rgba(255,255,255,.72); margin: 16px 0 24px; max-width: 590px; }
.steps { display: grid; gap: 12px; align-content: center; position: relative; z-index: 1; }
.step  { display: flex; gap: 14px; align-items: start; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); }
.step b { color: #ffd4df; flex-shrink: 0; }
.step span { color: rgba(255,255,255,.74); font-size: .94rem; }

/* ── Split panels ─────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel {
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(64,60,63,.08);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.panel h3 { font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; line-height: .98; letter-spacing: -.045em; margin: 0 0 12px; }
.panel p   { color: var(--muted); margin-top: 0; }

/* ── Form fields ─────────────────────────────────────────── */
.field { display: grid; gap: 8px; margin-bottom: 12px; }
label  { color: var(--charcoal); font-weight: 750; font-size: .9rem; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(64,60,63,.14);
  border-radius: 15px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(216,93,132,.58);
  box-shadow: 0 0 0 4px rgba(216,93,132,.12);
}

/* ── Contact & payment lists ─────────────────────────────── */
.contact-list, .pay-list { display: grid; gap: 12px; margin: 16px 0 0; }
.line-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(246,214,223,.28);
  border: 1px solid rgba(216,93,132,.13);
}
.line-item span   { color: var(--muted); }
.line-item strong { text-align: right; }
.note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ── Footer ─────────────────────────────────────────────────*/
footer { padding: 36px 22px 46px; color: var(--muted); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(64,60,63,.10);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--charcoal);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow-soft);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
  font-size: .93rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ─────────────────────────────────────────────*/
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-card { max-width: 520px; margin: 0 auto; }
  .services { grid-template-columns: repeat(2,1fr); }
  .gallery  { grid-template-columns: repeat(2,1fr); }
  .process-band, .split { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .navlinks { display: none; }
  .hero { padding-inline: 18px; gap: 34px; }
  section { padding: 46px 18px; }
  .services { grid-template-columns: 1fr; }
  .gallery  { grid-template-columns: 1fr; }
  .floating-note { left: 12px; bottom: 18px; max-width: 210px; }
  .process-band  { padding: 24px; border-radius: 30px; }
  .panel { padding: 22px; border-radius: 28px; }
  .line-item { align-items: start; flex-direction: column; gap: 4px; }
  .line-item strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
