/* ============================================
   WHOLENESS PSILO — Main Stylesheet
   Medical Center for Psychedelic Therapy
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-header: #1a3a2a;
  --color-hero-overlay: rgba(10, 30, 18, 0.45);
  --color-white: #f8f8f2;
  --color-off-white: #e8e4dc;
  --color-cream: #d4cfc4;
  --color-accent: #7ebf8e;
  --color-accent-hover: #5ea870;
  --color-dark: #0d1f14;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --header-height: 100px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark);
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.site-header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-header);
  position: relative;
  z-index: 100;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Video Background --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}


/* Soft floating bokeh / light particle overlay */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  animation: floatParticle linear infinite;
  opacity: 0;
}

.hero__particle:nth-child(1) {
  width: 6px; height: 6px;
  left: 15%; top: 60%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.hero__particle:nth-child(2) {
  width: 10px; height: 10px;
  left: 40%; top: 75%;
  animation-duration: 22s;
  animation-delay: 3s;
}
.hero__particle:nth-child(3) {
  width: 4px; height: 4px;
  left: 65%; top: 50%;
  animation-duration: 16s;
  animation-delay: 6s;
}
.hero__particle:nth-child(4) {
  width: 8px; height: 8px;
  left: 80%; top: 80%;
  animation-duration: 20s;
  animation-delay: 2s;
}
.hero__particle:nth-child(5) {
  width: 5px; height: 5px;
  left: 25%; top: 40%;
  animation-duration: 24s;
  animation-delay: 8s;
}
.hero__particle:nth-child(6) {
  width: 7px; height: 7px;
  left: 55%; top: 65%;
  animation-duration: 19s;
  animation-delay: 5s;
}
.hero__particle:nth-child(7) {
  width: 3px; height: 3px;
  left: 90%; top: 30%;
  animation-duration: 15s;
  animation-delay: 1s;
}
.hero__particle:nth-child(8) {
  width: 9px; height: 9px;
  left: 10%; top: 20%;
  animation-duration: 26s;
  animation-delay: 7s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-120vh) translateX(30px);
    opacity: 0;
  }
}

/* --- Dark gradient overlay --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(10, 30, 18, 0.55) 0%,
      rgba(10, 30, 18, 0.30) 40%,
      rgba(10, 30, 18, 0.40) 70%,
      rgba(10, 30, 18, 0.70) 100%
    );
}

/* --- Hero Content --- */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

/* Fade-in animation classes */
.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.4s ease-out 1s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-cream);
  max-width: 580px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.4s ease-out 1.6s forwards;
}

.hero__divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  border: none;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2s forwards;
  transform: translateY(15px);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-dark);
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.2s ease-out 2.4s forwards;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.hero__cta:hover {
  color: var(--color-dark);
  border-color: var(--color-white);
}

.hero__cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hero__cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(4px);
}

/* --- Fade-in Keyframes --- */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 3.2s forwards;
}

.hero__scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-cream);
  opacity: 0.6;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hero__content {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .hero__tagline {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
  }

  .hero__cta {
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  .hero__content {
    gap: 1rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }
}
