/* ===== CSS VARIABLES ===== */
:root {
  /* Main Colors */
  --primary-color: #8B4513;
  --secondary-color: #DAA520;
  --accent-color: #228B22;
  --background-color: #FDF6E3;
  --text-color: #2F1B14;
  --footer-bg-color: #654321;
  --button-color: #CD853F;
  
  /* Section Backgrounds */
  --section-bg-1: #F5F5DC;
  --section-bg-2: #FFF8DC;
  --section-bg-3: #F0F8FF;
  
  /* Soft & Organic Theme Variables */
  --soft-radius: 16px;
  --softer-radius: 24px;
  --gentle-shadow: 0 10px 30px -10px rgba(139, 69, 19, 0.15);
  --gentle-hover-shadow: 0 15px 35px -10px rgba(139, 69, 19, 0.25);
  --spiritual-gradient: linear-gradient(135deg, #8B4513 0%, #DAA520 50%, #CD853F 100%);
  --organic-gradient: linear-gradient(45deg, #FDF6E3 0%, #FFF8DC 50%, #F0F8FF 100%);
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--organic-gradient);
  color: var(--text-color);
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-light {
  background: var(--section-bg-1);
}

.section-medium {
  background: var(--section-bg-2);
}

.section-accent {
  background: var(--section-bg-3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--soft-radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  box-shadow: var(--gentle-shadow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--spiritual-gradient);
  color: white;
  transform: translateY(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--gentle-hover-shadow);
  filter: brightness(1.05);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--button-color) 100%);
  color: white;
  transform: translateY(0);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--gentle-hover-shadow);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--gentle-hover-shadow);
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--softer-radius);
  padding: 2.5rem;
  box-shadow: var(--gentle-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--spiritual-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--gentle-hover-shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.card-text {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== HEADER ===== */
.header {
  background: rgba(253, 246, 227, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  border-image: var(--spiritual-gradient) 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(253, 246, 227, 0.98);
  box-shadow: var(--gentle-shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--soft-radius);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--spiritual-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(139, 69, 19, 0.05);
}

.nav-link:hover::after {
  width: 80%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg-color);
  color: var(--background-color);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p, .footer-section a {
  color: rgba(253, 246, 227, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 246, 227, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(253, 246, 227, 0.6);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(139, 69, 19, 0.2);
  border-radius: var(--soft-radius);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
  color: var(--text-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: rgba(47, 27, 20, 0.5);
}

/* ===== SPIRITUAL ELEMENTS ===== */
.spiritual-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.05) 2px, transparent 2px);
  background-size: 60px 60px;
}

.meditative-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--spiritual-gradient);
  opacity: 0.1;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.meditative-circle::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: rgba(253, 246, 227, 0.8);
  border-radius: 50%;
}

.chakra-wheels {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.chakra-wheel {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid;
  position: relative;
  animation: gentle-rotate 8s linear infinite;
}

.chakra-wheel:nth-child(1) {
  border-color: var(--primary-color);
}

.chakra-wheel:nth-child(2) {
  border-color: var(--secondary-color);
  animation-delay: -1s;
}

.chakra-wheel:nth-child(3) {
  border-color: var(--accent-color);
  animation-delay: -2s;
}

.chakra-wheel:nth-child(4) {
  border-color: var(--button-color);
  animation-delay: -3s;
}

@keyframes gentle-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--organic-gradient);
  position: relative;
  padding-top: 80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
  background: var(--spiritual-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 3rem;
  color: var(--text-color);
  opacity: 0.9;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 2rem;
    margin: 0 0.5rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    background: rgba(253, 246, 227, 0.98);
    padding: 1rem;
    border-radius: var(--soft-radius);
    margin-top: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
    border-radius: var(--soft-radius);
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .chakra-wheels {
    gap: 0.5rem;
  }
  
  .chakra-wheel {
    width: 50px;
    height: 50px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ===== SPECIAL ANIMATIONS ===== */
@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-element {
  animation: gentle-float 6s ease-in-out infinite;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

/* ===== HOVER EFFECTS ===== */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--gentle-hover-shadow);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}