/* ============================================================
   RUFLO AGENTS: content-agent + web-ux-agent + mobile-ux-agent + qa-agent
   Annadhanam, Kulam Donation, History badge, QA Fixes
   ============================================================ */

/* ── About History Badge ── */
.about-history-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(139,0,0,0.08), rgba(255,153,51,0.1));
  border: 1px solid rgba(139,0,0,0.2);
  border-left: 4px solid #8b0000;
  border-radius: 0 10px 10px 0;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}
.ahb-icon { font-size: 1.2rem; flex-shrink: 0; }
.ahb-text {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 0.82rem;
  color: #8b0000;
  font-weight: 600;
  line-height: 1.4;
}

.about-ml-text {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 0.9rem;
  color: #5a4a2a;
  line-height: 1.8;
  background: rgba(255,153,51,0.06);
  border-left: 3px solid #c8860a;
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
  margin: 0.8rem 0;
}

/* ══════════════════════════════════════════════
   ANNADHANAM + KULAM WRAPPER
══════════════════════════════════════════════ */
.annadhanam-kulam-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .annadhanam-kulam-wrapper { grid-template-columns: 1fr; }
}

/* ── ANNADHANAM BANNER ── */
.annadhanam-banner {
  background: linear-gradient(135deg, #1a0620 0%, #2a0808 50%, #1a1a00 100%);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255,215,0,0.15);
}
.annadhanam-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,153,51,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ann-flame-left,
.ann-flame-right {
  font-size: 2rem;
  flex-shrink: 0;
  animation: deepam-flicker 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255,150,0,0.7));
}
.ann-flame-right { animation-delay: 0.5s; }

.ann-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.ann-icon { font-size: 2.5rem; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(255,150,0,0.5)); }
.ann-title {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 12px rgba(255,215,0,0.4);
}
.ann-sub {
  font-size: 0.75rem;
  color: rgba(255,165,0,0.8);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.ann-desc {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}
.ann-next {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: #ffd700;
  letter-spacing: 0.04em;
}

/* ── KULAM DONATION BANNER ── */
.kulam-banner {
  background: linear-gradient(135deg, #001a30 0%, #002040 50%, #001a20 100%);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(0,200,255,0.15);
}
.kulam-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 70%, rgba(0,150,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.kulam-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.kulam-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.5));
  animation: orb-float 4s ease-in-out infinite;
}
.kulam-title {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #00e5ff;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 12px rgba(0,200,255,0.4);
}
.kulam-sub {
  font-size: 0.72rem;
  color: rgba(0,200,255,0.7);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.kulam-desc {
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.kulam-contact {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  width: 100%;
}
.kulam-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 110px;
  -webkit-tap-highlight-color: transparent;
}
.kulam-btn span { font-size: 0.9rem; }
.kulam-btn small { font-size: 0.62rem; opacity: 0.8; font-weight: 400; }
.kulam-btn i { font-size: 1.1rem; margin-bottom: 0.1rem; }

.kulam-call {
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.35);
  color: #ffd700;
}
.kulam-call:hover { background: rgba(255,215,0,0.25); transform: translateY(-2px); }

.kulam-wa {
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25d366;
}
.kulam-wa:hover { background: rgba(37,211,102,0.25); transform: translateY(-2px); }

.kulam-btn:active { transform: scale(0.96); }

/* ══════════════════════════════════════════════
   QA AGENT — TIMING CARDS RESTYLE
══════════════════════════════════════════════ */
.timing-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(200,134,10,0.1);
  border: 1px solid rgba(200,134,10,0.15);
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}
.timing-card:hover {
  box-shadow: 0 8px 32px rgba(200,134,10,0.18);
  transform: translateY(-3px);
}
.timing-card-header {
  background: linear-gradient(135deg, rgba(200,134,10,0.12), rgba(255,153,51,0.08));
  border-bottom: 1px solid rgba(200,134,10,0.15);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.timing-table { width: 100%; border-collapse: collapse; }
.timing-table th {
  background: rgba(200,134,10,0.07);
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b5e00;
  text-align: left;
}
.timing-table td {
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(200,134,10,0.07);
  color: #3a2a00;
}
.timing-table tr:last-child td { border-bottom: none; }
.timing-table tr:nth-child(even) td { background: rgba(255,243,224,0.5); }

/* Special hours badge */
.special-hours-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,100,100,0.08));
  border: 1px solid rgba(255,100,100,0.2);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin: 0.8rem 1rem;
  font-family: 'Noto Serif Malayalam', serif;
  font-size: 0.8rem;
  color: #8b0000;
}
.special-hours-badge strong { color: #c00; }

/* ══════════════════════════════════════════════
   WEB UX AGENT — Section transition fix
══════════════════════════════════════════════ */
.section + .section {
  border-top: 1px solid rgba(200,134,10,0.06);
}

/* ══════════════════════════════════════════════
   MOBILE UX AGENT — Annadhanam mobile
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .annadhanam-banner {
    padding: 1.5rem 1rem;
    flex-direction: column;
    text-align: center;
  }
  .ann-content { flex-direction: column; align-items: center; text-align: center; }
  .ann-flame-left, .ann-flame-right { display: none; }
  .kulam-banner { padding: 1.5rem 1rem; }
  .kulam-content { align-items: center; text-align: center; }
  .kulam-contact { justify-content: center; }
  .kulam-btn { min-width: 130px; }
  .about-history-badge { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════
   ONLINE PRESENCE NOTICE (no social media yet)
══════════════════════════════════════════════ */
.social-links-notice {
  background: rgba(255,215,0,0.06);
  border: 1px dashed rgba(255,215,0,0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-family: 'Lato', sans-serif;
  margin-top: 0.8rem;
}

/* ══════════════════════════════════════════════
   LIVE FEATURES — Fix darshan status timings
   (05:30-09:00 / 17:45-18:45)
══════════════════════════════════════════════ */
/* Override handled in JS */
