/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --saffron: #FF8C00;
  --saffron-dark: #E67E00;
  --saffron-light: #FFB347;
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #B8962E;
  --maroon: #8B0000;
  --maroon-dark: #5C0000;
  --cream: #FFF8E1;
  --cream-dark: #F5ECD7;
  --white: #FFFFFF;
  --off-white: #FFFAF0;
  --dark: #1A0A00;
  --text: #3E2723;
  --text-light: #6D4C41;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  --font-sanskrit: 'Tiro Devanagari Sanskrit', serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--saffron); color: var(--white); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-sanskrit);
  color: var(--saffron);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 15px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.divider span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider i {
  color: var(--saffron);
  font-size: 1.2rem;
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s, visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-om {
  font-family: var(--font-sanskrit);
  font-size: 4rem;
  color: var(--saffron);
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--cream-dark);
  border-radius: 3px;
  margin: 20px auto 0;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 3px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

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

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--saffron);
  color: var(--white);
  padding: 12px 24px;
  z-index: 100000;
  font-weight: 600;
}

.skip-link:focus { top: 0; }

/* ===== MUSIC TOGGLE ===== */
#music-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  gap: 2px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

#music-toggle i { font-size: 1.2rem; }

#music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 140, 0, 0.5);
}

#music-toggle.active {
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
}

/* ===== WHATSAPP BUTTON ===== */
#whatsapp-btn {
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

#whatsapp-btn i {
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  transition: var(--transition);
  background: transparent;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10001;
}

.logo-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
  line-height: 1.2;
}

#header.scrolled .logo-title {
  color: var(--maroon);
}

.logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

#header.scrolled .logo-sub {
  color: var(--text-light);
}

/* ===== NAVIGATION ===== */
#navbar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links {
  display: flex;
  gap: 5px;
}

.nav-links a {
  padding: 8px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 6px;
  position: relative;
  letter-spacing: 0.3px;
}

#header.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active {
  background: rgba(255, 140, 0, 0.12);
  color: var(--saffron-dark);
}

.btn-donate-nav {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10001;
}

#hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

#header.scrolled #hamburger span {
  background: var(--text);
}

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

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 10, 0, 0.85) 0%,
    rgba(139, 0, 0, 0.6) 40%,
    rgba(255, 140, 0, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 900px;
}

.hero-om {
  font-family: var(--font-sanskrit);
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-location {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 35px;
}

.hero-location i {
  color: var(--gold);
  margin-right: 8px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 140, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-scroll {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.hero-scroll i {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s;
}

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

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--maroon);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== POOJA SECTION ===== */
.pooja-section {
  background: var(--cream);
}

.pooja-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pooja-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

.pooja-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--saffron);
  transition: var(--transition);
}

.pooja-card:hover .pooja-icon {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  transform: rotateY(180deg);
}

.pooja-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 10px;
}

.pooja-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.pooja-time {
  display: block;
  font-size: 0.85rem;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-book {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
}

/* ===== BOOKING SECTION ===== */
.booking-section {
  background: var(--white);
}

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-info-card {
  background: var(--cream);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

.booking-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.booking-info-card i {
  font-size: 1.5rem;
  color: var(--saffron);
  margin-bottom: 10px;
}

.booking-info-card h4 {
  font-family: var(--font-primary);
  color: var(--maroon);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.booking-info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== FORMS ===== */
.booking-form,
.donation-form,
.contact-form {
  background: var(--cream);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 5px;
}

/* ===== DONATIONS SECTION ===== */
.donation-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: var(--white);
}

.donation-section .section-subtitle {
  color: var(--gold-light);
}

.donation-section .section-header h2 {
  color: var(--white);
}

.donation-section .divider span {
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.donation-section .divider i {
  color: var(--gold-light);
}

.donation-content {
  max-width: 900px;
  margin: 0 auto;
}

.donation-text {
  text-align: center;
  margin-bottom: 40px;
}

.donation-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 20px;
}

.donation-benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.benefit i {
  color: var(--gold);
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.donation-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
}

.donation-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}

.donation-card.featured {
  background: rgba(255,255,255,0.14);
  border-color: var(--gold);
  position: relative;
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--white);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.donation-card h4 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.donation-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.btn-donate {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.donation-form-wrap {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px;
}

.donation-form-wrap h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

.donation-form-wrap .form-group label {
  color: var(--white);
  opacity: 0.9;
}

.donation-form-wrap .form-group input,
.donation-form-wrap .form-group textarea,
.donation-form-wrap .form-group select {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.donation-form-wrap .form-group input::placeholder,
.donation-form-wrap .form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.donation-form-wrap .form-group input:focus,
.donation-form-wrap .form-group textarea:focus,
.donation-form-wrap .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.donation-form-wrap .donation-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.donation-form-wrap .donation-form .form-group input,
.donation-form-wrap .donation-form .form-group textarea,
.donation-form-wrap .donation-form .form-group select {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.donation-form-wrap .donation-form .form-group label {
  color: var(--white);
  opacity: 0.9;
}

.donation-form-wrap .form-group select option {
  background: var(--maroon);
  color: var(--white);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--white);
}

.gallery-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-slider {
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
}

.gallery-slide {
  min-width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--maroon);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 10;
}

.gallery-nav:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: -25px;
}

.gallery-nav.next {
  right: -25px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream-dark);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dots span.active {
  background: var(--saffron);
  width: 30px;
  border-radius: 6px;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background: var(--cream);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}
.event-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.event-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.event-date {
  text-align: center;
  min-width: 70px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  border-radius: 10px;
  padding: 12px 8px;
  height: fit-content;
  flex-shrink: 0;
}

.event-day {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.event-info {
  flex: 1;
}

.event-info h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.event-meta span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.event-meta i {
  color: var(--saffron);
  width: 16px;
  margin-right: 4px;
}

.event-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--saffron);
  transition: var(--transition);
}

.event-card:hover .event-link {
  gap: 10px;
  color: var(--maroon);
}

.event-link i {
  font-size: 0.75rem;
  transition: var(--transition);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-card h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--maroon);
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--saffron);
}

.contact-form h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--maroon);
  margin-bottom: 25px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo-icon {
  font-size: 2rem;
}

.footer-logo h3 {
  font-family: var(--font-primary);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.2;
}

.footer-logo p {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.footer-motto {
  font-family: var(--font-sanskrit);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-primary);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-services a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before,
.footer-services a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact li i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-left p {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-bottom-right a:hover {
  opacity: 1;
  color: var(--gold);
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 160px;
  right: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--saffron);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon i {
  font-size: 1.5rem;
  color: var(--saffron);
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
/* ===== PAGE BANNER (sub-pages) ===== */
.page-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.page-banner .hero-overlay {
  background: linear-gradient(135deg, rgba(26, 10, 0, 0.88) 0%, rgba(139, 0, 0, 0.65) 50%, rgba(255, 140, 0, 0.3) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.page-banner-content h1 {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-banner-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 300;
}

@media (max-width: 768px) {
  .page-banner { min-height: 40vh; }
  .page-banner-content h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .page-banner { min-height: 35vh; }
  .page-banner-content h1 { font-size: 1.8rem; }
}

@media (max-width: 1024px) {
  .pooja-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .booking-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.8rem; }
  .donation-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 5px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    color: var(--text) !important;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 140, 0, 0.1) !important;
    color: var(--saffron-dark) !important;
  }
  .btn-donate-nav { display: none; }
  .section { padding: 70px 0; }
  .section-header h2 { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-om { font-size: 3rem; }
  .about-image img { height: 300px; }
  .pooja-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .donation-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-slide img { height: 350px; }
  .gallery-nav { width: 40px; height: 40px; font-size: 1rem; }
  .gallery-nav.prev { left: -15px; }
  .gallery-nav.next { right: -15px; }
  .booking-form, .donation-form-wrap, .contact-form { padding: 25px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-number { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.8rem; }
  .about-stats { grid-template-columns: 1fr; }
  .about-image img { height: 250px; }
  .gallery-slide img { height: 280px; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { justify-content: center; }
  .donation-benefits { flex-direction: column; align-items: center; }
  #music-toggle, #whatsapp-btn, #back-to-top { width: 44px; height: 44px; }
  #music-toggle { bottom: 80px; font-size: 0.55rem; }
  #music-toggle i { font-size: 1rem; }
  #whatsapp-btn { bottom: 135px; font-size: 1.3rem; }
}

@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
