/* watercolor.css — ضع هذا بعد style.css */
:root{
  /* لوحة ألوان مائية هادئة — عدّل القيم حسب ذوقك */
  --wc-bg: #fbfdfc;
  --wc-paper-rgb: 249,250,251;
  --wc-primary-1:  #7dd3fc; /* سماوي فاتح */
  --wc-primary-2:  #a7f3d0; /* أخضر ناعم */
  --wc-accent-1:   #ffb6c1; /* وردي فاتح */
  --wc-accent-2:   #c7b3ff; /* بنفسجي فاتح */
  --wc-muted:      #6b7280;
  --wc-card-bg: rgba(255,255,255,0.68);
  --wc-border: rgba(0,0,0,0.06);
  --wc-glass-blur: 10px;
  --wc-paper-texture: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\
      <filter id='n'><feTurbulence baseFrequency='0.8' numOctaves='1' stitchTiles='stitch'/></filter>\
      <rect width='100%' height='100%' fill='white' filter='url(%23n)' opacity='0.02'/>\
    </svg>");
}

/* Base page background with subtle paper texture */
body {
  background-color: var(--wc-bg);
  background-image: var(--wc-paper-texture);
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0f172a;
}

/* Watercolor blobs (Hero + sections) */
.wc-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  transform: translateZ(0);
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Example sizes you can add in HTML: .wc-blob.blob-lg, blob-md, blob-sm */
.wc-blob.blob-lg { width: 40rem; height: 30rem; }
.wc-blob.blob-md { width: 24rem; height: 18rem; }
.wc-blob.blob-sm { width: 12rem; height: 10rem; }

/* Preset watercolor colors (use inline styles or classes) */
.wc-c1 { background: radial-gradient(circle at 30% 30%, rgba(125,211,252,0.9), rgba(125,211,252,0.35) 40%, transparent 70%); }
.wc-c2 { background: radial-gradient(circle at 60% 40%, rgba(167,243,208,0.95), rgba(167,243,208,0.35) 40%, transparent 70%); }
.wc-c3 { background: radial-gradient(circle at 40% 60%, rgba(255,182,193,0.95), rgba(255,182,193,0.35) 40%, transparent 70%); }
.wc-c4 { background: radial-gradient(circle at 60% 60%, rgba(199,179,255,0.9), rgba(199,179,255,0.35) 40%, transparent 70%); }

/* Hero tweaks: place blobs behind hero content */
.hero-gradient-bg { background: transparent !important; z-index: 0; }
.hero-section-inner { position: relative; z-index: 2; }

/* Glass cards / panels */
.wc-card {
  background: var(--wc-card-bg);
  border-radius: 1rem;
  border: 1px solid var(--wc-border);
  backdrop-filter: blur(var(--wc-glass-blur));
  -webkit-backdrop-filter: blur(var(--wc-glass-blur));
  box-shadow: 0 8px 30px rgba(2,6,23,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(2,6,23,0.08);
}

/* Watercolor accent (buttons / highlights) */
.watercolor-accent {
  background: linear-gradient(120deg, var(--wc-primary-1), var(--wc-primary-2));
  color: #08203a;
  border: none;
  box-shadow: 0 6px 18px rgba(14,165,233,0.14);
}
.btn.watercolor-accent-outline {
  background: transparent;
  border: 1px solid rgba(8,32,58,0.06);
  color: #08203a;
}

/* Headings with subtle watercolor underline */
.hero-title {
  position: relative;
  z-index: 3;
}
.hero-title:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.6rem;
  width: 60%;
  height: 1.25rem;
  background: linear-gradient(90deg, rgba(125,211,252,0.55), rgba(167,243,208,0.45), rgba(199,179,255,0.45));
  filter: blur(10px);
  z-index: -1;
  border-radius: 0.8rem;
  opacity: 0.9;
}

/* Card images — circular photo with watercolor halo */
.wc-photo {
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.06);
  position: relative;
}
.wc-photo:before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(167,243,208,0.35), transparent 40%);
  z-index: -1;
  filter: blur(10px);
}

/* Muted text */
.text-wc-muted { color: var(--wc-muted) !important; }

/* Floating whatsapp button adjusted for watercolor */
.floating-whatsapp {
  background: linear-gradient(180deg, rgba(37,211,102,0.95), rgba(18,140,126,0.95));
  box-shadow: 0 8px 24px rgba(18,140,126,0.16);
  transition: width 0.35s ease, background 0.35s ease;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .wc-blob.blob-lg { display: none; }
  .hero-title:after { width: 80%; height: .9rem; bottom: -0.45rem; filter: blur(8px); }
}

/* Utilities to control blob opacity on scroll (works with your JS observer) */
.wc-blob.fade-out { opacity: 0; transform: scale(0.98) translateY(10px); transition: opacity .6s, transform .6s; }
