/* ============================================
   Sai Baba Mandir Kookas — Design System
   A warm, devotional, temple-inspired palette
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --saffron: #E8760A;
  --saffron-light: #FF9F43;
  --saffron-glow: #FFB347;
  --maroon: #7B1F1F;
  --maroon-deep: #5A1515;
  --maroon-light: #9E3333;
  --gold: #D4A84B;
  --gold-light: #E8C97A;
  --gold-dark: #B8922E;

  /* Neutrals */
  --cream: #FFF8F0;
  --cream-warm: #FAF3E8;
  --off-white: #FFFDF9;
  --warm-gray: #4A3728;
  --warm-gray-light: #7A6A5C;
  --warm-gray-lighter: #B8A99A;
  --dark-bg: #2A1A0E;
  --text-primary: #3B2915;
  --text-secondary: #6B5B4D;
  --text-light: #F5EDE4;

  /* Semantic */
  --success: #4CAF50;
  --error: #E53935;
  --border: rgba(212, 168, 75, 0.2);
  --shadow-sm: 0 2px 8px rgba(74, 55, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 55, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 55, 40, 0.16);
  --shadow-gold: 0 4px 20px rgba(212, 168, 75, 0.2);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Mangal', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 72px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- 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(--text-primary);
  background-color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hindi text styling */
[lang="hi"],
.hindi-text,
.lang-hi {
  font-family: var(--font-hindi);
}

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

a {
  color: var(--saffron);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--maroon);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--maroon);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: translateY(-50%);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.hindi-subtitle {
  font-family: var(--font-hindi);
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

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

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--gold-light);
}

.section-dark p {
  color: var(--warm-gray-lighter);
}

.section-dark .section-label {
  color: var(--saffron-glow);
}

.section-maroon {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: var(--text-light);
}

.section-maroon h2,
.section-maroon h3 {
  color: var(--gold-light);
}

.section-maroon p {
  color: rgba(255, 255, 255, 0.8);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* --- Decorative Elements --- */
.divider-om {
  text-align: center;
  margin: var(--space-2xl) 0;
  font-size: 1.5rem;
  color: var(--gold);
  position: relative;
}

.divider-om::before,
.divider-om::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-om::before { left: 0; }
.divider-om::after { right: 0; }

.decorative-border {
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  position: relative;
}

.decorative-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}

/* Lotus pattern decorative strip */
.lotus-strip {
  height: 4px;
  background: linear-gradient(90deg,
    var(--saffron) 0%,
    var(--gold) 25%,
    var(--maroon) 50%,
    var(--gold) 75%,
    var(--saffron) 100%
  );
  border-radius: 2px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 248, 240, 0.98);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-brand .brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
}

.nav-brand .brand-name-hi {
  font-family: var(--font-hindi);
  font-size: 0.7rem;
  color: var(--gold-dark);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--saffron);
  background: rgba(232, 118, 10, 0.08);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--cream-warm);
  border-radius: var(--border-radius-full);
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-switcher button {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.lang-switcher button.active {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: white;
  box-shadow: 0 2px 8px rgba(232, 118, 10, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 26, 14, 0.3) 0%,
    rgba(42, 26, 14, 0.5) 40%,
    rgba(123, 31, 31, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 800px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(212, 168, 75, 0.3);
}

.hero-trust-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero .hindi-title {
  font-family: var(--font-hindi);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  font-weight: 300;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: white;
  box-shadow: 0 4px 15px rgba(232, 118, 10, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 118, 10, 0.4);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}

.btn-outline:hover {
  background: var(--saffron);
  color: white;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-deep);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--maroon-deep);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Quick Info Bar --- */
.quick-info {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  padding: var(--space-lg) 0;
  position: relative;
}

.quick-info .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.quick-info-item .icon {
  font-size: 1.2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.85rem;
}

.status-open {
  background: rgba(76, 175, 80, 0.2);
  color: #81C784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-closed {
  background: rgba(229, 57, 53, 0.2);
  color: #EF9A9A;
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.status-open .status-dot {
  background: #4CAF50;
}

.status-closed .status-dot {
  background: #E53935;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Cards --- */
.card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

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

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-xl);
}

.card-body h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.card-body p {
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

/* Info Card */
.info-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(232, 118, 10, 0.1), rgba(212, 168, 75, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Timings Table --- */
.timings-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.timings-table thead {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
}

.timings-table th {
  padding: var(--space-md) var(--space-lg);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.timings-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.timings-table tbody tr:hover {
  background: rgba(232, 118, 10, 0.04);
}

.timings-table tbody tr:last-child td {
  border-bottom: none;
}

.timings-table .highlight-row {
  background: rgba(232, 118, 10, 0.06);
  font-weight: 600;
}

/* --- Photo Strip --- */
.photo-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--cream);
}

.photo-strip::-webkit-scrollbar {
  height: 6px;
}

.photo-strip::-webkit-scrollbar-track {
  background: var(--cream);
  border-radius: 3px;
}

.photo-strip::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.photo-strip-item {
  flex: 0 0 300px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.photo-strip-item:hover img {
  transform: scale(1.05);
}

/* --- Rating Badge --- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-xl);
  transition: all var(--transition-base);
}

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

.rating-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.rating-score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maroon);
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Google Map --- */
.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 14, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: var(--space-xl); }
.lightbox-next { right: var(--space-xl); }

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: white;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 118, 10, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background: var(--dark-bg);
  color: var(--warm-gray-lighter);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.footer-brand .hindi-name {
  font-family: var(--font-hindi);
  color: var(--saffron-glow);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--warm-gray-lighter);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: var(--warm-gray-lighter);
  font-size: 0.85rem;
  padding: var(--space-xs) 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--saffron-glow);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.footer-contact-item .icon {
  color: var(--saffron-glow);
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--warm-gray-lighter);
  font-size: 0.8rem;
  margin: 0;
}

/* --- Event / Festival Cards --- */
.event-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.event-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--saffron), var(--gold));
}

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

.event-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: white;
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  min-width: 60px;
}

.event-date .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.event-date .day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.event-card .event-hindi {
  font-family: var(--font-hindi);
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

/* --- Testimonial Cards --- */
.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: var(--space-md);
  left: var(--space-xl);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  padding-top: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author .author-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.testimonial-author .author-rating {
  color: var(--gold);
  font-size: 0.75rem;
}

/* --- Seva / Donation Info --- */
.seva-card {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition-base);
}

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

.seva-card .seva-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 118, 10, 0.1), rgba(212, 168, 75, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-lg);
}

.seva-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

/* --- Visit / Etiquette Section --- */
.etiquette-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.etiquette-item .etiquette-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 118, 10, 0.1), rgba(212, 168, 75, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.etiquette-item h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.etiquette-item p {
  font-size: 0.85rem;
  margin: 0;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  padding: var(--space-4xl) 0 var(--space-3xl);
  margin-top: var(--nav-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A84B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  color: white;
  margin-bottom: var(--space-sm);
  position: relative;
}

.page-header .hindi-title {
  font-family: var(--font-hindi);
  color: var(--gold-light);
  font-size: 1.3rem;
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: var(--space-md) auto 0;
  position: relative;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  margin-bottom: var(--space-xl);
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--gold-light);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Navigation */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--off-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-xs);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
  }

  .nav-toggle {
    display: flex;
  }

  /* Grids */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Quick Info */
  .quick-info .container {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Photo strip */
  .photo-strip-item {
    flex: 0 0 250px;
    height: 160px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  /* Map */
  .map-container iframe {
    height: 280px;
  }

  /* Table responsive */
  .timings-table {
    font-size: 0.85rem;
  }

  .timings-table th,
  .timings-table td {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
  }

  .page-header {
    padding: var(--space-3xl) 0 var(--space-xl);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .photo-strip-item {
    flex: 0 0 200px;
    height: 140px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
}

/* --- Utility Classes --- */
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.py-1 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-2 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Click to call on mobile */
.click-to-call {
  display: none;
}

@media (max-width: 768px) {
  .click-to-call {
    display: inline-flex;
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: white;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(232, 118, 10, 0.4);
    animation: float 3s ease-in-out infinite;
  }
}

/* --- Notice/Placeholder marker for content that needs updating --- */
.placeholder-notice {
  background: rgba(232, 118, 10, 0.08);
  border: 1px dashed var(--saffron);
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  color: var(--saffron);
  font-style: italic;
}

/* Print styles */
@media print {
  .navbar, .footer, .click-to-call, .nav-toggle {
    display: none !important;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* Language visibility based on html lang attribute (prevents double text rendering before JS loads) */
html[lang="en"] [data-lang-hi] {
  display: none !important;
}
html[lang="hi"] [data-lang-en] {
  display: none !important;
}

