/* ================================
   REIKI & RESTORE – STABLE LUXURY UI
   Full Corrected Stylesheet
================================ */

:root {
  --bg-black: #000000;
  --white: #ffffff;
  --gold-light: #ffd78c;
  --gold-dark: #c59b5a;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-black);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  overflow-x: hidden;
-webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
   
}
:root {
  color-scheme: dark;
}

body {
  background: #000 !important;
  color: #fff !important;
}


/* Only inside PWA mode */
body.pwa-standalone .hero-banner {
    padding-top: env(safe-area-inset-top); /* main fix */
}

/* Optional fine-tune if still too high or too low */
@supports (padding: max(0px)) {
  body.pwa-standalone .hero-banner {
    padding-top: max(env(safe-area-inset-top), 16px);
    /* ↑ change 12px to exactly how much lower you want it */
  }
}




/* ================================
   CINEMATIC HERO BANNER
================================ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100svh;   /* iPhone dynamic viewport */
  min-height: 280px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* REQUIRED for parallax layer */

  background-image: url('https://chiroyoga.ca/wp-content/uploads/2025/11/reiki1a-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Parallax image layer */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(var(--parallax-offset, 0px));
  will-change: transform;
  z-index: 0;
}

/* Keep overlay and content above parallax */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.4),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

#pageTitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: 6px;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
  padding: 0 20px;
  opacity: 0;
  animation: titleFade 1.6s ease forwards;

  text-shadow:
    0 4px 12px rgba(0,0,0,0.55),
    0 0 18px rgba(212,175,55,0.85);
}


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

@media (max-width: 768px) {
  .hero-banner {
    height: 32vh;
    min-height: 260px;
    background-image: url('https://chiroyoga.ca/wp-content/uploads/2025/11/Reiki2b.jpg');
  }

  .hero-banner::before {
    background-image: url('https://chiroyoga.ca/wp-content/uploads/2025/11/Reiki2b.jpg');
  }

  #pageTitle {
    font-size: 2.6rem;
    letter-spacing: 3px;
  }
}








/* Copy protection (non-destructive) */
body.copy-protect,
body.copy-protect * {
  -webkit-user-select: none !important; /* iOS Safari / mobile */
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important; /* disable long-press menu on iOS */
  -webkit-user-drag: none !important;
}

/* Exception: when admin logs in, allow selection/copy */
body.copy-allowed,
body.copy-allowed * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}




/* ================================
   Seed of Life — Double Breath + Glow + Rotation
   ================================ */
/* Seed of Life Breathing Animation */
.seed-of-life-footer {
  animation: breathe 4.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes breathe {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}








/* ================================
   REGISTRATION SECTION (WHATSAPP)
================================ */
#registration-section {
  width: 100%;
  max-width: 360px;
  margin: 25px auto 15px;
  text-align: center;
}

#registration-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#registration-section input,
#registration-section button {
  width: 250px; /* match perfectly */
  max-width: 90%;
  padding: 14px 16px;
  font-size: 1.2rem;
  margin: 6px 0;
  border-radius: 10px;
  border: 2px solid var(--gold-dark);
   box-sizing: border-box; /* ✅ THIS FIXES IT */
}

#registration-section button {
  background: var(--gold-dark);
  color: var(--bg-black);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#registration-section button:hover {
  background: var(--gold-light);
}

/* ================================
   CLASS CARDS GRID
================================ */
/* #classes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 50px;
  padding: 20px;
  justify-content: center;
} 
#classes {
  display: grid;
  grid-template-columns: 1fr; /* mobile default 
  gap: 50px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto; /* centers the whole grid 
}
@media (min-width: 900px) {
  #classes {
    grid-template-columns: repeat(2, 1fr);
  }

  .class-container {
    max-width: 380px;
    margin: 0 auto;
  }
} */
#classes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 20px;
  justify-items: center;
}

/* Desktop */
@media (min-width: 700px) {
  #classes {
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
  }

  .class-container {
    width: 300px;
  }
}




.class-container {
  background: rgba(0,0,0,0.85);
  border: 2px solid var(--gold-dark);
  border-radius: 16px;
  padding: 26px;
   margin-bottom: 40px;

  text-align: left;
  box-shadow: 0 0 15px rgba(197,155,90,0.15);
  transition: all 0.4s ease;
}

.class-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 22px rgba(197,155,90,0.45);
}

.class-location {
  font-size: 26px;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.class-date {
  font-size: 18px;
  margin-bottom: 12px;
}

ul {
  padding-left: 16px;
  font-size: 18px;
  list-style: disc;
}

ul li::marker {
  color: var(--gold-dark);
}

/* ================================
   TOGGLE SWITCHES (RESTORED)
================================ */
.spaces-toggle-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

.spaces-toggle-wrapper span {
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-dark);
}

.lux-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 30px;
  background: #555;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.lux-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  background: white;
  transition: 0.3s;
}

.lux-toggle.active {
  background: var(--gold-dark);
}

.lux-toggle.active::after {
  left: 24px;
}

/********* ULTRA LUXURY HEALER NAME EFFECT *********/

.healer-name {
  display: inline-block;
  position: relative;
  color: var(--white);
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
}

/* ---------- LOCKED STATE ---------- */
.healer-name.locked {
  filter: blur(2px);
  opacity: 0.7;
  color: #d6cbb7;
  pointer-events: none;
  user-select: none;
}

/* Frosted glass overlay */
.healer-name.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(197,155,90,0.10),
    rgba(255,255,255,0.04),
    rgba(197,155,90,0.10)
  );
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Gold lock icon 
.healer-name.locked::before {
  content: "🔒";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gold-dark);
  opacity: 0.8;
}*/

/* ---------- REVEAL ANIMATION ---------- */
.healer-name.revealed {
  filter: none;
  opacity: 1;
  color: #ffffff;
  animation: luxuryReveal 2s ease forwards;
}

/* Dissolving gold lock 
.healer-name.revealed::before {
  content: "🔓";
  animation: lockDissolve 1s ease forwards;
}*/

/* Reveal glass fade */
@keyframes luxuryReveal {
  0% {
    opacity: 0.4;
    filter: blur(2px);
    text-shadow: 0 0 0 rgba(197,155,90,0);
  }
  60% {
    filter: blur(0.5px);
    text-shadow: 0 0 8px rgba(197,155,90,0.4);
  }
  100% {
    opacity: 1;
    filter: none;
    text-shadow: 0 0 10px rgba(197,155,90,0.25);
  }
}

/* Lock dissolving effect 
@keyframes lockDissolve {
  0% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  70% {
    opacity: 0.3;
    transform: translateY(-50%) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(2);
  }
}*/






/* ================================
   REMOVE CLASS HIDING BUG
================================ */
main#classes {
  opacity: 1 !important;
}

/* ================================
   SPARKLE CANVAS
================================ */
#sparkleCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ================================
   MOBILE REFINEMENTS
================================ */
@media (max-width: 480px) {
  .spaces-toggle-wrapper {
    flex-direction: row;
  } 
}