/* ============================================
   Shri Siddh Talwaar Wale Hanuman Ji - CSS
   Light & Professional Temple Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Sanskrit:ital@0;1&family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --saffron:      #E8621A;
  --saffron-dark: #C04E10;
  --saffron-light:#FFF0E5;
  --gold:         #D4A017;
  --gold-light:   #FFF8E1;
  --maroon:       #7B1E1E;
  --cream:        #FDFAF5;
  --warm-white:   #FFFFFF;
  --text-dark:    #1E1410;
  --text-body:    #4A3728;
  --text-light:   #8B7355;
  --border:       #E8D5B7;
  --shadow-sm:    0 2px 12px rgba(232,98,26,.10);
  --shadow-md:    0 8px 32px rgba(232,98,26,.15);
  --shadow-lg:    0 20px 60px rgba(232,98,26,.20);
  --radius:       12px;
  --radius-lg:    20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--text-dark);
  line-height: 1.3;
}

.hindi-text { font-family: 'Tiro Devanagari Sanskrit', serif; }

img { max-width: 100%; height: auto; }

a { text-decoration: none; color: inherit; }

/* ── Utility ─────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--maroon);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  margin-top: 12px;
  font-size: 1.05rem;
}

.btn-primary-temple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff !important;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(232,98,26,.35);
  transition: all .3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary-temple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,98,26,.45);
}

.btn-outline-temple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--saffron) !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid var(--saffron);
  transition: all .3s ease;
}
.btn-outline-temple:hover {
  background: var(--saffron);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ── Top Bar ─────────────────────────────── */
.top-bar {
  background: linear-gradient(135deg, var(--maroon), #5A1515);
  color: #fff;
  padding: 8px 0;
  font-size: .82rem;
}
.top-bar a { color: #FFD89B; }
.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  transition: background .3s;
  color: #fff;
}
.top-bar .social-links a:hover { background: var(--saffron); }

/* ── Navbar ──────────────────────────────── */
.navbar {
  background: var(--warm-white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.brand-logo-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 14px rgba(232,98,26,.3);
}
.brand-text h6 {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.brand-text small {
  font-size: .68rem;
  color: var(--text-light);
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 24px 16px !important;
  font-size: .88rem;
  letter-spacing: .3px;
  transition: color .3s;
  border-bottom: 3px solid transparent;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--saffron) !important;
  border-bottom-color: var(--saffron);
}
.nav-donate-btn {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  margin: 14px 0 14px 10px !important;
  border-bottom: none !important;
  box-shadow: 0 4px 14px rgba(232,98,26,.35);
}
.nav-donate-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Hero Slider ─────────────────────────── */
.hero-section { position: relative; overflow: hidden; }
.hero-carousel .carousel-item { height: 90vh; min-height: 550px; }
.hero-carousel .carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(90,21,21,.7) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 620px;
}
.hero-caption .jai-text {
  font-size: 1rem;
  letter-spacing: 4px;
  color: #FFD89B;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.hero-caption h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: 10px;
}
.hero-caption .hindi-title {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1.6rem;
  color: #FFD89B;
  display: block;
  margin-bottom: 20px;
}
.hero-caption p {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 30px;
}

/* ── Info Strip ──────────────────────────── */
.info-strip {
  background: linear-gradient(135deg, var(--maroon), #6B1818);
  color: #fff;
  padding: 18px 0;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.info-item:last-child { border-right: none; }
.info-item .icon { font-size: 1.5rem; color: #FFD89B; }
.info-item h6 { font-size: .75rem; opacity: .7; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.info-item p { margin: 0; font-size: .9rem; font-weight: 600; }

/* ── Donation Section ────────────────────── */
.donation-section {
  background: linear-gradient(135deg, #FFF8F0, #FFF0E0);
  border-top: 4px solid var(--saffron);
  border-bottom: 4px solid var(--saffron);
  position: relative;
  overflow: hidden;
}
.donation-section::before {
  content: '🙏';
  position: absolute;
  font-size: 12rem;
  opacity: .04;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
}
.donation-highlight-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.donation-section h2 {
  font-size: 2.2rem;
  color: var(--maroon);
  margin-bottom: 10px;
}
.donation-amounts .amount-btn {
  background: var(--warm-white);
  border: 2px solid var(--border);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
}
.donation-amounts .amount-btn:hover,
.donation-amounts .amount-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232,98,26,.3);
}
.donation-types .type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  color: var(--text-body);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
  transition: all .25s;
  margin: 4px;
}
.donation-types .type-badge:hover,
.donation-types .type-badge.active {
  border-color: var(--saffron);
  background: var(--saffron-light);
  color: var(--saffron);
}
.donation-form-wrap {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-label { font-weight: 600; color: var(--text-dark); font-size: .88rem; }
.form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text-dark);
  transition: border-color .25s;
}
.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232,98,26,.12);
}
.payment-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pay-method {
  flex: 1; min-width: 100px;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  font-size: .8rem;
  font-weight: 600;
}
.pay-method:hover, .pay-method.active {
  border-color: var(--saffron);
  background: var(--saffron-light);
}
.pay-method i { display: block; font-size: 1.4rem; margin-bottom: 4px; color: var(--saffron); }
.donor-list { margin-top: 24px; }
.donor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--cream);
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--saffron);
}
.donor-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.total-collected {
  background: linear-gradient(135deg, var(--maroon), #5A1515);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}
.total-collected h3 { color: #FFD89B; font-size: 2rem; margin-bottom: 4px; }

/* ── Events Section ──────────────────────── */
.events-section { background: var(--warm-white); }
.event-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  transition: all .3s ease;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.event-card-img { height: 200px; overflow: hidden; position: relative; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .event-card-img img { transform: scale(1.05); }
.event-type-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--saffron);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-date-box {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  min-width: 60px;
}
.event-date-box .day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date-box .month { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; }
.event-card-body { padding: 20px; }
.event-card-body h5 { font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }

/* ── About Section ───────────────────────── */
.about-section { background: linear-gradient(135deg, #FFF8F2, var(--cream)); }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.about-badge h3 { font-size: 2rem; color: #fff; margin: 0; }
.about-badge p { margin: 0; font-size: .82rem; opacity: .85; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.about-feature-icon {
  width: 44px; height: 44px;
  background: var(--saffron-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-feature h6 { font-size: .92rem; color: var(--text-dark); margin-bottom: 4px; }
.about-feature p { font-size: .85rem; color: var(--text-light); margin: 0; }

/* ── Stats ───────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--maroon), #4A1010);
  color: #fff;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item h2 { font-size: 2.8rem; color: #FFD89B; margin-bottom: 4px; }
.stat-item p { margin: 0; opacity: .8; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ── Gallery ─────────────────────────────── */
.gallery-section { background: var(--cream); }
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(232,98,26,.0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  color: #fff; font-size: 2rem;
  opacity: 0;
}
.gallery-item:hover .gallery-overlay { background: rgba(232,98,26,.55); opacity: 1; }

/* ── Footer ──────────────────────────────── */
.footer {
  background: linear-gradient(135deg, #1E0E0E, #2D1010);
  color: #fff;
  padding: 60px 0 0;
}
.footer h5 {
  font-family: 'Cinzel', serif;
  color: #FFD89B;
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer p, .footer a { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer a:hover { color: #FFD89B; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  margin-top: 40px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-links li { margin-bottom: 8px; }
.footer-links li::before { content: '→ '; color: var(--saffron); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item .fi { color: var(--saffron); margin-top: 3px; flex-shrink: 0; }

/* ── Marquee ─────────────────────────────── */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .5px;
}
.marquee-strip span { display: inline-block; animation: marqueeAnim 30s linear infinite; padding-left: 100%; }
@keyframes marqueeAnim { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ── Responsive ──────────────────────────── */
@media (max-width: 992px) {
  .hero-caption h1 { font-size: 2rem; }
  .hero-carousel .carousel-item { height: 70vh; }
  .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
}
@media (max-width: 768px) {
  .section-pad { padding: 50px 0; }
  .hero-caption { left: 5%; max-width: 90%; }
  .hero-caption h1 { font-size: 1.6rem; }
  .hero-caption .hindi-title { font-size: 1.2rem; }
  .donation-form-wrap { padding: 20px; }
  .donation-section h2 { font-size: 1.7rem; }
}

/* ── Scroll to top ───────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,98,26,.4);
  font-size: 1.2rem;
  z-index: 999;
  transition: transform .3s;
}
#scrollTop:hover { transform: translateY(-3px); }

/* ── WhatsApp float ──────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px; right: 28px;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ── Modal ───────────────────────────────── */
.modal-temple .modal-header {
  background: linear-gradient(135deg, var(--maroon), #5A1515);
  color: #fff;
}
.modal-temple .modal-title { font-family: 'Cinzel', serif; }

/* ── Loader ──────────────────────────────── */
#pageLoader {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .5s;
}
#pageLoader .loader-om {
  font-size: 4rem;
  animation: spin 2s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }