/* ============================================================
   PRIVE HERO — 3D MOUSE PARALLAX
   ============================================================ */

:root {
  --gold:       #C9A96E;
  --gold-light: #E3C38F;
  --dark:       #0b0f1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* body rule removed — only needed for standalone demo */

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: none; /* hide default cursor inside hero */
}

/* ============================================================
   LAYER SYSTEM
   Each layer has a data-depth that JS reads for parallax speed
   depth 0 = stationary  |  depth 1 = moves the most
   ============================================================ */
.parallax-layer {
  position: absolute;
  inset: -8%; /* bleed so edges never show on mouse move */
  z-index: 25;
  will-change: transform;
  transition: transform 0.08s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================================
   LAYER 0 — WATER BACKGROUND
   ============================================================ */
.layer-water {
  position: absolute;
  inset: 0;
  background-image: url('../images/water.jpeg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Water shimmer ripples */
.layer-water::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      transparent 60px,
      rgba(255,255,255,0.015) 61px,
      rgba(255,255,255,0.015) 62px
    ),
    repeating-linear-gradient(
      4deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.012) 81px,
      rgba(255,255,255,0.012) 82px
    );
  animation: ripple 12s linear infinite;
}

.layer-water::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(201,169,110,0.08) 0%, transparent 65%);
}

@keyframes ripple {
  0%   { transform: translateX(0); }
  100% { transform: translateX(62px); }
}

/* ============================================================
   SUNLIGHT CAUSTICS — subtle animated light patches on water
   ============================================================ */
.caustics {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.caustic-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  animation: drift linear infinite;
  opacity: 0;
}

.caustic-blob:nth-child(1) { width: 300px; height: 180px; background: rgba(120,190,255,0.07); top: 20%; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.caustic-blob:nth-child(2) { width: 200px; height: 120px; background: rgba(180,230,255,0.05); top: 55%; left: 40%; animation-duration: 22s; animation-delay: -7s; }
.caustic-blob:nth-child(3) { width: 250px; height: 150px; background: rgba(201,169,110,0.04); top: 30%; left: 65%; animation-duration: 16s; animation-delay: -3s; }
.caustic-blob:nth-child(4) { width: 180px; height: 100px; background: rgba(100,180,255,0.06); top: 70%; left: 75%; animation-duration: 20s; animation-delay: -11s; }

@keyframes drift {
  0%   { opacity: 0;    transform: translate(0, 0) scale(1); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0;    transform: translate(80px, -40px) scale(1.2); }
}

/* ============================================================
   YACHT CUTOUT LAYERS
   Each yacht is a separate parallax element with a unique depth
   ============================================================ */
.yacht-cutout {
  position: absolute;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 25;
}

/* Individual yacht positions & sizes — all same width, hugging edges */

/* YACHT A — bottom left */
.yacht-a {
  width: 342px;
  bottom: 22%;
  left: -10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: yachtFloat 6s ease-in-out infinite;
}

/* YACHT B — top right */
.yacht-b {
  width: 315px;
  top: 22%;
  right: -10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: yachtFloat 7s ease-in-out 1s infinite;
}

/* YACHT C — top left */
.yacht-c {
  width: 252px;
  top: 22%;
  left: -10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: yachtFloat 8s ease-in-out 0.5s infinite;
}

/* YACHT D — bottom right */
.yacht-d {
  width: 300px;
  bottom: 22%;
  right: -10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: yachtFloat 6.5s ease-in-out 1.5s infinite;
}

/* Placeholder yacht shapes (SVG bird's-eye view silhouettes) */
/* Replace img src with your actual yacht cutout PNGs */

/* ============================================================
   WAKE TRAILS — subtle animated water wakes behind yachts
   ============================================================ */
.wake {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
  animation: wakeFade 4s ease-in-out infinite alternate;
}

@keyframes wakeFade {
  0%   { opacity: 0.2; }
  100% { opacity: 0.45; }
}

/* ============================================================
   OVERLAY — gradient vignette to anchor content
   ============================================================ */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(11,15,26,0.75) 20%, transparent 100%);
  pointer-events: none;
  z-index: 20;
}

/* ============================================================
   CONTENT — floats above everything
   (scoped under .hero to avoid conflicts with prive.css)
   ============================================================ */
.hero .hero-content {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 30;
  text-align: center;
  padding: 0 30px;
  pointer-events: none;
}

/* Glass content card */
.hero .hero-glass-card {
  margin-top: 20px;
  text-align: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  border-radius: 0;
  padding: 60px 72px;
  max-width: 820px;
  pointer-events: all;
}

@keyframes yachtFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.hero .hero-eyebrow {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  display: block;
}

.hero .hero-headline {
  font-family: 'Cormorant Upright', serif;
  font-size: 76px;
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero .hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero .hero-sub {
  font-family: 'Cormorant Upright', serif;
  font-size: 20px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 42px;
  font-style: italic;
  font-weight: 300;
}

.hero .hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 13px 30px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: #25D366;
  border: none;
  padding: 13px 28px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.btn-wa:hover { background: #1ebe59; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.23,1,0.32,1), width 0.3s, height 0.3s, opacity 0.3s;
}

/* ============================================================
   DEPTH LABEL (dev helper — remove in prod)
   ============================================================ */
.depth-pill {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold-light);
  font-family: 'Inconsolata', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 0;
  white-space: nowrap;
  pointer-events: none;
}

/* ============================================================
   SCROLL HINT
   (scoped under .hero to avoid conflicts with prive.css)
   ============================================================ */
.hero .scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 31;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inconsolata', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero .scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Scroll hint removed */
.hero .scroll-hint { display: none; }

/* ============================================================
   LARGE SCREENS (Full HD and above)
   ============================================================ */
@media (min-width: 1920px) {
  .yacht-a { width: 467px; }
  .yacht-b { width: 431px; }
  .yacht-c { width: 344px; }
  .yacht-d { width: 410px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Fix: background-attachment: fixed doesn't render on iOS Safari */
  .layer-water { background-attachment: scroll; }

  .hero .hero-headline { font-size: 48px; }
  .hero .hero-glass-card { padding: 40px 28px; margin-bottom: 80px; }

  /* Show only Up2 (yacht-c), hide all others */
  .yacht-a, .yacht-b, .yacht-d { display: none; }

  .yacht-c {
    width: 101vw;
    bottom: -17%; /* only ~20% peeks above hero bottom */
    left: 50%;
    top: auto;
    right: auto;
    transform: translateX(-50%) rotate(-90deg);
    animation: none;
  }
}