/* Spiritual Natural Color Palette - Version 4 */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Loading animation for mandala */
@keyframes mandalaGrow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mandala-container {
  animation: mandalaGrow 0.8s ease-out;
}

/* Hover state for scroll link */
.scroll-link:hover {
  color: var(--accent-700);
  transform: translateY(2px);
}

.scroll-arrow {
  transition: transform 0.3s ease;
}

.scroll-link:hover .scroll-arrow {
  transform: translateY(3px);
}

/* Breathing animation for footer dots */
@keyframes breathe {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.footer-dot {
  display: inline-block;
  animation: breathe 3s ease-in-out infinite;
}

.footer-dot:nth-child(1) { animation-delay: 0s; }
.footer-dot:nth-child(2) { animation-delay: 0.2s; }
.footer-dot:nth-child(3) { animation-delay: 0.4s; }
.footer-dot:nth-child(4) { animation-delay: 0.6s; }
.footer-dot:nth-child(5) { animation-delay: 0.8s; }

/* CSS Custom Properties (Variables) for SPIRITUAL NATURAL palette */
:root {
  /* Primary Colors - Deep Forest Green (Grounding & Natural) */
  --primary-50: #f0f5f4;
  --primary-100: #dce9e8;
  --primary-200: #b9d3d1;
  --primary-300: #8cb6b3;
  --primary-400: #5f9894;
  --primary-500: #34605f;
  --primary-600: #2d5251;
  --primary-700: #254443;
  --primary-800: #1e3635;
  --primary-900: #162827;

  /* Secondary Colors - Warm Earth Brown (Comforting & Organic) */
  --secondary-50: #f8f5f4;
  --secondary-100: #f0e9e6;
  --secondary-200: #e1d3cd;
  --secondary-300: #d2bdb4;
  --secondary-400: #c3a79b;
  --secondary-500: #AE877D;
  --secondary-600: #936f66;
  --secondary-700: #78584f;
  --secondary-800: #5d4138;
  --secondary-900: #422a21;

  /* Accent Colors - Warm Gold Yellow (Enlightenment & Wisdom) */
  --accent-50: #fdf9f0;
  --accent-100: #faf3e1;
  --accent-200: #f5e7c3;
  --accent-300: #f0dba5;
  --accent-400: #ebcf87;
  --accent-500: #BA9645;
  --accent-600: #9d7e3a;
  --accent-700: #80662f;
  --accent-800: #634e24;
  --accent-900: #463619;

  /* Highlight Colors - Soft Pink (Heart-Centered & Spiritual) */
  --highlight-50: #fef7fb;
  --highlight-100: #fdeef6;
  --highlight-200: #fbddee;
  --highlight-300: #f9cce5;
  --highlight-400: #f7bbdd;
  --highlight-500: #E9AEC9;
  --highlight-600: #c693ab;
  --highlight-700: #a3788d;
  --highlight-800: #805d6f;
  --highlight-900: #5d4251;

  /* Creative Colors - Neutral Grey (Balance & Sophistication) */
  --creative-50: #f9f9fa;
  --creative-100: #f3f3f4;
  --creative-200: #e7e7e9;
  --creative-300: #dbdbde;
  --creative-400: #cfcfd3;
  --creative-500: #828290;
  --creative-600: #6e6e7a;
  --creative-700: #5a5a64;
  --creative-800: #46464e;
  --creative-900: #323238;

  /* Success Colors - Deep Forest Green (Growth & Life) */
  --success-50: #f0f5f4;
  --success-100: #dce9e8;
  --success-200: #b9d3d1;
  --success-300: #8cb6b3;
  --success-400: #5f9894;
  --success-500: #34605f;
  --success-600: #2d5251;
  --success-700: #254443;
  --success-800: #1e3635;
  --success-900: #162827;

  /* Warning Colors - Golden Light (Wisdom & Attention) */
  --warning-50: #fdf9f0;
  --warning-100: #faf3e1;
  --warning-200: #f5e7c3;
  --warning-300: #f0dba5;
  --warning-400: #ebcf87;
  --warning-500: #BA9645;
  --warning-600: #9d7e3a;
  --warning-700: #80662f;
  --warning-800: #634e24;
  --warning-900: #463619;

  /* Error Colors - Deep Earth Rust (Transformation & Passion) */
  --error-50: #faf6f5;
  --error-100: #f4ebe9;
  --error-200: #e9d7d3;
  --error-300: #dec3bd;
  --error-400: #d3afa7;
  --error-500: #B76352;
  --error-600: #9b5445;
  --error-700: #7f4538;
  --error-800: #63362b;
  --error-900: #47271e;

  /* Info Colors - Deep Teal Blue (Clarity & Wisdom) */
  --info-50: #e6f2f8;
  --info-100: #cce5f1;
  --info-200: #99cbe3;
  --info-300: #66b1d5;
  --info-400: #3397c7;
  --info-500: #01559A;
  --info-600: #014882;
  --info-700: #013a6a;
  --info-800: #012d52;
  --info-900: #001f3a;

  /* Background Colors - Warm Natural White */
  --bg-primary: #F8F6F3;
  --bg-secondary: #f8f5f4;
  --bg-card: #FFFFFF;
  --bg-hover: #F0EDE8;
  --bg-elevated: #EBE7E1;
  
  /* Text Colors for light natural theme */
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-accent: #57534e;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --text-dark: #1c1917;
  
  /* Text Colors for dark/colored backgrounds */
  --text-on-light: #FEFDFB;
  --text-on-light-secondary: #F5F5F0;
  --text-on-light-muted: #E7E5E4;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-primary);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Typography - Refined and sophisticated */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  color: var(--text-primary);
  margin-bottom: 0.5em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 { 
  font-size: 3rem; 
  font-weight: 600; 
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h2 { 
  font-size: 2.25rem; 
  font-weight: 500; 
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h3 { 
  font-size: 1.875rem; 
  font-weight: 500; 
  line-height: 1.4;
}

h4 { 
  font-size: 1.5rem; 
  font-weight: 500; 
  line-height: 1.4;
}

h5 { 
  font-size: 1.25rem; 
  font-weight: 500; 
  line-height: 1.5;
}

h6 { 
  font-size: 1.125rem; 
  font-weight: 500; 
  line-height: 1.5;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Accent font for special elements */
.font-accent {
  font-family: 'Dancing Script', cursive;
  font-weight: 500;
}

/* Font weight utilities */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Background Color Utilities */
.bg-primary { background-color: var(--primary-500); }
.bg-primary-light { background-color: var(--primary-200); }
.bg-primary-dark { background-color: var(--primary-700); }

.bg-secondary { background-color: var(--secondary-500); }
.bg-secondary-light { background-color: var(--secondary-200); }
.bg-secondary-dark { background-color: var(--secondary-700); }

.bg-accent { background-color: var(--accent-500); }
.bg-accent-light { background-color: var(--accent-200); }
.bg-accent-dark { background-color: var(--accent-700); }

.bg-highlight { background-color: var(--highlight-500); }
.bg-highlight-light { background-color: var(--highlight-200); }

.bg-creative { background-color: var(--creative-500); }
.bg-creative-light { background-color: var(--creative-200); }
.bg-creative-dark { background-color: var(--creative-700); }

.bg-success { background-color: var(--success-500); }
.bg-success-light { background-color: var(--success-200); }

.bg-warning { background-color: var(--warning-500); }
.bg-warning-light { background-color: var(--warning-200); }

.bg-error { background-color: var(--error-500); }
.bg-error-light { background-color: var(--error-200); }

.bg-elevated { background-color: var(--bg-elevated); }

/* Text Color Utilities */
.text-primary { color: var(--primary-500); }
.text-primary-light { color: var(--primary-300); }
.text-primary-dark { color: var(--primary-700); }

.text-secondary { color: var(--secondary-500); }
.text-secondary-light { color: var(--secondary-300); }
.text-secondary-dark { color: var(--secondary-700); }

.text-accent { color: var(--accent-500); }
.text-accent-light { color: var(--accent-300); }
.text-accent-dark { color: var(--accent-700); }

.text-highlight { color: var(--highlight-500); }
.text-highlight-light { color: var(--highlight-300); }
.text-highlight-dark { color: var(--highlight-700); }

.text-creative { color: var(--creative-500); }
.text-creative-light { color: var(--creative-300); }
.text-creative-dark { color: var(--creative-700); }

.text-success { color: var(--success-500); }
.text-warning { color: var(--warning-500); }
.text-error { color: var(--error-500); }

.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }

/* Text colors for light backgrounds */
.text-on-light { color: var(--text-on-light); }
.text-on-light-secondary { color: var(--text-on-light-secondary); }
.text-on-light-muted { color: var(--text-on-light-muted); }

.text-white { color: #ffffff; }
.text-black { color: #000000; }

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  letter-spacing: 0.025em;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary-500);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-600);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent-500);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-600);
  transform: translateY(-1px);
}

.btn-highlight {
  background-color: var(--highlight-500);
  color: white;
}

.btn-highlight:hover {
  background-color: var(--highlight-600);
  transform: translateY(-1px);
}

.btn-creative {
  background-color: var(--creative-500);
  color: white;
}

.btn-creative:hover {
  background-color: var(--creative-600);
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--success-500);
  color: white;
}

.btn-success:hover {
  background-color: var(--success-600);
  transform: translateY(-1px);
}

.btn-warning {
  background-color: var(--warning-500);
  color: white;
}

.btn-warning:hover {
  background-color: var(--warning-600);
  transform: translateY(-1px);
}

.btn-error {
  background-color: var(--error-500);
  color: white;
}

.btn-error:hover {
  background-color: var(--error-600);
  transform: translateY(-1px);
}

.btn-info {
  background-color: var(--info-500);
  color: white;
}

.btn-info:hover {
  background-color: var(--info-600);
  transform: translateY(-1px);
}

/* Card Component - Sophisticated natural design */
.card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.2), 0 2px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  border: 1px solid rgba(120, 113, 108, 0.2);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.25), 0 4px 8px -2px rgba(0, 0, 0, 0.15);
  border-color: rgba(120, 113, 108, 0.3);
}

.card-primary {
  border-left: 4px solid var(--primary-500);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.card-secondary {
  border-left: 4px solid var(--secondary-500);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(168, 146, 125, 0.05) 100%);
}

.card-accent {
  border-left: 4px solid var(--accent-500);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(100, 116, 139, 0.05) 100%);
}

.card-highlight {
  border-left: 4px solid var(--highlight-500);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.card-creative {
  border-left: 4px solid var(--creative-500);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(157, 114, 170, 0.05) 100%);
}

/* Alert Components */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background-color: var(--success-50);
  border-color: var(--success-200);
  color: var(--success-800);
}

.alert-warning {
  background-color: var(--warning-50);
  border-color: var(--warning-200);
  color: var(--warning-800);
}

.alert-error {
  background-color: var(--error-50);
  border-color: var(--error-200);
  color: var(--error-800);
}

.alert-info {
  background-color: var(--info-50);
  border-color: var(--info-200);
  color: var(--info-800);
}

/* Alert Titles - Ensure proper contrast */
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6 {
  color: inherit;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.alert-success h1, .alert-success h2, .alert-success h3, .alert-success h4, .alert-success h5, .alert-success h6 {
  color: var(--success-900);
}

.alert-warning h1, .alert-warning h2, .alert-warning h3, .alert-warning h4, .alert-warning h5, .alert-warning h6 {
  color: var(--warning-900);
}

.alert-error h1, .alert-error h2, .alert-error h3, .alert-error h4, .alert-error h5, .alert-error h6 {
  color: var(--error-900);
}

.alert-info h1, .alert-info h2, .alert-info h3, .alert-info h4, .alert-info h5, .alert-info h6 {
  color: var(--info-900);
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

/* Gradient Backgrounds - Sophisticated natural aesthetics */
.gradient-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500), var(--primary-400));
}

.gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-700), var(--secondary-500), var(--secondary-400));
}

.gradient-accent {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500), var(--accent-400));
}

.gradient-highlight {
  background: linear-gradient(135deg, var(--highlight-600), var(--highlight-500), var(--highlight-400));
}

.gradient-creative {
  background: linear-gradient(135deg, var(--creative-600), var(--creative-500), var(--creative-400));
}

.gradient-natural {
  background: linear-gradient(135deg, 
    var(--primary-600) 0%, 
    var(--secondary-500) 25%,
    var(--accent-600) 50%,
    var(--highlight-500) 75%,
    var(--primary-700) 100%
  );
}

.gradient-earth {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary), var(--bg-card));
}

.gradient-modern {
  background: linear-gradient(135deg, 
    var(--primary-600) 0%, 
    var(--secondary-400) 30%,
    var(--accent-500) 60%,
    var(--highlight-400) 100%
  );
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Additional Font Utilities */
.font-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

.font-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-accent {
  font-family: 'Dancing Script', cursive;
}

/* Text size utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

/* Letter spacing utilities */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Line height utilities */
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

/* Sophisticated natural typography styles */
.natural-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.6;
  letter-spacing: 0.025em;
  color: var(--accent-700);
  font-weight: 400;
}

.earth-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: var(--secondary-300);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sophisticated-caps {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-accent);
}

.refined-emphasis {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}