/* ============================================================
   WATERCOLOR.CSS — CSS-only watercolor garden theme
   Soft blobs, gradients, botanical accents, organic shapes
   ============================================================ */

/* ---------- Watercolor Blob Base ---------- */
.wc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ---------- Section Backgrounds ---------- */
.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Story section - soft green/pink */
.story-bg .wc-blob-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--green) 0%, rgba(187, 205, 105, 0) 70%);
  top: -10%;
  right: -15%;
  opacity: 0.2;
  filter: blur(80px);
}

.story-bg .wc-blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--pink) 0%, rgba(248, 177, 172, 0) 70%);
  bottom: -5%;
  left: -10%;
  opacity: 0.2;
  filter: blur(70px);
}

/* Venue section - warm gold/sage */
.venue-bg .wc-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--yellow) 0%, rgba(251, 237, 151, 0) 70%);
  top: -10%;
  left: -15%;
  opacity: 0.18;
  filter: blur(85px);
}

.venue-bg .wc-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green) 0%, rgba(187, 205, 105, 0) 70%);
  bottom: -10%;
  right: -10%;
  opacity: 0.22;
  filter: blur(80px);
}

/* FAQ section - lavender/sage */
.faq-bg .wc-blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(159, 187, 237, 0) 70%);
  top: -5%;
  right: -10%;
  opacity: 0.2;
  filter: blur(75px);
}

.faq-bg .wc-blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--green) 0%, rgba(187, 205, 105, 0) 70%);
  bottom: 0;
  left: -10%;
  opacity: 0.18;
  filter: blur(70px);
}

/* Registry section - pink/gold */
.registry-bg .wc-blob-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--pink) 0%, rgba(248, 177, 172, 0) 70%);
  top: -10%;
  left: 10%;
  opacity: 0.18;
  filter: blur(80px);
}

.registry-bg .wc-blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--yellow) 0%, rgba(251, 237, 151, 0) 70%);
  bottom: -5%;
  right: -5%;
  opacity: 0.2;
  filter: blur(70px);
}

/* RSVP section - sage/rose */
.rsvp-bg .wc-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--green) 0%, rgba(187, 205, 105, 0) 70%);
  top: -15%;
  right: -10%;
  opacity: 0.22;
  filter: blur(85px);
}

.rsvp-bg .wc-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink) 0%, rgba(248, 177, 172, 0) 70%);
  bottom: -10%;
  left: -15%;
  opacity: 0.2;
  filter: blur(80px);
}

.rsvp-bg .wc-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(159, 187, 237, 0) 70%);
  top: 40%;
  left: 60%;
  opacity: 0.15;
  filter: blur(65px);
}

/* ---------- Botanical Leaf Accents (CSS-only) ---------- */
.leaf-accent {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.leaf-accent::before,
.leaf-accent::after {
  content: '';
  position: absolute;
  border-radius: 50% 0 50% 0;
  opacity: 0.2;
}

/* Leaf variant 1 - small sage */
.leaf-1::before {
  width: 60px;
  height: 25px;
  background: linear-gradient(135deg, var(--green), #8fb15d);
  transform: rotate(-30deg);
}

.leaf-1::after {
  width: 50px;
  height: 20px;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  transform: rotate(-55deg);
  top: 8px;
  left: 5px;
}

/* Leaf variant 2 - larger, more transparent */
.leaf-2::before {
  width: 90px;
  height: 35px;
  background: linear-gradient(135deg, var(--green), #7da872);
  transform: rotate(20deg);
  opacity: 0.2;
}

.leaf-2::after {
  width: 70px;
  height: 28px;
  background: linear-gradient(135deg, var(--yellow), #8ab080);
  transform: rotate(45deg);
  top: 12px;
  left: 10px;
  opacity: 0.06;
}

/* Leaf variant 3 - dusty rose petal */
.leaf-3::before {
  width: 50px;
  height: 50px;
  border-radius: 50% 0 50% 0;
  background: radial-gradient(circle at 30% 30%, var(--pink), var(--blue));
  transform: rotate(15deg);
  opacity: 0.1;
}

/* Leaf positions per section */
.hero .leaf-accent.pos-1 { top: 15%; left: 5%; }
.hero .leaf-accent.pos-2 { top: 70%; right: 8%; transform: scaleX(-1); }
.hero .leaf-accent.pos-3 { bottom: 20%; left: 12%; }

/* ---------- Watercolor Divider Lines ---------- */
.wc-divider {
  width: 120px;
  height: 2px;
  margin: 0 auto 2rem;
  background: linear-gradient(90deg,
    transparent,
    rgba(251, 237, 151, 0.45) 20%,
    rgba(248, 177, 172, 0.5) 50%,
    rgba(187, 205, 105, 0.45) 80%,
    transparent
  );
  border-radius: 2px;
  position: relative;
}

.wc-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent,
    rgba(159, 187, 237, 0.2),
    transparent
  );
  filter: blur(3px);
  border-radius: 4px;
}

/* ---------- Decorative Ring (used around section titles) ---------- */
.wc-ring {
  display: inline-block;
  position: relative;
}

.wc-ring::before,
.wc-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 237, 151, 0.4));
}

.wc-ring::before {
  right: 105%;
}

.wc-ring::after {
  left: 105%;
  background: linear-gradient(90deg, rgba(196, 168, 130, 0.4), transparent);
}

/* ---------- Floating Particle Dots (subtle) ---------- */
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25%  { transform: translate(15px, -20px) scale(1.1); opacity: 0.5; }
  50%  { transform: translate(-10px, -35px) scale(0.9); opacity: 0.3; }
  75%  { transform: translate(20px, -15px) scale(1.05); opacity: 0.45; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

.floating-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: drift 8s ease-in-out infinite;
}

.floating-dot.rose { background: rgba(212, 160, 160, 0.4); }
.floating-dot.sage { background: rgba(168, 197, 160, 0.4); }
.floating-dot.gold { background: rgba(196, 168, 130, 0.4); }
.floating-dot.lavender { background: rgba(197, 184, 212, 0.4); }

/* ---------- Overall Page Texture Overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(168, 197, 160, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 160, 160, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(196, 168, 130, 0.03) 0%, transparent 50%);
}

/* ---------- Wildflower Accents ---------- */
.wildflower {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: blur(0.4px);
  transition: opacity 0.8s ease;
}

/* Size variants */
.wildflower.sm { width: 80px; height: 80px; }
.wildflower.md { width: 120px; height: 120px; }
.wildflower.lg { width: 160px; height: 160px; }

/* Opacity fine-tuning */
.wildflower.faint {  }
.wildflower.soft  {  }

/* Mirror/flip variants for variety */
.wildflower.flip-x { transform: scaleX(-1); }
.wildflower.flip-y { transform: scaleY(-1); }

/* Rotation variants */
.wildflower.rot-15  { transform: rotate(15deg); }
.wildflower.rot-30  { transform: rotate(30deg); }
.wildflower.rot-45  { transform: rotate(45deg); }
.wildflower.rot-n15 { transform: rotate(-15deg); }
.wildflower.rot-n30 { transform: rotate(-30deg); }
.wildflower.rot-n45 { transform: rotate(-45deg); }

/* Combined flip + rotation */
.wildflower.flip-x.rot-15  { transform: scaleX(-1) rotate(15deg); }
.wildflower.flip-x.rot-30  { transform: scaleX(-1) rotate(30deg); }
.wildflower.flip-x.rot-n15 { transform: scaleX(-1) rotate(-15deg); }
.wildflower.flip-x.rot-n30 { transform: scaleX(-1) rotate(-30deg); }

/* Responsive: scale down flowers on small screens */
@media (max-width: 768px) {
  .wildflower.sm { width: 60px; height: 60px; }
  .wildflower.md { width: 90px; height: 90px; }
  .wildflower.lg { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .wildflower.sm { width: 45px; height: 45px; }
  .wildflower.md { width: 70px; height: 70px; }
  .wildflower.lg { width: 90px; height: 90px; }
}
