/* Calmlee - Zen-Inspired Peaceful Living Design */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

/* Base Styles with Zen Philosophy */
:root {
  /* Peaceful Color Palette */
  --sage-primary: #6B8E23;
  --sage-light: #8FA846;
  --sage-lighter: #B5C971;
  --cream-white: #FEFCF7;
  --warm-cream: #F9F6F0;
  --soft-beige: #F0ECE3;
  --earth-brown: #8B7355;
  --lavender-mist: #E8E2F0;
  --text-charcoal: #2F2F2F;
  --text-soft: #5A5A5A;
  --text-light: #8A8A8A;
  --text-whisper: #B8B8B8;
  
  /* Zen Spacing */
  --breath-small: 16px;
  --breath-medium: 24px;
  --breath-large: 40px;
  --breath-xl: 60px;
  
  /* Organic Shapes */
  --border-zen: 20px;
  --border-flow: 30px;
  --border-organic: 40px;
  
  /* Calming Shadows */
  --shadow-whisper: 0 4px 20px rgba(107, 142, 35, 0.08);
  --shadow-gentle: 0 8px 30px rgba(107, 142, 35, 0.12);
  --shadow-embrace: 0 12px 40px rgba(107, 142, 35, 0.15);
  
  /* Breathing Transitions */
  --transition-breath: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-gentle: all 0.4s ease-out;
}

/* Reset with Mindful Defaults */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body - The Foundation of Peace */
body {
  font-family: 'Crimson Text', Georgia, serif;
  line-height: 1.75;
  color: var(--text-charcoal);
  background: linear-gradient(135deg, var(--cream-white) 0%, var(--warm-cream) 100%);
  min-height: 100vh;
  letter-spacing: 0.3px;
}

/* Typography Hierarchy - Gentle and Flowing */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--breath-medium);
  color: var(--text-charcoal);
}

p {
  font-size: 1.1rem;
  margin-bottom: var(--breath-medium);
  color: var(--text-soft);
}

/* Links with Gentle Soul */
a {
  color: var(--sage-primary);
  text-decoration: none;
  transition: var(--transition-gentle);
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: var(--sage-light);
  transition: var(--transition-gentle);
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: var(--sage-light);
  transform: translateY(-1px);
}

/* Container - Embracing Space */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--breath-large);
}

/* Zen Button - Soft and Inviting */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-light));
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-zen);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition-breath);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-whisper);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-breath);
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-embrace);
}

/* Header - Floating Serenity */
header {
  background: rgba(254, 252, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 142, 35, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-gentle);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--breath-medium) 0;
}

.logo img {
  height: 45px;
  filter: drop-shadow(0 2px 8px rgba(107, 142, 35, 0.2));
}

/* Navigation - Mindful Journey */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--breath-large);
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  color: var(--text-soft);
  font-weight: 400;
  padding: 12px 18px;
  border-radius: var(--border-zen);
  transition: var(--transition-gentle);
  position: relative;
}

.nav-links a::after {
  display: none;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sage-primary);
  border-radius: var(--border-zen);
  transform: scale(0);
  transition: var(--transition-breath);
  z-index: -1;
}

.nav-links a:hover::before {
  transform: scale(1);
}

.nav-links a:hover {
  color: white;
  transform: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-soft);
  cursor: pointer;
}

/* Hero Section - Breathing Mountain */
.hero {
  background: linear-gradient(135deg, 
    var(--sage-primary) 0%, 
    var(--sage-light) 50%, 
    var(--sage-lighter) 100%);
  color: white;
  padding: var(--breath-xl) 0;
  text-align: center;
  margin-bottom: var(--breath-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: gentleFloat 20s ease-in-out infinite;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--breath-medium);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: gentlePulse 4s ease-in-out infinite;
}

.hero p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: var(--breath-large);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Post - Zen Garden */
.featured-post {
  margin-bottom: var(--breath-xl);
  background: var(--cream-white);
  border-radius: var(--border-organic);
  overflow: hidden;
  box-shadow: var(--shadow-embrace);
  position: relative;
}

.featured-post-content {
  position: relative;
  overflow: hidden;
}

.featured-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-breath);
}

.featured-post-content:hover .featured-image img {
  transform: scale(1.02);
}

.featured-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: var(--breath-xl) var(--breath-large) var(--breath-large);
}

.featured-text h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: var(--breath-small);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.featured-text .post-meta {
  display: flex;
  gap: var(--breath-medium);
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: var(--breath-small);
}

.featured-text .post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-badge {
  position: absolute;
  top: var(--breath-medium);
  left: var(--breath-medium);
  background: var(--sage-primary);
  color: white;
  padding: 8px var(--breath-small);
  border-radius: var(--border-zen);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-whisper);
}

/* Content Grid - Organic Flow */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--breath-large);
  margin-bottom: var(--breath-xl);
}

/* Card Styles - Floating Petals */
.card {
  background: var(--cream-white);
  border-radius: var(--border-flow);
  box-shadow: var(--shadow-whisper);
  overflow: hidden;
  transition: var(--transition-breath);
  position: relative;
  border: 1px solid rgba(107, 142, 35, 0.08);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-primary), var(--sage-light), var(--sage-primary));
  transform: scaleX(0);
  transition: var(--transition-breath);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-embrace);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-breath);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: var(--breath-large);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: var(--breath-small);
  color: var(--text-charcoal);
  font-weight: 600;
}

.card-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--breath-medium);
  font-family: 'Inter', sans-serif;
}

.card-description {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: var(--breath-medium);
}

.card-link {
  color: var(--sage-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition-gentle);
}

.card-link:hover {
  gap: 12px;
  color: var(--sage-light);
}

/* Article Styles - Sacred Space */
.article {
  background: var(--cream-white);
  border-radius: var(--border-organic);
  padding: var(--breath-xl);
  box-shadow: var(--shadow-gentle);
  margin-bottom: var(--breath-large);
  position: relative;
  border: 1px solid rgba(107, 142, 35, 0.08);
}

.article::before {
  content: '';
  position: absolute;
  top: var(--breath-medium);
  left: var(--breath-medium);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-primary), var(--sage-light));
  border-radius: 2px;
}

.article-header {
  margin-bottom: var(--breath-large);
  padding-bottom: var(--breath-medium);
  border-bottom: 1px solid var(--soft-beige);
}

.article h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: var(--breath-medium);
  color: var(--text-charcoal);
  line-height: 1.2;
}

.article-meta {
  display: flex;
  gap: var(--breath-medium);
  color: var(--text-light);
  font-size: 0.95rem;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content h2 {
  font-size: 2rem;
  margin: var(--breath-large) 0 var(--breath-medium);
  color: var(--sage-primary);
  position: relative;
  padding-left: var(--breath-medium);
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, var(--sage-primary), var(--sage-light));
  border-radius: 2px;
}

.article-content h3 {
  font-size: 1.5rem;
  margin: var(--breath-large) 0 var(--breath-small);
  color: var(--text-charcoal);
}

.article-content p {
  margin-bottom: var(--breath-medium);
  color: var(--text-soft);
}

.article-content ul, 
.article-content ol {
  margin: var(--breath-medium) 0;
  padding-left: var(--breath-large);
}

.article-content li {
  margin-bottom: var(--breath-small);
  color: var(--text-soft);
}

.article-content blockquote {
  margin: var(--breath-large) 0;
  padding: var(--breath-large);
  background: var(--lavender-mist);
  border-left: 4px solid var(--sage-primary);
  border-radius: 0 var(--border-zen) var(--border-zen) 0;
  font-style: italic;
  color: var(--text-soft);
  position: relative;
}

.article-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--sage-light);
  position: absolute;
  top: -10px;
  left: var(--breath-medium);
  opacity: 0.3;
}

/* Category Badge - Gentle Labels */
.category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-light));
  color: white;
  padding: 8px 16px;
  border-radius: var(--border-organic);
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  margin-right: var(--breath-small);
  margin-bottom: var(--breath-small);
  transition: var(--transition-gentle);
  box-shadow: var(--shadow-whisper);
}

.category-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gentle);
}

/* Sidebar - Quiet Companion */
.sidebar {
  background: var(--cream-white);
  border-radius: var(--border-flow);
  padding: var(--breath-large);
  box-shadow: var(--shadow-whisper);
  border: 1px solid rgba(107, 142, 35, 0.08);
}

.sidebar-section {
  margin-bottom: var(--breath-large);
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar h3 {
  font-size: 1.3rem;
  margin-bottom: var(--breath-medium);
  color: var(--text-charcoal);
  padding-bottom: var(--breath-small);
  border-bottom: 2px solid var(--sage-primary);
  position: relative;
}

.sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--sage-light);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: var(--breath-small);
}

.sidebar a {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--breath-small) var(--breath-medium);
  border-radius: var(--border-zen);
  transition: var(--transition-gentle);
  font-family: 'Inter', sans-serif;
}

.sidebar a::after {
  display: none;
}

.sidebar a:hover {
  background: var(--soft-beige);
  color: var(--sage-primary);
  padding-left: var(--breath-medium) + 6px;
  transform: none;
}

/* Footer - Grounding Earth */
footer {
  background: linear-gradient(135deg, var(--text-charcoal), var(--earth-brown));
  color: white;
  padding: var(--breath-xl) 0 var(--breath-medium);
  margin-top: var(--breath-xl);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-primary), var(--sage-light), var(--sage-lighter), var(--sage-light), var(--sage-primary));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--breath-large);
  margin-bottom: var(--breath-large);
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: var(--breath-medium);
  color: white;
}

.footer-section p,
.footer-section ul {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--breath-small);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-gentle);
}

.footer-section a::after {
  display: none;
}

.footer-section a:hover {
  color: var(--sage-lighter);
  padding-left: 8px;
  transform: none;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--breath-medium);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

/* Social Links - Connected Harmony */
.social-links {
  display: flex;
  gap: var(--breath-small);
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-breath);
  backdrop-filter: blur(10px);
}

.social-links a::after {
  display: none;
}

.social-links a:hover {
  background: var(--sage-primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-gentle);
}

/* Zen Animations */
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  75% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Responsive Design - Adaptive Harmony */
@media (max-width: 768px) {
  :root {
    --breath-large: 24px;
    --breath-xl: 40px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(254, 252, 247, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--breath-medium);
    box-shadow: var(--shadow-gentle);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding: var(--breath-large) 0;
  }

  .featured-image {
    height: 300px;
  }

  .article {
    padding: var(--breath-medium);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 var(--breath-medium);
  }
}

@media (max-width: 480px) {
  :root {
    --breath-medium: 16px;
    --breath-large: 20px;
    --breath-xl: 32px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .featured-image {
    height: 250px;
  }

  .featured-text {
    padding: var(--breath-large) var(--breath-medium) var(--breath-medium);
  }

  .article h1 {
    font-size: 1.8rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .container {
    padding: 0 var(--breath-small);
  }
}

/* Loading Spinner - Zen Meditation */
.spinner {
  border: 3px solid var(--soft-beige);
  border-top: 3px solid var(--sage-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: breathe 2s ease-in-out infinite;
  margin: var(--breath-medium) auto;
}

/* Utility Classes - Mindful Helpers */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.breathing-space { padding: var(--breath-large) 0; }
.gentle-shadow { box-shadow: var(--shadow-whisper); }
.zen-border { border-radius: var(--border-zen); }
.flow-border { border-radius: var(--border-flow); }
.organic-border { border-radius: var(--border-organic); }

.fade-in {
  animation: gentleFloat 1s ease-out;
}

/* Zen Layout Specific Styles */
.calmlee-zen-experience {
  position: relative;
  overflow-x: hidden;
}

/* Zen Atmosphere - Floating Background */
.zen-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(135deg, 
    var(--cream-white) 0%, 
    var(--warm-cream) 30%, 
    var(--soft-beige) 70%, 
    var(--lavender-mist) 100%);
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.zen-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 142, 35, 0.1) 0%, transparent 70%);
  animation: zenBreathing 8s ease-in-out infinite;
}

.zen-circle-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.zen-circle-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.zen-circle-3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 70%;
  animation-delay: 6s;
}

@keyframes zenBreathing {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% { 
    transform: scale(1.2) rotate(180deg);
    opacity: 0.1;
  }
}

/* Zen Header - Ultra Compact */
.zen-header {
  background: rgba(254, 252, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 142, 35, 0.1);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.zen-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--breath-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zen-brand {
  display: flex;
  align-items: center;
  gap: var(--breath-small);
}

.zen-logo {
  font-size: 1.2rem;
  animation: gentlePulse 4s ease-in-out infinite;
}

.zen-title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--sage-primary);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Zen Navigation - Compact */
.zen-navigation {
  display: flex;
  justify-content: center;
}

.zen-nav-links {
  display: flex;
  gap: var(--breath-small);
  flex-wrap: wrap;
  justify-content: center;
}

.zen-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px var(--breath-small);
  background: rgba(107, 142, 35, 0.05);
  border: 1px solid rgba(107, 142, 35, 0.2);
  border-radius: var(--border-zen);
  color: var(--text-charcoal);
  text-decoration: none;
  transition: var(--transition-gentle);
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
}

.zen-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.1), transparent);
  transition: var(--transition-gentle);
}

.zen-nav-link:hover::before {
  left: 100%;
}

.zen-nav-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-whisper);
  background: rgba(107, 142, 35, 0.1);
}

.zen-nav-icon {
  font-size: 1rem;
}

/* Zen Main Content */
.zen-main {
  min-height: 60vh;
  padding: var(--breath-xl) 0;
}

.zen-content-flow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--breath-large);
}

/* Zen Footer */
.zen-footer {
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-light));
  color: white;
  padding: var(--breath-large) 0 var(--breath-medium);
  margin-top: var(--breath-large);
  position: relative;
}

.zen-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.zen-footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--breath-large);
  margin-bottom: var(--breath-large);
  text-align: center;
}

@media (max-width: 768px) {
  .zen-footer-content {
    grid-template-columns: 1fr;
    gap: var(--breath-medium);
  }
}

.zen-footer-section h3 {
  margin-bottom: var(--breath-small);
  font-size: 1rem;
  font-weight: 400;
}

.zen-footer-text {
  opacity: 0.9;
  line-height: 1.4;
  font-size: 0.85rem;
}

.zen-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.zen-footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-gentle);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.zen-footer-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.zen-footer-bottom {
  text-align: center;
  padding-top: var(--breath-medium);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.zen-copyright {
  opacity: 0.8;
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.zen-company {
  opacity: 0.6;
  font-size: 0.8rem;
  margin: 0 0 12px;
  font-weight: 400;
}

.zen-blessing {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.85rem;
  margin: 0;
}

/* Zen Particles */
.zen-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.zen-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sage-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: zenFloat 12s linear infinite;
}

.zen-particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.zen-particle:nth-child(2) {
  left: 40%;
  animation-delay: 3s;
  animation-duration: 12s;
}

.zen-particle:nth-child(3) {
  left: 60%;
  animation-delay: 6s;
  animation-duration: 18s;
}

.zen-particle:nth-child(4) {
  left: 80%;
  animation-delay: 9s;
  animation-duration: 14s;
}

.zen-particle:nth-child(5) {
  left: 90%;
  animation-delay: 12s;
  animation-duration: 16s;
}

@keyframes zenFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Zen Responsive Design */
@media (max-width: 768px) {
  .zen-container {
    padding: 0 var(--breath-medium);
  }
  
  .zen-nav-links {
    gap: var(--breath-small);
  }
  
  .zen-nav-link {
    padding: 8px var(--breath-small);
    font-size: 0.9rem;
  }
  
  .zen-footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .zen-nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .zen-nav-link {
    width: 200px;
    justify-content: center;
  }
}

/* Zen Template Specific Styles - Compact Version */
.zen-homepage {
  background: linear-gradient(135deg, var(--cream-white), var(--soft-beige));
}

/* Zen Hero Section - Compact */
.zen-hero {
  position: relative;
  padding: var(--breath-large) 0;
  text-align: center;
  overflow: hidden;
}

.zen-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--breath-medium);
}

.zen-greeting {
  margin-bottom: var(--breath-large);
}

.zen-icon {
  font-size: 2.5rem;
  margin-bottom: var(--breath-small);
  animation: gentlePulse 4s ease-in-out infinite;
}

.zen-welcome {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--sage-primary);
  margin-bottom: var(--breath-small);
  font-weight: 300;
  letter-spacing: 1px;
}

.zen-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  font-style: italic;
  opacity: 0.9;
  margin-bottom: var(--breath-medium);
}

/* Zen Mini Navigation */
.zen-mini-nav {
  display: flex;
  justify-content: center;
  gap: var(--breath-medium);
  margin-bottom: var(--breath-medium);
}

.zen-mini-link {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px var(--breath-small);
  border-radius: var(--border-zen);
  transition: var(--transition-gentle);
  opacity: 0.7;
}

.zen-mini-link:hover {
  opacity: 1;
  color: var(--sage-primary);
  background: rgba(107, 142, 35, 0.1);
}

.zen-mini-link.active {
  opacity: 1;
  color: var(--sage-primary);
  background: rgba(107, 142, 35, 0.15);
}

/* Zen Search - Compact */
.zen-search {
  margin-top: var(--breath-large);
}

.zen-search-form {
  max-width: 500px;
  margin: 0 auto;
}

.zen-search-wrapper {
  display: flex;
  background: white;
  border: 1px solid rgba(107, 142, 35, 0.2);
  border-radius: var(--border-zen);
  overflow: hidden;
  box-shadow: var(--shadow-whisper);
  transition: var(--transition-gentle);
}

.zen-search-wrapper:focus-within {
  border-color: var(--sage-primary);
  box-shadow: var(--shadow-gentle);
}

.zen-search-icon {
  padding: var(--breath-small) var(--breath-medium);
  color: var(--sage-primary);
  font-size: 1rem;
}

.zen-search-input {
  flex: 1;
  border: none;
  padding: var(--breath-small) var(--breath-medium);
  font-size: 1rem;
  outline: none;
  background: transparent;
}

.zen-search-input::placeholder {
  color: var(--text-light);
  font-style: italic;
}

.zen-search-button {
  background: var(--sage-primary);
  color: white;
  border: none;
  padding: var(--breath-small) var(--breath-medium);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-gentle);
}

.zen-search-button:hover {
  background: var(--sage-light);
}

/* Zen Hero Decoration */
.zen-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.zen-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: zenFloat 12s linear infinite;
}

.zen-float-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.zen-float-2 {
  top: 60%;
  right: 20%;
  animation-delay: 5s;
  animation-duration: 18s;
}

.zen-float-3 {
  top: 40%;
  left: 70%;
  animation-delay: 10s;
  animation-duration: 12s;
}

/* Zen Featured Journey - Compact */
.zen-featured-journey {
  padding: var(--breath-large) 0;
}

.zen-section-header {
  text-align: center;
  margin-bottom: var(--breath-large);
}

.zen-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--sage-primary);
  margin-bottom: var(--breath-small);
  font-weight: 300;
}

.zen-section-subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  font-style: italic;
}

.zen-featured-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-flow);
  overflow: hidden;
  box-shadow: var(--shadow-gentle);
  transition: var(--transition-gentle);
}

.zen-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-embrace);
}

.zen-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.zen-featured-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.zen-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-gentle);
}

.zen-featured-card:hover .zen-featured-image img {
  transform: scale(1.02);
}

.zen-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: var(--breath-large);
}

.zen-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sage-primary);
  padding: 4px var(--breath-small);
  border-radius: var(--border-zen);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--breath-small);
}

.zen-featured-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: var(--breath-small);
  line-height: 1.3;
}

.zen-featured-meta {
  display: flex;
  gap: var(--breath-medium);
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Zen Practice Areas - Compact */
.zen-practice-areas {
  padding: var(--breath-large) 0;
  background: var(--warm-cream);
}

.zen-practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--breath-medium);
}

.zen-practice-card {
  background: white;
  border-radius: var(--border-zen);
  padding: var(--breath-medium);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-gentle);
  box-shadow: var(--shadow-whisper);
  border: 1px solid rgba(107, 142, 35, 0.1);
}

.zen-practice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gentle);
  border-color: var(--sage-primary);
}

.zen-practice-icon {
  font-size: 2rem;
  margin-bottom: var(--breath-small);
}

.zen-practice-name {
  font-size: 1.1rem;
  color: var(--sage-primary);
  margin-bottom: var(--breath-small);
  font-weight: 400;
}

.zen-practice-description {
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.9rem;
}

/* Zen Recent Wisdom - Compact */
.zen-recent-wisdom {
  padding: var(--breath-large) 0;
}

.zen-wisdom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--breath-medium);
}

.zen-wisdom-card {
  background: white;
  border-radius: var(--border-zen);
  overflow: hidden;
  box-shadow: var(--shadow-whisper);
  transition: var(--transition-gentle);
}

.zen-wisdom-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gentle);
}

.zen-wisdom-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.zen-wisdom-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.zen-wisdom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-gentle);
}

.zen-wisdom-card:hover .zen-wisdom-image img {
  transform: scale(1.02);
}

.zen-wisdom-category {
  position: absolute;
  top: var(--breath-small);
  left: var(--breath-small);
}

.zen-small-badge {
  background: var(--sage-primary);
  color: white;
  padding: 3px var(--breath-small);
  border-radius: var(--border-zen);
  font-size: 0.75rem;
}

.zen-wisdom-content {
  padding: var(--breath-medium);
}

.zen-wisdom-title {
  font-size: 1.1rem;
  color: var(--text-charcoal);
  margin-bottom: var(--breath-small);
  line-height: 1.4;
}

.zen-wisdom-meta {
  display: flex;
  gap: var(--breath-small);
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Zen Journey Invitation - Compact */
.zen-journey-invitation {
  padding: var(--breath-large) 0;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-light));
  color: white;
  text-align: center;
}

.zen-invitation-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--breath-medium);
}

.zen-invitation-icon {
  font-size: 2rem;
  margin-bottom: var(--breath-small);
}

.zen-invitation-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--breath-small);
  font-weight: 300;
}

.zen-invitation-text {
  font-size: 1rem;
  margin-bottom: var(--breath-large);
  opacity: 0.9;
}

.zen-invitation-actions {
  display: flex;
  gap: var(--breath-small);
  justify-content: center;
  flex-wrap: wrap;
}

.zen-cta-button {
  display: inline-block;
  padding: var(--breath-small) var(--breath-medium);
  border-radius: var(--border-zen);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-gentle);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.zen-cta-primary {
  background: white;
  color: var(--sage-primary);
  border-color: white;
}

.zen-cta-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-1px);
}

.zen-cta-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.zen-cta-secondary:hover {
  background: white;
  color: var(--sage-primary);
  transform: translateY(-1px);
}

/* Zen No Content State */
.zen-no-content {
  text-align: center;
  padding: var(--breath-xl);
  color: var(--text-soft);
}

.zen-no-content-icon {
  font-size: 3rem;
  margin-bottom: var(--breath-medium);
  opacity: 0.7;
}

.zen-no-content-text {
  font-size: 1.1rem;
  font-style: italic;
}

/* Accessibility - Inclusive Peace */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}