/* ═══════════════════════════════════════════════════════════
   Sri Bhagavathy Temple — Main Stylesheet
   Design: Devotional, Elegant, Traditional-Modern
   Color Palette: Deep Maroon, Saffron Gold, Cream, White
═══════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --maroon:       #6B1D1D;
  --maroon-dark:  #4A1010;
  --maroon-light: #8B2B2B;
  --gold:         #C9901A;
  --gold-light:   #E8B84B;
  --gold-pale:    #F5DFA0;
  --saffron:      #E07B30;
  --cream:        #FDF6EC;
  --cream-dark:   #F5E8D0;
  --white:        #FFFFFF;
  --text-dark:    #1A0A0A;
  --text-mid:     #4A2B2B;
  --text-light:   #7A5050;
  --border:       #D4A86A;
  --border-light: #EDD9B0;
  --shadow-sm:    0 2px 8px rgba(107,29,29,.10);
  --shadow-md:    0 6px 24px rgba(107,29,29,.15);
  --shadow-lg:    0 16px 48px rgba(107,29,29,.20);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   .3s ease;
  --font-display: 'Cinzel', serif;
  --font-body:    'Libre Baskerville', serif;
  --font-sans:    'Lato', sans-serif;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--maroon-dark);
  line-height: 1.25;
  font-weight: 600;
}

p { margin-bottom: 1rem; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.section-divider::before,
.section-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.section-divider::after { background: linear-gradient(to left, transparent, var(--gold)); }
.section-divider .om { font-size: 1.2rem; color: var(--gold); }
.section-subtitle { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,144,26,.35);
}
.btn-maroon {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-maroon:hover {
  background: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}
.btn-outline-maroon {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline-maroon:hover { background: var(--maroon); color: var(--white); }
.btn-sm { padding: .5rem 1.25rem; font-size: .78rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: .95rem; }

/* ─── NOTICE BANNER ─── */
.notice-banner {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
  color: var(--gold-pale);
  font-family: var(--font-sans);
  font-size: .85rem;
  padding: .6rem 0;
}
.notice-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.notice-banner i { margin-right: .5rem; color: var(--gold-light); }
.notice-banner button {
  background: none; border: none; color: var(--gold-pale);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}

/* ─── FLASH MESSAGES ─── */
.flash-message {
  padding: .75rem 0;
  font-family: var(--font-sans);
  font-size: .9rem;
}
.flash-message .container {
  display: flex; align-items: center; justify-content: space-between;
}
.flash-message button { background: none; border: none; cursor: pointer; font-size: 1.2rem; }
.flash-success { background: #d4edda; color: #155724; }
.flash-error   { background: #f8d7da; color: #721c24; }
.flash-info    { background: #d1ecf1; color: #0c5460; }
.flash-warning { background: #fff3cd; color: #856404; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* Header Top Bar */
.header-top {
  background: var(--maroon-dark);
  padding: .4rem 0;
  font-family: var(--font-sans);
  font-size: .82rem;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-contact { display: flex; gap: 1.5rem; }
.header-contact a { color: var(--cream-dark); }
.header-contact a:hover { color: var(--gold-light); }
.header-contact i { margin-right: .35rem; color: var(--gold); }
.header-social { display: flex; gap: .75rem; }
.header-social a {
  color: var(--cream-dark);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  font-size: .75rem;
  transition: all var(--transition);
}
.header-social a:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
}

/* Header Main */
.header-main { padding: .75rem 0; }
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; }
.logo-text { display: flex; align-items: center; gap: .75rem; }
.logo-om {
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(201,144,26,.4);
}
.logo-names { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  letter-spacing: .03em;
  line-height: 1.2;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: .7rem;
  color: var(--text-light);
  letter-spacing: .08em;
}
.logo-img { height: 60px; width: auto; }

/* Navigation */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav .nav-list > li { position: relative; }
.main-nav .nav-list > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li > a.active {
  color: var(--maroon);
  background: var(--cream);
}
.main-nav .nav-list > li > a .fa-chevron-down {
  font-size: .65rem;
  transition: transform var(--transition);
}
.main-nav .nav-list > li:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 200;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: .65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--cream); color: var(--maroon); padding-left: 1.5rem; }

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon-dark);
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: block; }

/* ─── HERO SECTION ─── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #2D0A0A 40%, var(--maroon) 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(201,144,26,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(224,123,48,.1) 0%, transparent 50%);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .25;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  width: 100%;
}
.hero-om {
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(201,144,26,.5);
  animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 20px rgba(201,144,26,.3); }
  to   { text-shadow: 0 0 40px rgba(201,144,26,.7), 0 0 80px rgba(201,144,26,.3); }
}
.hero-label {
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  line-height: 1.1;
}
.hero-title .accent { color: var(--gold-light); display: block; }
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  animation: bounce 2s ease infinite;
}
.hero-scroll i { display: block; font-size: 1.2rem; margin-top: .25rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ─── DECORATIVE DIVIDER ─── */
.deco-divider {
  text-align: center;
  padding: 2rem 0;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: .5em;
  opacity: .5;
}

/* ─── CARD COMPONENTS ─── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.1rem; margin-bottom: .5rem; color: var(--maroon-dark); }
.card-text { font-size: .9rem; color: var(--text-light); font-family: var(--font-sans); }
.card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-gold { background: var(--gold-pale); color: var(--gold); }
.badge-maroon { background: rgba(107,29,29,.1); color: var(--maroon); }
.badge-green { background: #d4edda; color: #155724; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-blue { background: #d1ecf1; color: #0c5460; }

/* ─── SECTIONS (common) ─── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.section-bg-cream { background: var(--cream); }
.section-bg-white { background: var(--white); }
.section-bg-maroon {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: var(--white);
}
.section-bg-maroon h2,
.section-bg-maroon h3 { color: var(--gold-light); }
.section-bg-maroon p { color: rgba(255,255,255,.85); }

/* ─── TIMINGS SECTION ─── */
.timing-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.timing-card:hover { box-shadow: var(--shadow-md); }
.timing-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.timing-info { flex: 1; }
.timing-title { font-family: var(--font-display); font-size: .95rem; color: var(--maroon-dark); margin-bottom: .2rem; }
.timing-time { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: .25rem; }
.timing-desc { font-family: var(--font-sans); font-size: .82rem; color: var(--text-light); }

/* ─── EVENT CARD ─── */
.event-card { display: flex; gap: 0; overflow: hidden; }
.event-date-box {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem 1.25rem;
  min-width: 90px;
  flex-shrink: 0;
}
.event-day { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.event-month { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-top: .2rem; }
.event-year { font-family: var(--font-sans); font-size: .7rem; opacity: .7; }
.event-body { padding: 1.25rem 1.5rem; flex: 1; }
.event-type { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; }
.event-title { font-size: 1rem; margin-bottom: .5rem; }
.event-time { font-family: var(--font-sans); font-size: .82rem; color: var(--text-light); }
.event-desc { font-family: var(--font-sans); font-size: .85rem; color: var(--text-mid); margin-top: .5rem; }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,16,16,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: .85rem;
}
.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-icon { opacity: 1; }

/* ─── FORM STYLES ─── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: .4rem;
}
.form-label .required { color: var(--saffron); }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,144,26,.15);
}
.form-control.is-invalid { border-color: #dc3545; }
.form-error { font-family: var(--font-sans); font-size: .8rem; color: #dc3545; margin-top: .3rem; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-section-title {
  font-size: 1rem;
  color: var(--maroon-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .5rem;
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}
.form-section-title:first-child { margin-top: 0; }

/* Payment Info Box */
.payment-info-box {
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.payment-qr {
  text-align: center;
}
.payment-qr img {
  max-width: 180px;
  margin: 0 auto 1rem;
  border: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: .5rem;
  background: white;
}
.payment-qr-placeholder {
  width: 160px; height: 160px;
  border: 3px dashed var(--gold);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
  font-size: .8rem;
  font-family: var(--font-sans);
  text-align: center;
  padding: 1rem;
}
.payment-qr-placeholder i { font-size: 2rem; margin-bottom: .5rem; }
.upi-id {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--maroon);
  background: var(--white);
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  display: inline-block;
  margin-top: .5rem;
}
.bank-details { margin-top: 1.5rem; }
.bank-details table { width: 100%; font-family: var(--font-sans); font-size: .88rem; }
.bank-details td { padding: .4rem .5rem; color: var(--text-mid); }
.bank-details td:first-child { font-weight: 700; color: var(--maroon-dark); width: 45%; }

/* ─── PAGE HERO / BANNER ─── */
.page-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::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='%23C9901A' 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");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold-light);
  margin-bottom: .75rem;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { opacity: .5; }

/* ─── ABOUT / CONTENT SECTIONS ─── */
.content-block { max-width: 800px; }
.content-block p { font-size: .95rem; line-height: 1.9; color: var(--text-mid); }
.deity-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.deity-card .deity-img {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(201,144,26,.3);
}
.deity-card .deity-placeholder {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 4px solid var(--gold);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(107,29,29,.3);
}
.deity-card .deity-title { font-size: .82rem; color: var(--gold); letter-spacing: .05em; margin-bottom: .25rem; font-family: var(--font-sans); }
.deity-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.deity-card p { font-size: .85rem; color: var(--text-light); font-family: var(--font-sans); }

/* ─── ANNOUNCEMENT CARD ─── */
.announcement-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}
.announcement-card:hover { box-shadow: var(--shadow-md); }
.announcement-card.priority-urgent { border-left-color: #dc3545; }
.announcement-card.priority-important { border-left-color: var(--saffron); }
.announcement-date {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: .25rem;
}
.announcement-title { font-size: 1rem; margin-bottom: .5rem; }
.announcement-desc { font-family: var(--font-sans); font-size: .88rem; color: var(--text-mid); }

/* ─── COMMITTEE ─── */
.committee-card { text-align: center; padding: 2rem 1.5rem; }
.committee-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 1rem;
}
.committee-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 3px solid var(--border);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
}
.committee-name { font-size: 1rem; margin-bottom: .2rem; }
.committee-designation { font-family: var(--font-sans); font-size: .82rem; color: var(--gold); font-weight: 700; }
.committee-role { font-family: var(--font-sans); font-size: .8rem; color: var(--text-light); margin-top: .25rem; }

/* ─── FACILITY CARD ─── */
.facility-card { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
.facility-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.facility-body h4 { font-size: .95rem; margin-bottom: .3rem; }
.facility-body p { font-family: var(--font-sans); font-size: .82rem; color: var(--text-light); margin: 0; }

/* ─── CONTACT SECTION ─── */
.contact-info-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: var(--white);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(201,144,26,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-info-body h5 { font-size: .85rem; color: var(--gold-light); margin-bottom: .2rem; }
.contact-info-body p, .contact-info-body a { font-family: var(--font-sans); font-size: .9rem; color: rgba(255,255,255,.85); margin: 0; }
.contact-info-body a:hover { color: var(--gold-light); }

/* ─── FOOTER ─── */
.site-footer { background: var(--maroon-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-om { font-size: 2rem; color: var(--gold); }
.footer-temple-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
}
.footer-about { font-family: var(--font-sans); font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); }
.footer-heading {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(201,144,26,.3);
}
.footer-links li { margin-bottom: .4rem; }
.footer-links a {
  font-family: var(--font-sans);
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: .25rem; }
.footer-links .fa-angle-right { font-size: .7rem; color: var(--gold); }
.footer-timings { font-family: var(--font-sans); font-size: .85rem; }
.footer-timings li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  border-bottom: 1px dotted rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}
.footer-timings li strong { color: var(--gold-light); }
.footer-link-more { font-family: var(--font-sans); font-size: .82rem; color: var(--gold); margin-top: .75rem; display: inline-block; }
.footer-link-more:hover { color: var(--gold-light); }
.footer-contact-list { font-family: var(--font-sans); font-size: .85rem; }
.footer-contact-list li {
  display: flex;
  gap: .75rem;
  padding: .4rem 0;
  color: rgba(255,255,255,.75);
  align-items: flex-start;
}
.footer-contact-list i { color: var(--gold); margin-top: .2rem; width: 14px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-family: var(--font-sans); font-size: .82rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a { font-family: var(--font-sans); font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-legal-links a:hover { color: var(--gold-light); }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ─── SUCCESS BOX ─── */
.success-box {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--maroon-dark);
}
.success-box h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.success-box .ref-number {
  background: var(--cream);
  border: 1px dashed var(--gold);
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--maroon);
  display: inline-block;
  margin: 1rem 0;
}

/* ─── INFO BOX ─── */
.info-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--text-mid);
}
.info-box-title { font-weight: 700; color: var(--maroon-dark); margin-bottom: .5rem; font-family: var(--font-display); font-size: .9rem; }

/* ─── GRID HELPERS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ─── ADVANCED RESPONSIVE COMPONENT GRIDS ─── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.counter-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition);
}
.counter-card:hover { transform: translateY(-3px); }
.counter-card .counter-icon {
  font-size: 2.2rem;
  margin-bottom: .75rem;
  display: block;
}
.counter-card .counter-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}
.counter-card .counter-lbl {
  font-family: var(--font-sans);
  font-size: .8rem;
  margin-top: .35rem;
}
.counter-card-maroon {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: white;
}
.counter-card-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
}
.counter-card-cream {
  background: var(--cream-dark);
  border: 1px solid var(--border);
}
.counter-card-white {
  background: var(--white);
  border: 1px solid var(--border-light);
}

@media (min-width: 901px) {
  .counter-card:nth-child(2) { margin-top: 1.5rem; }
  .counter-card:nth-child(3) { margin-top: -1.5rem; }
}

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

.payment-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.payment-bank {
  min-width: 0;
  width: 100%;
}

.deity-detail-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}
.deity-sidebar {
  width: 100%;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.deity-content {
  padding: 2.5rem;
}

.festival-detail-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.festival-date-badge {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  text-align: center;
}
.festival-content-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: start;
}
.festival-content {
  min-width: 0;
}
.festival-img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.mobile-nav-footer {
  display: none;
}

/* ─── LIGHTBOX ─── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: none; color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-family: var(--font-sans);
  font-size: .85rem;
  text-align: center;
}

/* ─── MAP ─── */
.map-embed {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }

/* ══════════════════════════════════════════════════
   RESPONSIVE DESIGN BREAKPOINTS
══════════════════════════════════════════════════ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
  .welcome-grid { gap: 2rem; }
}

/* Medium Screens / Small Tablets (max-width: 900px) */
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .deity-detail-card { grid-template-columns: 1fr; }
  .deity-sidebar { padding: 2rem 1.5rem; }
  .deity-content { padding: 1.75rem 1.5rem; }
  .festival-content-grid { grid-template-columns: 1fr; }
  .festival-img { width: 100%; height: 200px; order: -1; }
  .payment-grid { grid-template-columns: 1fr; }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  html { font-size: 15px; }

  /* Body scroll lock when mobile navigation is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-top {
    padding: .35rem 0;
  }
  .header-top-inner {
    justify-content: space-between;
    font-size: .75rem;
  }
  .header-contact {
    display: flex;
    gap: .75rem;
  }
  .header-contact a {
    font-size: .75rem;
  }
  .header-contact a:nth-child(2) {
    display: none; /* Hide email on narrow topbar */
  }
  .header-social {
    gap: .4rem;
  }
  .header-social a {
    width: 24px;
    height: 24px;
    font-size: .7rem;
  }

  .header-main {
    padding: .5rem 0;
  }
  .header-main-inner {
    gap: .75rem;
    position: relative;
  }

  .logo-om {
    font-size: 1.9rem;
  }
  .logo-main {
    font-size: .95rem;
    letter-spacing: .02em;
  }
  .logo-sub {
    font-size: .62rem;
  }

  .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: -.5rem;
    border-radius: var(--radius);
  }
  .mobile-menu-btn:focus-visible {
    outline: 2px solid var(--gold);
  }

  /* Offcanvas / Full-height Mobile Drawer */
  .main-nav {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 56px);
    max-height: calc(100vh - 56px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--gold);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease, visibility .3s;
    z-index: 999;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem .5rem;
  }
  .main-nav .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }
  .main-nav .nav-list > li > a {
    width: 100%;
    padding: .85rem .25rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--maroon-dark);
    justify-content: space-between;
    border-radius: 0;
  }
  .main-nav .nav-list > li > a:hover,
  .main-nav .nav-list > li > a.active {
    background: transparent;
    color: var(--gold);
  }
  .main-nav .nav-list > li > a .fa-chevron-down {
    font-size: .75rem;
    padding: .4rem;
    transition: transform var(--transition);
  }
  .has-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--gold);
  }

  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    border-radius: var(--radius);
    background: var(--cream);
    margin-bottom: .6rem;
    padding: .25rem 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.open .dropdown {
    display: block;
    animation: fadeIn .2s ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .dropdown li a {
    padding: .65rem 1rem .65rem 1.5rem;
    font-size: .88rem;
    color: var(--text-mid);
    border-bottom: 1px dashed rgba(201,144,26,.2);
  }
  .dropdown li:last-child a {
    border-bottom: none;
  }

  /* Mobile Nav Footer / CTA */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
    margin-top: .5rem;
  }
  .mobile-nav-footer .btn {
    width: 100%;
    justify-content: center;
    padding: .75rem 1rem;
    font-size: .85rem;
  }
  .mobile-nav-contact {
    display: flex;
    justify-content: space-around;
    padding-top: .5rem;
    font-family: var(--font-sans);
    font-size: .8rem;
    border-top: 1px dotted var(--border);
  }
  .mobile-nav-contact a {
    color: var(--maroon);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .35rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: calc(100vh - 56px);
    padding: 2.5rem 0 3.5rem;
  }
  .hero-content {
    padding: 1.5rem 1rem 2.5rem;
  }
  .hero-om {
    font-size: 2.5rem;
    margin-bottom: .5rem;
  }
  .hero-label {
    font-size: .75rem;
    letter-spacing: .2em;
    margin-bottom: .75rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: .92rem;
    margin-bottom: 2rem;
    padding: 0 .5rem;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: .75rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: .85rem 1.25rem;
    font-size: .88rem;
  }
  .hero-scroll {
    display: none; /* Hide scroll indicator on mobile to avoid overlapping CTAs */
  }

  /* Section Padding */
  .section-pad { padding: 3.25rem 0; }
  .section-pad-sm { padding: 2.25rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.4rem, 5.5vw, 1.85rem); }
  .section-subtitle { font-size: .9rem; padding: 0 .5rem; }

  /* Common Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-auto { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Counter Grid */
  .counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .counter-card {
    padding: 1.25rem .75rem;
  }
  .counter-card .counter-icon {
    font-size: 1.8rem;
    margin-bottom: .4rem;
  }
  .counter-card .counter-num {
    font-size: 1.5rem;
  }
  .counter-card .counter-lbl {
    font-size: .75rem;
  }

  /* Timings */
  .timing-card {
    padding: 1rem 1.1rem;
    gap: .9rem;
  }
  .timing-icon {
    width: 42px;
    height: 42px;
    font-size: .9rem;
  }
  .timing-title {
    font-size: .9rem;
  }
  .timing-time {
    font-size: 1rem;
  }
  .timing-desc {
    font-size: .8rem;
  }

  /* Festival & Event Cards */
  .festival-detail-card {
    grid-template-columns: 1fr;
  }
  .festival-date-badge {
    flex-direction: row;
    gap: .75rem;
    padding: .75rem 1.25rem;
  }
  .festival-date-badge span:first-child {
    font-size: 1.8rem !important;
  }
  .event-card {
    flex-direction: column;
  }
  .event-date-box {
    flex-direction: row;
    gap: .75rem;
    padding: .6rem 1.25rem;
    width: 100%;
  }
  .event-day {
    font-size: 1.6rem;
  }
  .event-month {
    margin-top: 0;
    font-size: .9rem;
  }
  .event-year {
    font-size: .8rem;
  }
  .event-body {
    padding: 1.25rem;
  }

  /* Payment Details Box */
  .payment-info-box {
    padding: 1.25rem;
  }
  .payment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .payment-qr {
    margin: 0 auto;
  }
  .payment-qr img {
    max-width: 160px;
  }
  .upi-id {
    font-size: .85rem;
    padding: .4rem 1rem;
    word-break: break-all;
    max-width: 100%;
  }
  .bank-details {
    margin-top: 1rem;
    text-align: left;
  }
  .bank-details table {
    font-size: .82rem;
  }
  .bank-details td {
    padding: .4rem .3rem;
    word-break: break-word;
  }
  .bank-details td:first-child {
    width: 40%;
  }

  /* Forms */
  .form-card {
    padding: 1.5rem 1.15rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    min-height: 46px;
    padding: .65rem .85rem;
  }
  textarea.form-control {
    min-height: 100px;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
  .gallery-overlay {
    opacity: 1; /* Always show caption subtly on touch screens */
    background: linear-gradient(to top, rgba(74,16,16,.75) 0%, transparent 60%);
    padding: .6rem;
  }
  .gallery-overlay span {
    font-size: .75rem;
  }
  .gallery-icon {
    font-size: 1rem;
    opacity: .8;
    top: auto;
    bottom: .6rem;
    right: .6rem;
    left: auto;
    transform: none;
  }

  /* Contact & Location */
  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-info-item {
    gap: .75rem;
    margin-bottom: 1.25rem;
  }
  .contact-info-icon {
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }
  .map-embed {
    height: 280px;
  }

  /* Footer */
  .footer-top {
    padding: 3rem 0 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col {
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-heading {
    text-align: center;
    border-bottom: 2px solid rgba(201,144,26,.3);
    padding-bottom: .6rem;
    margin-bottom: 1rem;
  }
  .footer-links a {
    justify-content: center;
  }
  .footer-contact-list li {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Breadcrumb */
  .page-hero {
    padding: 3rem 0 2rem;
  }
  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-hero .breadcrumb {
    font-size: .78rem;
    flex-wrap: wrap;
  }

  /* Back to Top button on mobile */
  .back-to-top {
    right: 1rem;
    bottom: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 .9rem;
  }
  .header-main-inner {
    gap: .5rem;
  }
  .logo-text {
    gap: .5rem;
  }
  .logo-om {
    font-size: 1.7rem;
  }
  .logo-main {
    font-size: .88rem;
  }
  .logo-sub {
    display: none; /* Hide year/location subtitle on extra-small screens so temple name has room */
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }
  .counter-card {
    padding: 1rem .5rem;
  }
  .counter-card .counter-num {
    font-size: 1.35rem;
  }
  .counter-card .counter-lbl {
    font-size: .7rem;
  }

  .btn {
    padding: .65rem 1.25rem;
    font-size: .8rem;
  }
  .btn-lg {
    padding: .75rem 1.5rem;
    font-size: .85rem;
  }

  .card-footer {
    padding: .75rem 1rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: .6rem;
  }
  .card-footer .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* 1 col on ultra-narrow phones */
  }

  .about-tab {
    width: 100%;
    margin-bottom: .25rem !important;
    border-radius: var(--radius) !important;
  }
}
