

/* Scroll-reveal animation (vanilla JS port of the React <Reveal> wrapper) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@layer base {

  :root {
    /* Brand core — Turquoise only, no golden tones */
    --color-teal: #0e8f83;
    --color-teal-deep: #0a6b62;
    --color-teal-light: #e6f7f5;
    --color-teal-soft: #b8ded9;
    --color-teal-border: rgba(14, 143, 131, 0.22);

    /* Surface & text (light theme) */
    --color-surface: #ffffff;
    --color-surface-alt: #f7fdfc;
    --color-surface-card: #ffffff;
    --color-ink: #0a6b62;
    --color-ink-muted: #0a6b62;
    --color-ink-soft: #0e8f83;

    /* Legacy aliases kept for components not yet migrated */
    --color-noir: #ffffff;
    --color-noir-card: #ffffff;
    --color-noir-border: rgba(14, 143, 131, 0.18);
  }

  body {
    background-color: #ffffff;
    color: #0a6b62;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
  }

  h1, h2, h3, .font-serif-luxury {
    font-family: 'Cormorant Garamond', Georgia, serif;
  }

  /* Accessibility focus ring */
  *:focus-visible {
    outline: 2px solid #0e8f83;
    outline-offset: 3px;
    border-radius: 2px;
  }
}

/* Respect reduced-motion preference across all custom animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .luxury-cursor-glow {
    display: none !important;
  }
}

/* Custom Luxury Animations & Styles */
@keyframes tealShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slideDown {
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.text-teal-gradient {
  background: linear-gradient(135deg, #e6f7f5 0%, #0e8f83 50%, #0a6b62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-rose-gradient {
  background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 50%, #c2185b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-teal-shimmer {
  background: linear-gradient(90deg, #0e8f83 0%, #b8ded9 50%, #0e8f83 100%);
  background-size: 200% 100%;
  animation: tealShimmer 4s infinite linear;
}

.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 143, 131, 0.18);
  box-shadow: 0 10px 30px -15px rgba(16, 32, 30, 0.18);
}

.glass-card-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 143, 131, 0.55);
  box-shadow: 0 20px 40px -15px rgba(14, 143, 131, 0.22);
}

/* Subtle image vignette overlay */
.image-vignette {
  position: relative;
}
.image-vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 19, 0.75) 0%, rgba(10, 20, 19, 0.15) 60%, transparent 100%);
  pointer-events: none;
}

/* Section texture backgrounds */
.bg-noir-deep {
  background-color: #f7fdfc;
}

.bg-noir-espresso {
  background-color: #ffffff;
}

.bg-noir-charcoal {
  background-color: #f0faf9;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f0faf9;
}

::-webkit-scrollbar-thumb {
  background: #b8ded9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0e8f83;
}

/* Hides the scrollbar on horizontal snap-scroll carousels (e.g. Google reviews)
   while keeping native touch/trackpad scrolling fully functional. */
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Consistent 8px-based section rhythm */
.section-y {
  padding-top: clamp(4rem, 6vw, 6rem); /* 64px - 96px, 8px increments */
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

/* Expensive-feeling button micro-interaction: soft glow lift + ripple-ready */
.btn-luxury {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.btn-luxury:hover {
  transform: translateY(-2px);
}
.btn-luxury:active {
  transform: translateY(0) scale(0.98);
}
.btn-luxury::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.btn-luxury:active::after {
  opacity: 1;
  transform: scale(1.4);
  transition: opacity 0s, transform 0s;
}

/* Custom cursor glow effect on desktop */
@media (min-width: 1024px) {
  .luxury-cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 143, 131, 0.10) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
  }
}
