/* Yognikshala Yoga Institute - Global Style Sheet */

:root {
  --primary-forest: #2D483A;
  --sage-accent: #4A6B5D;
  --sage-light: #E8F3EE;
  --gold-accent: #D4A359;
  --bg-cream: #FAF8F5;
  --card-white: #FFFFFF;
  --text-dark: #2D483A;
  --text-muted: #5C5247;
  --border-subtle: #E8E2D9;
  --shadow-sm: 0 2px 8px rgba(45, 72, 58, 0.06);
  --shadow-md: 0 6px 20px rgba(45, 72, 58, 0.1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Banner */
.top-announcement {
  background-color: var(--sage-accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-align: center;
}

.sanskrit-banner {
  background-color: #23392E;
  color: var(--gold-accent);
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-serif);
  border-bottom: 1px solid rgba(212, 163, 89, 0.3);
}

.sanskrit-shloka {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sanskrit-meaning {
  font-size: 0.75rem;
  color: #D8E4DE;
  font-style: italic;
  margin-top: 0.15rem;
}

ul, ol, li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none !important;
}

/* Header Navbar */
.site-header {
  background: var(--card-white);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-forest);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-forest);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-forest);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--sage-accent);
  background-color: var(--sage-light);
}

.status-badge-active {
  background-color: #E6F4EA;
  color: #137333;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.status-badge-inactive {
  background-color: #FCE8E6;
  color: #C5221F;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 0.5rem;
  }
  .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.45rem;
  }
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  nav#mainNavbar {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary-forest);
    padding: 1rem 1.5rem;
  }

  nav#mainNavbar.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
  }

  .nav-action-btn {
    display: none;
  }
}

.btn-primary {
  background-color: var(--primary-forest);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-gold {
  background-color: var(--gold-accent);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background-color: #c19148;
}

.btn-outline {
  border: 1.5px solid var(--primary-forest);
  color: var(--primary-forest);
  background: transparent;
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--sage-light);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #FAF8F5 0%, #E8F3EE 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--primary-forest);
  margin-bottom: 1.2rem;
}

.hero-subheadline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.card {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background-color: var(--sage-light);
  color: var(--sage-accent);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* Stats Section */
.stats-bar {
  background-color: var(--primary-forest);
  color: #ffffff;
  padding: 3rem 0;
  margin: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.stat-label {
  font-size: 0.9rem;
  color: #D8E4DE;
}

/* Footer */
.site-footer {
  background-color: #1F3329;
  color: #E8F3EE;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #D8E4DE;
  font-size: 0.88rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(232, 243, 238, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #A8A095;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary-forest);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25D366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  font-size: 1.8rem;
}

