/* ═══════════════════════════════════════════════════════════
   O2 Water Tubs — styles.css
   Light, bright palette inspired by Oxylon Wellness.
   Keeping Jan's logo navy/cyan but flipping backgrounds to
   white & soft aqua so the whole site feels airy & premium.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand colours */
  --navy:        #0b1a2e;        /* deep navy — logo, headings, footer */
  --navy-mid:    #1a3560;        /* nav text, sub-headings */
  --teal:        #0097a7;        /* primary action teal */
  --teal-light:  #00c8e0;        /* cyan accent / highlights */
  --teal-dim:    rgba(0,151,167,0.10);
  --teal-glow:   rgba(0,200,224,0.18);

  /* Backgrounds — light / bright */
  --bg-white:    #ffffff;
  --bg-soft:     #f0f9fb;        /* barely-there aqua tint (like Oxylon) */
  --bg-light:    #e6f5f8;        /* slightly deeper aqua for alternating sections */
  --bg-dark:     #0b1a2e;        /* footer / dark CTA strip */

  /* Text */
  --text-dark:   #1a2a3a;        /* body copy on light bg */
  --text-mid:    #3d5a6a;        /* secondary body copy */
  --text-muted:  #6b8a99;        /* captions, meta */
  --text-white:  #ffffff;
  --text-white70: rgba(255,255,255,0.72);

  /* Utility */
  --gold:        #c9a84c;
  --card-bg:     #ffffff;
  --card-border: rgba(0,151,167,0.15);
  --card-shadow: 0 4px 24px rgba(0,100,130,0.09);
  --radius:      8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.68;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 5%;
  background: var(--bg-white);
  border-bottom: 2px solid rgba(0,151,167,0.15);
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; }
.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.03em;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.btn-book {
  background: var(--teal) !important;
  color: var(--text-white) !important;
  padding: 9px 22px; border-radius: 30px;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0,151,167,0.3);
  transition: box-shadow 0.2s, transform 0.15s !important;
}
.btn-book:hover {
  background: var(--navy) !important;
  box-shadow: 0 6px 22px rgba(0,100,130,0.35) !important;
  transform: translateY(-1px);
  color: var(--text-white) !important;
}

/* ══════════════════════════════════════════════════════
   HERO — Video background + animated logo entrance
   ══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: 82px;
  /* Fallback gradient shown while video loads or if no video file */
  background: linear-gradient(160deg,
    #003d4f 0%, #005f73 30%, #0097a7 62%, #48cae4 85%, #90e0ef 100%);
}

/* ── VIDEO LAYER ── */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

/* ── OVERLAY ── */
/* Graduated: more transparent top-centre, denser bottom — keeps text legible */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0,60,80,0.45)  0%,
      rgba(0,40,60,0.50) 50%,
      rgba(0,20,40,0.72) 100%
    );
}

/* ── BUBBLES ── */
.bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.water-base {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, rgba(255,255,255,0.18) 0%, transparent 100%);
  pointer-events: none;
}
.water-shimmer {
  position: absolute; bottom: 0; left: -50%; width: 200%; height: 80px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.22) 0%, transparent 70%);
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer {
  0%   { transform: translateX(0) scaleX(1); }
  100% { transform: translateX(8%) scaleX(1.04); }
}
.bubble { position: absolute; border-radius: 50%; animation: rise linear infinite; }
.bubble.sm {
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.82), rgba(255,255,255,0.12));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 0 4px rgba(255,255,255,0.4), 0 0 6px rgba(255,255,255,0.2);
}
.bubble.md {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.68), rgba(255,255,255,0.08));
  border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.3), 0 0 10px rgba(255,255,255,0.18);
}
.bubble.lg {
  background: radial-gradient(circle at 28% 28%, rgba(255,255,255,0.48), rgba(255,255,255,0.05));
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 0 14px rgba(255,255,255,0.2), 0 0 20px rgba(255,255,255,0.1);
}
.bubble::after {
  content: '';
  position: absolute; top: 18%; left: 22%;
  width: 28%; height: 22%; border-radius: 50%;
  background: rgba(255,255,255,0.65);
  filter: blur(1px);
}
@keyframes rise {
  0%   { transform: translateY(100vh) translateX(0)     scale(0.7);  opacity: 0; }
  5%   { opacity: 1; }
  40%  { transform: translateY(55vh)  translateX(12px)  scale(1); }
  70%  { transform: translateY(25vh)  translateX(-10px) scale(1.05); }
  92%  { opacity: 0.7; }
  100% { transform: translateY(-15vh) translateX(6px)   scale(1.15); opacity: 0; }
}
.bubble.drift-l { animation-name: rise-l; }
.bubble.drift-r { animation-name: rise-r; }
@keyframes rise-l {
  0%   { transform: translateY(100vh) translateX(0)     scale(0.7);   opacity: 0; }
  5%   { opacity: 1; }
  35%  { transform: translateY(60vh)  translateX(-18px) scale(1); }
  70%  { transform: translateY(28vh)  translateX(8px)   scale(1.04); }
  92%  { opacity: 0.6; }
  100% { transform: translateY(-15vh) translateX(-12px) scale(1.1);   opacity: 0; }
}
@keyframes rise-r {
  0%   { transform: translateY(100vh) translateX(0)    scale(0.7);   opacity: 0; }
  5%   { opacity: 1; }
  35%  { transform: translateY(60vh)  translateX(20px)  scale(1); }
  70%  { transform: translateY(28vh)  translateX(-6px)  scale(1.06); }
  92%  { opacity: 0.6; }
  100% { transform: translateY(-15vh) translateX(14px)  scale(1.12);  opacity: 0; }
}

/* ── HERO CONTENT ── */
.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 60px 20px 80px;
  max-width: 860px;
}

/* ── ANIMATED LOGO (the "O2" moment) ── */
.hero-logo-wrap {
  margin-bottom: 28px;
}
.hero-logo-anim {
  height: 110px; width: auto;
  /* entrance: drop in from above, scale up, fade in */
  animation: logoEntrance 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  /* continuous gentle float after entrance */
  animation-fill-mode: forwards;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35))
          drop-shadow(0 0 40px rgba(0,200,224,0.25));
}
@keyframes logoEntrance {
  0%   { opacity: 0; transform: translateY(-40px) scale(0.8) rotate(-4deg); }
  60%  { opacity: 1; transform: translateY(6px)   scale(1.04) rotate(1deg); }
  80%  { transform: translateY(-3px) scale(0.99) rotate(0deg); }
  100% { opacity: 1; transform: translateY(0)    scale(1)    rotate(0deg); }
}
/* After entrance, keep it gently floating */
.hero-logo-anim.loaded {
  animation: logoEntrance 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             logoFloat 4s ease-in-out 1.4s infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

/* Eyebrow — slides up after logo */
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 16px;
  animation: slideUp 0.8s ease-out 0.6s both;
}

/* H1 */
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 300; line-height: 1.06;
  color: var(--text-white); margin-bottom: 10px;
  animation: slideUp 0.9s ease-out 0.85s both;
}
.hero h1 em {
  font-style: italic;
  color: #a8e6f0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* Subheading */
.hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.82);
  margin: 18px auto 36px; max-width: 520px; font-weight: 300;
  animation: slideUp 0.9s ease-out 1.05s both;
}

/* CTAs */
.hero-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: slideUp 0.9s ease-out 1.2s both;
}
.cta-primary {
  background: var(--gold); color: #1a1a1a;
  padding: 15px 38px; border-radius: 40px;
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.5);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.65); }
.cta-secondary {
  border: 2px solid rgba(255,255,255,0.75); color: var(--text-white);
  padding: 13px 30px; border-radius: 40px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.1);
}
.cta-secondary:hover { background: rgba(255,255,255,0.22); border-color: white; }

/* Meta info strip — like Oxylon's address line */
.hero-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  margin-top: 36px; font-size: 0.82rem;
  color: rgba(255,255,255,0.7); font-weight: 400;
  animation: slideUp 0.9s ease-out 1.4s both;
}
.hero-meta a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.hero-meta a:hover { color: white; }
.hero-meta-divider { color: rgba(255,255,255,0.35); font-size: 1rem; }

/* ── SHARED ENTRANCE KEYFRAME ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SHARED SECTION ELEMENTS ── */
section { padding: 84px 5%; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 10px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400; color: var(--navy); line-height: 1.12; margin-bottom: 16px;
}
.divider {
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(0,151,167,0.1));
  margin: 16px 0 30px; border-radius: 2px;
}
.lead { font-size: 1.02rem; color: var(--text-mid); max-width: 580px; }

/* ── ABOUT ── */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; max-width: 1100px; margin: 0 auto;
}
.about-img-stack { display: flex; flex-direction: column; gap: 16px; }
.about-img-main {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,80,110,0.18);
  border: 1px solid var(--card-border); display: block;
}
.about-img-caption {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-white); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--card-shadow);
}
.about-img-portrait {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 2px solid var(--teal-light);
  box-shadow: 0 0 12px rgba(0,200,224,0.25); flex-shrink: 0;
}
.about-img-caption span { font-size: 0.82rem; color: var(--text-muted); font-style: italic; line-height: 1.4; }
.about-text p { color: var(--text-mid); margin-bottom: 14px; font-size: 0.97rem; }
.about-text strong { color: var(--teal); }
.powered { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.powered span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.powered img { height: 20px; opacity: 0.7; }

/* ── SERVICES ── */
.services { background: var(--bg-white); }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,120,150,0.18), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px);
  border-color: rgba(0,151,167,0.35);
}
.service-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-card-body { padding: 24px 24px 28px; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 10px;
}
.service-card p { font-size: 0.92rem; color: var(--text-mid); }
.service-card a {
  display: inline-block; margin-top: 16px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); text-decoration: none;
  border-bottom: 1.5px solid rgba(0,151,167,0.3); padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.service-card a:hover { border-color: var(--teal); color: var(--navy); }

/* ── BENEFITS ── */
.benefits {
  background: linear-gradient(160deg, var(--navy) 0%, #0d3a52 100%);
}
.benefits .section-label { color: var(--teal-light); }
.benefits h2 { color: var(--text-white); }
.benefits .divider { background: linear-gradient(90deg, var(--teal-light), transparent); }
.benefits .lead { color: var(--text-white70); }
.benefits-inner { max-width: 1100px; margin: 0 auto; }
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 48px; }
.benefit-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px 24px;
  transition: background 0.2s, border-color 0.2s;
}
.benefit-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,200,224,0.35); }
.benefit-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300; color: var(--teal-light);
  opacity: 0.5; line-height: 1; margin-bottom: 10px;
}
.benefit-item h4 { font-size: 0.97rem; font-weight: 600; margin-bottom: 8px; color: var(--text-white); }
.benefit-item p { font-size: 0.88rem; color: var(--text-white70); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg-light); }
.testimonials-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.testimonials h2 { color: var(--navy); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--bg-white); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 22px; text-align: left;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.testi-card:hover {
  border-color: rgba(0,151,167,0.3);
  box-shadow: 0 10px 32px rgba(0,120,150,0.13);
  transform: translateY(-3px);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 0.9rem; color: var(--text-mid); font-style: italic; line-height: 1.7; }
.testi-card cite { display: block; margin-top: 16px; font-size: 0.78rem; font-weight: 700; color: var(--teal); font-style: normal; }

/* ── PRICING ── */
.pricing { background: var(--bg-soft); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing h2, .pricing .section-label + h2 { color: var(--navy); }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; align-items: start; }
.plan {
  background: var(--bg-white); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px 22px; text-align: center;
  position: relative; box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.plan:hover {
  box-shadow: 0 12px 36px rgba(0,120,150,0.14);
  border-color: rgba(0,151,167,0.35);
  transform: translateY(-4px);
}
.plan.featured {
  background: linear-gradient(145deg, var(--teal), #006f84);
  border-color: var(--teal); color: white;
  box-shadow: 0 12px 40px rgba(0,151,167,0.35);
  transform: translateY(-6px);
}
.plan.featured:hover { transform: translateY(-10px); }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1a1a;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.plan h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 10px;
}
.plan.featured h3 { color: white; }
.plan-price { font-size: 2rem; font-weight: 300; color: var(--teal); margin: 8px 0; }
.plan.featured .plan-price { color: #b2eaf2; }
.plan-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.plan.featured .plan-desc { color: rgba(255,255,255,0.72); }
.plan-perks { list-style: none; font-size: 0.83rem; color: var(--text-mid); text-align: left; }
.plan.featured .plan-perks { color: rgba(255,255,255,0.85); }
.plan-perks li { padding: 5px 0 5px 20px; position: relative; }
.plan-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan.featured .plan-perks li::before { color: #b2eaf2; }

/* ── FAQ ── */
.faq { background: var(--bg-white); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq h2 { color: var(--navy); }
details { border-bottom: 1px solid rgba(0,151,167,0.15); padding: 18px 0; }
summary {
  cursor: pointer; font-weight: 600; font-size: 0.96rem;
  color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--teal); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--teal); }
details p { padding-top: 12px; font-size: 0.91rem; color: var(--text-mid); }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3a52 100%);
  padding: 72px 5%; text-align: center;
}
.contact-strip h2 { color: var(--text-white); }
.contact-grid { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; margin-top: 40px; }
.contact-item .label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 10px; font-weight: 600;
}
.contact-item p { font-size: 0.95rem; color: var(--text-white70); }
.contact-item a { color: var(--teal-light); text-decoration: none; }
.cta-gold {
  display: inline-block; margin-top: 44px;
  background: var(--gold); color: #1a1a1a;
  padding: 15px 44px; border-radius: 40px; text-decoration: none;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.09em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.4);
}
.cta-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.6); }

/* ── FOOTER ── */
footer {
  background: #050f1a; color: rgba(255,255,255,0.45);
  padding: 26px 5%; text-align: center; font-size: 0.8rem;
}
footer a { color: var(--teal-light); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid,
  .services-grid,
  .benefits-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .testi-grid   { grid-template-columns: 1fr 1fr; }
  .nav-links    { display: none; }
  .plan.featured { transform: none; }
}
@media (max-width: 600px) {
  section { padding: 56px 6%; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 28px; }
}
