/* ============================================
   SWAMI BODHI CHETAN - Spiritual Theme CSS
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-cream: #FFF9F0;
  --color-cream-dark: #FFF0E0;
  --color-gold: #D4A574;
  --color-gold-light: #E8C9A0;
  --color-lavender: #B8A9C9;
  --color-lavender-light: #D4C8E2;
  --color-lavender-dark: #9A88B0;
  --color-sage: #A8C5A0;
  --color-sage-light: #C5DBC0;
  --color-charcoal: #2D2D2D;
  --color-charcoal-light: #4A4A4A;
  --color-white: #FFFFFF;
  --color-shadow: rgba(184, 169, 201, 0.2);
  
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  
  --shadow-soft: 0 4px 20px var(--color-shadow);
  --shadow-card: 0 8px 32px var(--color-shadow);
  --shadow-hover: 0 12px 40px rgba(184, 169, 201, 0.35);
  
  --transition-smooth: all 0.3s ease;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-charcoal-light);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-lavender-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 700;
}

.navbar-brand:hover {
  color: var(--color-lavender-dark);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-menu a {
  color: var(--color-charcoal);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition-smooth);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-gold);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-lavender-light) 50%, var(--color-cream-dark) 100%);
  overflow: hidden;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-lavender-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--color-charcoal-light);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-lavender);
  color: var(--color-lavender-dark);
}

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

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-lavender));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-bg-alt {
  background: var(--color-cream-dark);
}

/* --- About Section --- */
.about-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-card p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  list-style: none;
}

.benefits-list li {
  padding: 1rem;
  background: var(--color-cream);
  border-radius: var(--border-radius);
  text-align: center;
}

.benefits-list li::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Practices Grid --- */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.practice-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  text-align: center;
}

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

.practice-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.practice-icon svg {
  width: 100%;
  height: 100%;
}

.practice-card h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.practice-card p {
  font-size: 0.95rem;
}

.practice-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-lavender-dark);
  font-weight: 600;
}

.practice-link:hover {
  color: var(--color-gold);
}

/* --- Schedule Preview --- */
.schedule-preview {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.schedule-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-cream-dark);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-date {
  min-width: 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-lavender-light), var(--color-lavender));
  border-radius: var(--border-radius);
  padding: 1rem;
  color: var(--color-white);
  font-weight: 600;
}

.schedule-date .day {
  font-size: 1.75rem;
  display: block;
}

.schedule-date .month {
  font-size: 0.875rem;
}

.schedule-info h4 {
  margin-bottom: 0.25rem;
  color: var(--color-charcoal);
}

.schedule-info p {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

/* --- Master Teaser --- */
.master-teaser {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.master-photo {
  flex: 0 0 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-lavender-light), var(--color-sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.master-photo svg {
  width: 60%;
  height: 60%;
  opacity: 0.6;
}

.master-info h2 {
  color: var(--color-gold);
}

.master-info p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p, .footer a {
  color: var(--color-cream);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--color-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.mandala-bg {
  position: absolute;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.mandala-bg.top-left {
  top: 5%;
  left: 5%;
  width: 300px;
}

.mandala-bg.bottom-right {
  bottom: 5%;
  right: 5%;
  width: 400px;
  animation-delay: -10s;
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.25rem; }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .master-teaser {
    flex-direction: column;
    text-align: center;
  }
  
  .master-photo {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  
  .practices-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}
