/*
Theme Name: Flowers in Wonderland
Theme URI: https://flowersinwonderland.net
Description: Nocturne Garden — moonlit botanical wedding floristry. Bilingual, Apple-clean, editorial.
Version: 2.1.0
Text Domain: flowersinwonderland
*/

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM PROPERTIES — Nocturne Garden
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --font-display: 'Playfair Display', 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-display-italic: 'Playfair Display', 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, 'Helvetica Neue', 'SF Pro Display', system-ui, 'PingFang HK', 'Microsoft YaHei', sans-serif;

  --night: #0A1510;
  --night-soft: #132118;
  --parchment: #F2EFE8;
  --parchment-warm: #EBE6DC;
  --botanical: #3A8C5C;
  --botanical-deep: #2D6E48;
  --botanical-tint: rgba(58,140,92,0.08);
  --wild-rose: #D96B7E;
  --wild-rose-deep: #C2576B;
  --wild-rose-tint: rgba(217,107,126,0.07);
  --stone: #B8B3AC;
  --stone-light: #D9D5CF;
  --ink: #151312;

  --header-h: 72px;
  --max-width: 1200px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body); font-weight: 400;
  color: var(--ink); background: var(--parchment);
  line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--botanical); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.2; }

/* ═══════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS — Pill shape, botanical green accent
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 2rem; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; border-radius: 9999px; cursor: pointer;
  transition: all var(--transition); border: none;
}
.btn-primary {
  background: var(--botanical); color: #fff;
}
.btn-primary:hover { background: var(--botanical-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--botanical);
  border: 1px solid var(--botanical);
}
.btn-outline:hover { background: var(--botanical-tint); }

.btn-light {
  background: rgba(255,255,255,0.12); color: #fff;
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,0.2); }

.btn-dark {
  background: var(--ink); color: var(--parchment);
}
.btn-dark:hover { background: var(--night-soft); }

/* Section eyebrow */
.eyebrow {
  display: inline-block; font-size: 0.5rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--botanical);
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER — Glass, botanical accent
   ═══════════════════════════════════════════════════════════════════ */
.header-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); background: rgba(242,239,232,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(21,19,18,0.06);
}
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
}
.site-branding { display: flex; align-items: baseline; gap: 0.85rem; }
.site-branding .site-logo {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--night);
}
.site-branding .tagline {
  font-size: 0.44rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--botanical);
  padding-left: 0.85rem; border-left: 1px solid rgba(58,140,92,0.25);
}
.main-nav { display: flex; gap: 0.5rem; align-items: center; }
.main-nav a {
  padding: 0.4rem 1rem; font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.02em; color: var(--ink); border-radius: 9999px;
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--botanical); background: var(--botanical-tint); }
.menu-toggle { display: none; }
#main-content { padding-top: var(--header-h); }

/* ═══════════════════════════════════════════════════════════════════
   HERO — Split, dark botanical, editorial
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--night); overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(58,140,92,0.25), transparent);
}
.hero-grid {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 6rem;
  align-items: center; max-width: var(--max-width); margin: 0 auto;
  padding: 7rem 2.5rem;
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--botanical); margin-bottom: 2rem;
}
.hero-headline {
  color: var(--parchment); font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.04;
  letter-spacing: -0.03em; margin-bottom: 2rem;
}
.hero-headline em {
  font-style: italic; color: var(--wild-rose);
}
.hero-lead {
  font-size: 0.95rem; font-weight: 400; color: var(--stone);
  line-height: 1.75; max-width: 400px; margin-bottom: 2.5rem;
}
.hero-visual {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 4px; box-shadow: 0 4px 80px rgba(0,0,0,0.3);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════
   COLLECTIONS — Light section, editorial cards
   ═══════════════════════════════════════════════════════════════════ */
.section-dark { background: var(--night); color: var(--parchment); }
.section-light { background: var(--parchment); color: var(--ink); }
.section-warm { background: var(--parchment-warm); color: var(--ink); }

.collections { padding: 8rem 0; }
.collections-header { text-align: center; margin-bottom: 5rem; }
.collections-header h2 { color: var(--ink); margin-bottom: 0.6rem; }
.collections-header p { color: var(--stone); font-size: 0.9rem; max-width: 440px; margin: 0 auto; }

.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.collection-card {
  position: relative; background: #fff; overflow: hidden;
  cursor: pointer; transition: transform 0.4s ease;
}
.collection-card:hover { transform: translateY(-4px); }
.collection-card-image {
  aspect-ratio: 3/4; overflow: hidden; position: relative;
}
.collection-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease;
}
.collection-card:hover .collection-card-image img { transform: scale(1.04); }
.collection-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,21,16,0.3) 0%, transparent 40%);
  opacity: 0; transition: opacity 0.3s;
}
.collection-card:hover .collection-card-image::after { opacity: 1; }
.collection-card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--parchment); padding: 0.3rem 0.8rem;
  border-radius: 9999px; font-size: 0.5rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--botanical);
}
.collection-card-body { padding: 1.5rem; }
.collection-card-body h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.4rem;
}
.collection-card-body p {
  font-size: 0.76rem; color: var(--stone); line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   WHY — Dark section
   ═══════════════════════════════════════════════════════════════════ */
.why { padding: 8rem 0; }
.why-header { text-align: center; margin-bottom: 5rem; }
.why-header h2 { color: var(--parchment); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.why-card {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, border-color 0.3s;
}
.why-card:hover {
  background: rgba(58,140,92,0.06);
  border-color: rgba(58,140,92,0.2);
}
.why-card-icon { font-size: 2.2rem; margin-bottom: 1.5rem; display: block; }
.why-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  color: var(--parchment); margin-bottom: 0.7rem;
}
.why-card p {
  font-size: 0.78rem; color: var(--stone); line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT — Warm parchment split
   ═══════════════════════════════════════════════════════════════════ */
.about { padding: 8rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-visual {
  aspect-ratio: 3/4; overflow: hidden;
  box-shadow: 0 2px 40px rgba(10,21,16,0.1);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-content { max-width: 420px; }
.about-content h2 { color: var(--ink); margin-bottom: 1.5rem; }
.about-content p {
  color: var(--stone); font-size: 0.9rem; line-height: 1.85; margin-bottom: 1.25rem;
}
.about-content p:last-of-type { margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════════════
   CTA — Dark section, botanical accent
   ═══════════════════════════════════════════════════════════════════ */
.cta-banner { padding: 7rem 0; text-align: center; }
.cta-banner h2 { color: var(--parchment); margin-bottom: 1rem; }
.cta-banner p {
  color: var(--stone); font-size: 0.9rem; max-width: 440px;
  margin: 0 auto 2.5rem;
}
.cta-banner .btn-primary { background: var(--botanical); }
.cta-banner .btn-primary:hover { background: var(--botanical-deep); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--night); color: var(--stone);
  padding: 6rem 0 2rem; font-size: 0.78rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem;
}
.footer-col h4, .footer-heading {
  color: var(--parchment); font-family: var(--font-body); font-size: 0.46rem;
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.25); margin-bottom: 0.6rem;
  font-size: 0.74rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--botanical); }
.footer-col p { font-size: 0.74rem; line-height: 1.7; color: rgba(255,255,255,0.25); }

.footer-network {
  margin-bottom: 3rem; border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1.75rem 0;
}
.footer-network h4 {
  color: rgba(255,255,255,0.3); font-family: var(--font-body);
  font-size: 0.44rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 0.9rem;
}
.network-links { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
.network-links a {
  color: rgba(255,255,255,0.15); font-size: 0.58rem; transition: color 0.2s;
}
.network-links a:hover { color: var(--botanical); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem;
  text-align: center; font-size: 0.64rem; color: rgba(255,255,255,0.18);
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--night); padding: calc(var(--header-h) + 5rem) 0 4rem;
  text-align: center; position: relative;
}
.page-hero h1 {
  color: var(--parchment); font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 400; letter-spacing: -0.03em;
}
.page-content { padding: 6rem 0; }
.page-content h2 { margin-bottom: 1rem; margin-top: 3rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--stone); margin-bottom: 1.25rem; line-height: 1.85; }

/* ═══════════════════════════════════════════════════════════════════
   WOOCOMMERCE
   ═══════════════════════════════════════════════════════════════════ */
.woocommerce .content-area { width: 100% !important; }
.woocommerce #sidebar, .woocommerce .widget-area { display: none !important; }
.woocommerce-page .site-main { max-width: var(--max-width); margin: 0 auto; padding: 2rem 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .hero-visual { aspect-ratio: 4/3; max-width: 500px; margin: 0 auto; order: -1; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-lead { max-width: 100%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .site-header { padding: 0 1.25rem; }
  .site-branding .tagline { display: none; }
  .menu-toggle {
    display: block; background: none; border: none; cursor: pointer;
    padding: 0.5rem; color: var(--botanical); font-size: 1.3rem;
  }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; inset: 0; background: rgba(10,21,16,0.97);
    backdrop-filter: blur(20px); padding: 6rem 2rem; z-index: 1001;
    align-items: flex-start;
  }
  .main-nav.open a { font-size: 1.1rem; color: rgba(255,255,255,0.7); }
  .main-nav.open a:hover { color: var(--botanical); background: transparent; }

  .hero { min-height: auto; }
  .hero-grid { padding: 4rem 1.25rem; }
  .hero-headline { font-size: clamp(2.2rem, 7vw, 3rem); }

  .collections, .why, .about, .cta-banner { padding: 5rem 0; }
  .collections-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { aspect-ratio: 4/3; }
  .about-content { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST STATS BAR
   ═══════════════════════════════════════════════════════════════════ */
.trust-bar {
  padding: 3rem 0; background: var(--parchment);
  border-bottom: 1px solid rgba(21,19,18,0.04);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.trust-stat {
  padding: 1rem;
}
.trust-stat-number {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 400;
  color: var(--botanical); line-height: 1.1; margin-bottom: 0.4rem;
}
.trust-stat-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--stone); text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════════════════════════════ */
.process { padding: 8rem 0; }
.process-header { text-align: center; margin-bottom: 5rem; }
.process-header h2 { color: var(--ink); }
.process-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.process-timeline::before {
  content: ''; position: absolute; top: 2.5rem; left: 12.5%; right: 12.5%;
  height: 1px; background: rgba(58,140,92,0.2); z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
}
.process-step-number {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--botanical); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  margin: 0 auto 1.5rem;
}
.process-step h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.76rem; color: var(--stone); line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════ */
.testimonials { padding: 8rem 0; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header h2 { color: var(--parchment); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem; transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(58,140,92,0.2); }
.testimonial-stars { color: var(--botanical); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-text {
  font-size: 0.85rem; color: var(--stone); line-height: 1.8;
  font-style: italic; margin-bottom: 1.5rem;
}
.testimonial-author {
  font-size: 0.72rem; font-weight: 500; color: var(--parchment);
  letter-spacing: 0.04em;
}
.testimonial-author span { color: var(--stone); font-weight: 400; font-style: normal; }

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq-section { padding: 8rem 0; }
.faq-section-header { text-align: center; margin-bottom: 4rem; }
.faq-section-header h2 { color: var(--ink); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 960px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(21,19,18,0.06); padding: 1.5rem 0;
}
.faq-item h3 {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.6rem; cursor: pointer;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.faq-item h3::before { content: '+'; color: var(--botanical); font-weight: 400; font-size: 1rem; flex-shrink: 0; }
.faq-item p {
  font-size: 0.78rem; color: var(--stone); line-height: 1.7; padding-left: 1.6rem;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE AREA / LOCAL SEO
   ═══════════════════════════════════════════════════════════════════ */
.service-area { padding: 6rem 0; }
.service-area-header { text-align: center; margin-bottom: 3rem; }
.service-area-header h2 { color: var(--parchment); }
.service-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  max-width: 800px; margin: 0 auto;
}
.service-tag {
  padding: 0.5rem 1.2rem; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px; font-size: 0.7rem; color: var(--stone);
  transition: all 0.3s;
}
.service-tag:hover { border-color: var(--botanical); color: var(--botanical); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE UPDATES
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-timeline::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .process, .testimonials, .faq-section { padding: 5rem 0; }
}
