/* ==========================================================================
   Reiki Healing Center - Global Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* --------------------------------------------------------------------------
   CSS Variables & Design System
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette (Luminous Zen Light Theme - new_theme_template.pdf) */
  --primary-purple: #0F1117;
  /* Obsidian from PDF for regal high contrast */
  --primary-purple-dark: #000000;
  --accent-gold: #C89B3C;
  /* Sacred Gold from PDF */
  --accent-gold-dark: #A97E25;
  --light-cream: #FAF8F5;
  /* Luminous Zen Daylight Canvas */
  --dark-text: #0F1117;
  --white: #ffffff;
  --muted-gray: #555D6E;
  --light-gray: #F5F1EA;
  --border-color: #EAE5DB;
  --light-lavender: #F5F1EA;
  --soft-green: #ECFDF5;
  --soft-green-text: #065F46;

  /* Typography (Cormorant Garamond, Cinzel & Plus Jakarta Sans) */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-cinzel: 'Cinzel', serif;

  /* Spacing & Borders */
  --radius-card: 16px;
  --radius-btn: 9999px;
  --radius-badge: 9999px;
  --radius-circle: 50%;

  /* Shadows */
  --card-shadow: 0 6px 20px rgba(15, 17, 23, 0.05);
  --card-shadow-hover: 0 16px 36px rgba(200, 155, 60, 0.12);
  --btn-shadow: 0 4px 16px rgba(200, 155, 60, 0.35);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

/* --------------------------------------------------------------------------
   Global Resets
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light-cream);
  color: var(--dark-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbars visually across all browsers while maintaining full scrolling functionality */
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

* {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Global Hero Animation Canvas Layer */
.hero-bg-canvas,
#hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-purple);
  margin-bottom: 0.75rem;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

/* Italic styling inside headings */
h1 em,
h1 i,
h2 em,
h2 i,
h3 em,
h3 i,
.section-heading em,
.section-heading i {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}

p {
  font-size: 1rem;
  color: var(--muted-gray);
  max-width: 65ch;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-purple);
  margin-bottom: 12px;
}

.section-label::before {
  display: none !important;
  content: none !important;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.3;
  margin-bottom: 16px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-badge);
  background-color: var(--light-lavender);
  color: var(--primary-purple);
  border: 1px solid rgba(45, 27, 105, 0.15);
}

.badge-green {
  background-color: var(--soft-green);
  color: var(--soft-green-text);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.badge-gold {
  background-color: rgba(201, 168, 76, 0.15);
  color: var(--accent-gold-dark);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.badge-danger,
.badge-red {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Buttons Design System */
.btn-primary,
.btn-secondary,
.btn-gold,
.btn-hero-primary,
.btn-hero-secondary,
.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Gold / Hero Primary Button (.btn-gold) */
.btn-gold,
.btn-hero-primary,
.btn-cta-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #C89B3C 50%, #B5882E 100%);
  color: #0F1117 !important;
  border-color: #D4AF37;
  box-shadow: 0 4px 18px rgba(200, 155, 60, 0.35);
}

.btn-gold:hover,
.btn-hero-primary:hover,
.btn-cta-primary:hover {
  background: linear-gradient(135deg, #E0BC48 0%, #D4AF37 50%, #C89B3C 100%);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.5);
  border-color: #E0BC48;
}

/* Secondary Button (.btn-secondary & .btn-hero-secondary) */
.btn-secondary,
.btn-hero-secondary,
.btn-cta-secondary {
  background-color: #ffffff;
  color: #0F1117 !important;
  border: 1.5px solid #D8D2C5;
  box-shadow: 0 2px 8px rgba(15, 17, 23, 0.04);
}

.btn-secondary:hover,
.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
  background-color: #F5F1EA;
  color: var(--accent-gold-dark) !important;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.15);
}

/* Primary Button (.btn-primary) */
.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #C89B3C 100%);
  color: #0F1117 !important;
  border-color: #D4AF37;
  box-shadow: 0 4px 16px rgba(200, 155, 60, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E0BC48 0%, #D4AF37 100%);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 155, 60, 0.45);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.infinite-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.infinite-carousel-track,
.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slideInfinite 30s linear infinite;
}

.infinite-carousel:hover .infinite-carousel-track,
.infinite-carousel:hover .carousel-track,
.infinite-carousel-track:hover,
.carousel-track:hover {
  animation-play-state: paused;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Reusable CTA Section Styles
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: 110px 0;
  background: url('../images/journey.jpg') center/cover no-repeat;
  background-color: #380556;
  color: #ffffff;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%,
      rgba(157, 20, 227, 0.88) 0%,
      rgba(95, 12, 142, 0.94) 50%,
      rgba(46, 5, 71, 0.98) 100%);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-label {
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.cta-label::before {
  background-color: var(--accent-gold);
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-subtext strong {
  color: var(--accent-gold);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-cta-secondary:hover {
  background-color: #ffffff;
  color: var(--primary-purple);
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Forms & Field Layouts
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .section-heading {
    font-size: 2.15rem;
  }

  .section-padding {
    padding: 75px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.35rem;
  }

  h2,
  .section-heading {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }
}