/* ==========================================================================
   BHAVALAYA BHAJAN UK - MASTER STYLESHEET
   Antique Gold, Sandalwood & Devotional Elegance Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Marcellus&display=swap');

:root {
  /* Antique Gold & Sandalwood Palette */
  --gold-primary: #C4820F;
  --gold-light: #DF9B26;
  --gold-lighter: #F5DEB3;
  --gold-pale: #FCF7EE;
  --gold-deep: #966107;
  --gold-border: #E8D3A7;
  --gold-gradient: linear-gradient(135deg, #DF9B26 0%, #C4820F 50%, #9B6205 100%);
  --gold-foil: linear-gradient(135deg, #FFE89E 0%, #D89F38 40%, #B27B17 70%, #FFE48F 100%);
  --gold-glow: 0 4px 20px rgba(196, 130, 15, 0.28);
  --gold-glow-lg: 0 8px 32px rgba(196, 130, 15, 0.4);

  /* Backgrounds & Neutrals */
  --bg-body: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FDFBF8;
  --bg-pill: #F7EFE1;
  --bg-overlay: rgba(26, 17, 10, 0.65);

  /* Text & Accents */
  --text-dark: #2A1D13;
  --text-muted: #6B5B4E;
  --text-light: #8E7D6E;
  --text-gold: #C4820F;
  --text-on-dark: #FAF7F2;

  /* Borders & Shadows */
  --border-light: #EFE4D2;
  --border-accent: #E2CEAD;
  --shadow-sm: 0 2px 8px rgba(42, 29, 19, 0.05);
  --shadow-md: 0 6px 20px rgba(42, 29, 19, 0.08);
  --shadow-lg: 0 12px 36px rgba(42, 29, 19, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-classical: 'Cinzel', 'Marcellus', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Mandala Flourishes */
body::before, body::after {
  content: '';
  position: fixed;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.05;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

body::before {
  top: 60px;
  left: -80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23C4820F' stroke-width='1.5' stroke-dasharray='4,4'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23C4820F' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23C4820F' stroke-width='1'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M18 18 L82 82 M18 82 L82 18' stroke='%23C4820F' stroke-width='0.8'/%3E%3C/svg%3E");
}

body::after {
  bottom: 40px;
  right: -80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23C4820F' stroke-width='1.5'/%3E%3Cpolygon points='50,10 62,38 90,50 62,62 50,90 38,62 10,50 38,38' fill='none' stroke='%23C4820F' stroke-width='1.2'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  transition: all 0.25s ease;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(42, 29, 19, 0.04);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.lotus-logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-classical);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  line-height: 1.1;
}

.brand-subname {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Main Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-primary);
  border-radius: 2px;
}

/* Nav Actions (Search & Donate) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-btn:hover {
  background: var(--gold-deep);
  transform: scale(1.05);
}

/* Prominent Donate Button */
.btn-donate-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(196, 130, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.btn-donate-nav .heart-icon {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
  transition: transform 0.2s ease;
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-lg);
  color: #FFFFFF;
}

.btn-donate-nav:hover .heart-icon {
  transform: scale(1.2);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  background-color: #1A130D;
  background-image: url('/static/images/hero_kerala_lamp.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(18, 12, 8, 0.88) 0%, 
    rgba(18, 12, 8, 0.72) 42%, 
    rgba(18, 12, 8, 0.25) 75%, 
    rgba(18, 12, 8, 0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-divider-icon {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.hero-divider-line {
  width: 60px;
  height: 2px;
  background: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: 0 4px 16px rgba(196, 130, 15, 0.4);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-lg);
  color: #FFFFFF;
}

.btn-translucent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  background: rgba(30, 20, 14, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.96rem;
  transition: all 0.25s ease;
}

.btn-translucent:hover {
  background: rgba(45, 30, 20, 0.85);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   FEATURE PILLS ROW
   ========================================================================== */
.feature-row {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.feature-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-primary);
}

.feature-pill-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.feature-pill-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* ==========================================================================
   TWO COLUMN SECTION: PERFORMANCE & EVENTS
   ========================================================================== */
.home-main-section {
  padding: 20px 0 50px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 8px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  color: var(--gold-deep);
  transform: translateX(2px);
}

/* Video Card */
.video-card {
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.video-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb-container:hover .video-thumb-img {
  transform: scale(1.03);
}

.video-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  z-index: 2;
}

.video-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: #FF0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.video-thumb-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #CC0000;
}

.video-yt-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(28, 28, 28, 0.85);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

/* Video Thumb Carousel */
.video-carousel-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.video-mini-thumb {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.video-mini-thumb.active, .video-mini-thumb:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.video-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.carousel-arrow-btn:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
}

/* Event List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

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

.event-date-badge {
  background: var(--bg-pill);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  min-width: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.event-day {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
  margin: 2px 0;
}

.event-year {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.event-thumb-wrap {
  width: 78px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.event-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details-wrap {
  flex: 1;
}

.event-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.event-venue {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-datetime {
  font-size: 0.76rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.btn-view-details {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-view-details:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   LOWER SECTION: ABOUT & TEAM
   ========================================================================== */
.about-team-section {
  padding: 30px 0 60px 0;
  border-top: 1px solid var(--border-light);
}

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

.about-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}

.about-mandala-img-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.mandala-border-svg {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  animation: rotateSlow 60s linear infinite;
  pointer-events: none;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-img-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-light);
  box-shadow: var(--gold-glow);
}

.about-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content-wrap {
  flex: 1;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
}

.about-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 6px;
}

.about-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Team Carousel */
.team-section-wrap {
  display: flex;
  flex-direction: column;
}

.team-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-members-row {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px;
}

.team-member-card {
  text-align: center;
  flex: 0 0 80px;
}

.team-avatar-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-border);
  margin: 0 auto 6px auto;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-avatar-wrap:hover {
  transform: scale(1.08);
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   DONATE PAGE SPECIFIC STYLES (/donate)
   ========================================================================== */
.donate-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-body) 100%);
  padding: 44px 0 24px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.donate-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.donate-main-heading {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.donate-supporting-text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.donate-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  padding: 40px 0 70px 0;
  align-items: start;
}

/* Lamp Showcase Card */
.lamp-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.lamp-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.lamp-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lamp-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(22, 14, 8, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 155, 38, 0.4);
}

.lamp-badge-title {
  font-family: var(--font-classical);
  font-size: 0.96rem;
  color: var(--gold-lighter);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lamp-badge-quote {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-top: 4px;
}

.lamp-details-body {
  padding: 24px;
}

.devotional-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.devotional-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.devotional-bullet-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Donation Form Card */
.donation-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.form-header-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

.currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-pill);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
}

/* Amount Selector Grid */
.amount-selector-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: block;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-pill-btn {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.amount-pill-btn:hover {
  border-color: var(--gold-primary);
  background: var(--gold-pale);
}

.amount-pill-btn.active {
  border-color: var(--gold-primary);
  background: var(--gold-pale);
  color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(196, 130, 15, 0.15);
}

/* Custom Amount Input */
.custom-amount-wrapper {
  margin-bottom: 24px;
}

.input-currency-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-currency-symbol {
  position: absolute;
  left: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  pointer-events: none;
}

.custom-amount-input {
  width: 100%;
  padding: 12px 16px 12px 38px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 130, 15, 0.15);
}

/* Donor Info Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #FFFFFF;
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(196, 130, 15, 0.15);
}

/* PayPal Button Container */
.paypal-checkout-container {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.paypal-btn-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.paypal-badge-recipient {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

#paypal-button-container {
  min-height: 48px;
}

/* Voluntary Contribution & Gift Aid Notice */
.donation-compliance-notice {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.compliance-icon {
  color: var(--gold-primary);
  margin-right: 6px;
}

/* Sandbox Test Runner Bar */
.sandbox-test-runner {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #FFF9EE;
  border: 1px dashed var(--gold-primary);
}

.sandbox-test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sandbox-badge {
  background: var(--gold-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.sandbox-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.btn-sandbox-action {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.btn-sandbox-success {
  background: #0070BA;
  color: #FFFFFF;
}

.btn-sandbox-success:hover {
  background: #005A94;
}

.btn-sandbox-cancel {
  background: #EFEFEF;
  color: #555555;
  border: 1px solid #CCC;
}

.btn-sandbox-fail {
  background: #FFECEC;
  color: #CC0000;
  border: 1px solid #FFCCCC;
}

/* ==========================================================================
   DONATION CONFIRMATION CARD / MODAL
   ========================================================================== */
.confirmation-card {
  display: none;
  background: #FFFFFF;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--gold-glow-lg);
}

.confirmation-card.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.confirmation-lamp-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  color: var(--gold-primary);
  border: 2px solid var(--gold-light);
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.confirmation-blessing {
  font-size: 1rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 24px;
}

.receipt-summary-box {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.receipt-line:last-child {
  border-bottom: none;
}

.receipt-label {
  color: var(--text-muted);
}

.receipt-value {
  font-weight: 600;
  color: var(--text-dark);
}

.receipt-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   ADMIN DASHBOARD STYLES (/admin)
   ========================================================================== */
.admin-header-strip {
  background: #1C140E;
  color: #FFFFFF;
  padding: 20px 0;
  border-bottom: 2px solid var(--gold-primary);
}

.admin-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title {
  font-family: var(--font-classical);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-lighter);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-sans);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 6px;
}

.stat-subtitle {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Admin Table */
.admin-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 30px;
}

.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.table-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-select, .search-input {
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: #FFFFFF;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.donations-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.donations-table th {
  background: var(--bg-card-alt);
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.donations-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  vertical-align: middle;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.completed {
  background: #E6F7EC;
  color: #0E8A38;
  border: 1px solid #B7E4C7;
}

.status-badge.cancelled {
  background: #F4F4F6;
  color: #6C757D;
  border: 1px solid #D2D6DC;
}

.status-badge.failed {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.status-badge.refunded {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #17100A;
  color: #E2D9CF;
  padding: 60px 0 24px 0;
  border-top: 3px solid var(--gold-primary);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-family: var(--font-classical);
  font-size: 1.05rem;
  color: var(--gold-lighter);
  margin-bottom: 16px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 6px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #C7BAAD;
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom-strip {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #9C8F82;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   MODALS (BOOK BHAJAN, SEARCH, EVENT DETAILS, STORY)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 8, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F5EFE6;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 290px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 1500;
  transition: right 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-close {
  align-self: flex-end;
  background: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-donate-btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid, .about-team-grid, .donate-layout-grid {
    grid-template-columns: 1fr;
  }
  .lamp-showcase-card {
    position: static;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-wrap {
    flex-direction: column;
    text-align: center;
  }
  .about-heading::after {
    margin: 6px auto 0 auto;
  }
}
