/* Oui Ménage — custom styles layered on top of Tailwind */

:root {
  --brand: #1B9DF2;
  --navy: #0A1A40;
  --accent: #FFD83D;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Sticky header scroll state (home hero overlay) ---------- */
#site-header.scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 10px 30px -15px rgba(10, 26, 64, 0.25);
}
#site-header.scrolled #brand-logo,
#site-header.scrolled #nav-links a,
#site-header.scrolled #menu-toggle { color: var(--navy); }
#site-header.scrolled #nav-links a:hover { color: var(--brand); }

/* ---------- Soapy wave dividers ---------- */
.wave-bottom,
.wave-top {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background-repeat: no-repeat;
  background-size: cover;
}
.wave-bottom {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40c120 30 280 40 480 20s360-50 600-40 280 40 360 50V80H0z'/%3E%3C/svg%3E");
}
.wave-top {
  top: -1px;
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230A1A40' d='M0 40c120 30 280 40 480 20s360-50 600-40 280 40 360 50V80H0z'/%3E%3C/svg%3E");
}

/* Hero bottom wave (blue -> white) */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ---------- Floating bubbles decoration ---------- */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.bubbles::before,
.bubbles::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
  animation: floatUp 14s linear infinite;
}
.bubbles::before { width: 120px; height: 120px; left: 8%;  top: 70%; }
.bubbles::after  { width: 70px;  height: 70px;  right: 12%; top: 80%; animation-duration: 18s; }

@keyframes floatUp {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles::before, .bubbles::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Testimonial / generic helpers ---------- */
.tab-active { background: var(--brand); color: #fff; }

/* Prose for blog bodies */
.prose-clean p { margin-bottom: 1.1rem; line-height: 1.8; color: #475569; }
.prose-clean h2 { font-weight: 700; font-size: 1.5rem; margin: 1.5rem 0 .75rem; color: var(--navy); }
