/* Bloematelier Merlijn — colorful Leiden florist */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --cream: #fbf7f0;
  --cream-deep: #f0e8dc;
  --leaf: #2d6a4f;
  --leaf-dark: #1b4332;
  --coral: #e07a5f;
  --coral-deep: #c45d42;
  --blush: #f4d4c8;
  --ink: #1f2a24;
  --muted: #5c6b62;
  --white: #ffffff;
  --line: rgba(31, 42, 36, 0.12);
  --shadow: 0 18px 40px rgba(27, 67, 50, 0.12);
  --radius: 4px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(224, 122, 95, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(45, 106, 79, 0.12), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, #f7f1e6 40%, var(--cream) 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--leaf-dark);
  text-decoration: none;
  line-height: 1.2;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 1.4rem;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--leaf);
  border-bottom-color: var(--coral);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--leaf-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  background: var(--leaf-dark);
  padding: 1rem 1.25rem 1.5rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(251, 247, 240, 0.15);
}

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(224, 122, 95, 0.35);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white);
}

.btn-leaf {
  background: var(--leaf);
  color: var(--white);
}

.btn-leaf:hover {
  background: var(--leaf-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--leaf-dark);
  color: var(--leaf-dark);
}

.btn-outline:hover {
  background: var(--leaf-dark);
  color: var(--cream);
}

.btn-ghost {
  background: rgba(251, 247, 240, 0.2);
  border-color: rgba(251, 247, 240, 0.55);
  color: var(--cream);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--leaf-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 67, 50, 0.25) 0%, rgba(27, 67, 50, 0.55) 45%, rgba(27, 67, 50, 0.88) 100%),
    linear-gradient(90deg, rgba(27, 67, 50, 0.55), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 36rem;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: var(--cream);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  animation: riseIn 0.9s ease both;
}

.hero .brand-mark em {
  font-style: italic;
  color: var(--blush);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(251, 247, 240, 0.95);
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero p {
  color: rgba(251, 247, 240, 0.85);
  max-width: 28rem;
  animation: riseIn 0.9s ease 0.22s both;
}

.hero .btn-row {
  animation: riseIn 0.9s ease 0.32s both;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.page-hero .hero-media {
  animation: none;
  transform: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.75rem;
  max-width: 40rem;
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: rgba(251, 247, 240, 0.88);
  margin: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.25rem 0;
}

.section-leaf {
  background: var(--leaf-dark);
  color: var(--cream);
}

.section-leaf h2,
.section-leaf h3 {
  color: var(--cream);
}

.section-leaf p,
.section-leaf .lead {
  color: rgba(251, 247, 240, 0.82);
}

.section-blush {
  background: linear-gradient(135deg, var(--blush) 0%, var(--cream-deep) 100%);
}

.section-band {
  background: var(--cream-deep);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .split.reverse .split-copy { order: 2; }
  .split.reverse .split-media { order: 1; }
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 28% 72% 64% 36% / 42% 34% 66% 58%;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform 0.7s ease;
}

.split:hover .split-media img {
  transform: scale(1.04);
}

.feature-rail {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius);
  color: var(--cream);
  isolation: isolate;
}

.feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.feature-tile:hover img {
  transform: scale(1.06);
}

.feature-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(27, 67, 50, 0.88));
}

.feature-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem;
}

.feature-tile h3 {
  margin-bottom: 0.35rem;
}

.feature-tile p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(251, 247, 240, 0.88);
}

.feature-tile a {
  color: var(--blush);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.65rem;
}

.cta-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .cta-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2.5rem;
  }
}

.cta-panel img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.pillars {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--coral);
}

.pillar h3 {
  color: var(--leaf-dark);
}

.quote-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 4px solid var(--leaf);
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--coral-deep);
}

.delivery-strip {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(120deg, rgba(45, 106, 79, 0.92), rgba(224, 122, 95, 0.85)),
    url('../images/shop-display.jpg') center/cover;
  color: var(--cream);
  border-radius: 18px;
}

.delivery-strip h2,
.delivery-strip p {
  color: var(--cream);
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(251, 247, 240, 0.25);
  font-weight: 600;
}

.locations {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .locations {
    grid-template-columns: 1fr 1fr;
  }
}

.location-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.location-card h3 {
  color: var(--leaf-dark);
  margin-bottom: 0.75rem;
}

.location-card dl {
  margin: 0;
}

.location-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-top: 0.9rem;
}

.location-card dd {
  margin: 0.2rem 0 0;
}

.insta-banner {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(224, 122, 95, 0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(45, 106, 79, 0.2), transparent 50%),
    var(--cream-deep);
}

.insta-banner .handle {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--leaf-dark);
  animation: softPulse 4s ease-in-out infinite;
  display: inline-block;
}

/* Product / bouquet list */
.bouquet-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .bouquet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bouquet-item {
  display: grid;
  gap: 1rem;
}

.bouquet-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

.occasion-list {
  display: grid;
  gap: 2.5rem;
}

.occasion-block {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 800px) {
  .occasion-block {
    grid-template-columns: 1fr 1.1fr;
  }
  .occasion-block:nth-child(even) {
    direction: rtl;
  }
  .occasion-block:nth-child(even) > * {
    direction: ltr;
  }
}

.occasion-block img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 14px;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(45, 106, 79, 0.12);
  border-left: 4px solid var(--leaf);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--leaf-dark);
  color: rgba(251, 247, 240, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--cream);
  font-size: 1.1rem;
}

.site-footer a {
  color: var(--blush);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 247, 240, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(27, 67, 50, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-panel {
  width: min(100%, 440px);
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cookie-modal-panel h3 {
  margin-top: 0;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.85rem;
  background: var(--white);
  border-radius: 10px;
}

.cookie-option input {
  margin-top: 0.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
