/* ================================================================
   MAIN ADDITIONS — Sri Balaji Alayam
   Footer, countdown, new page styles, enhancements
   ================================================================ */

/* ── FOOTER ── */
.svd-footer {
  background: linear-gradient(180deg, #2d0800 0%, #1a0400 100%);
  padding: 56px 0 0;
  border-top: 3px solid #c87828;
}
.svd-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.svd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,219,160,0.12);
}
.svd-footer-brand { font-family: "Cinzel", serif; font-size: 18px; font-weight: 900; color: #f5dba0; margin: 0 0 8px; }
.svd-footer-tagline { font-size: 13px; color: rgba(245,219,160,0.65); line-height: 1.7; margin: 0; }
.svd-footer-heading { font-family: "Cinzel", serif; font-size: 13px; font-weight: 700; color: #e8a84c; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(200,120,40,0.25); }
.svd-footer-links { list-style: none; padding: 0; margin: 0; }
.svd-footer-links li { margin-bottom: 8px; }
.svd-footer-links a { font-size: 13px; color: rgba(245,219,160,0.72); text-decoration: none; transition: color 0.2s, padding-left 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.svd-footer-links a::before { content: "›"; color: #c87828; }
.svd-footer-links a:hover { color: #f5dba0; padding-left: 4px; }
.svd-footer-address { font-size: 13px; color: rgba(245,219,160,0.72); line-height: 1.85; margin: 0; }
.svd-footer-bottom { text-align: center; padding: 20px 0; }
.svd-footer-bottom p { font-size: 12px; color: rgba(245,219,160,0.4); margin: 0; }

/* ── COUNTDOWN ── */
.svd-countdown-section {
  background: linear-gradient(135deg, #1a0400 0%, #3d1200 50%, #1a0400 100%);
  padding: 48px 0;
  text-align: center;
}
.svd-countdown-inner { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.svd-countdown-inner h2 { font-family: "Cinzel", serif; font-size: 26px; font-weight: 900; color: #f5dba0; margin: 0 0 6px; }
.svd-countdown-inner p { color: rgba(245,219,160,0.75); font-size: 14px; margin: 0 0 28px; }
#svd-countdown { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.svd-cd-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(245,219,160,0.25); border-radius: 12px; padding: 16px 24px; min-width: 100px; text-align: center; }
.svd-cd-num { display: block; font-family: "Cinzel", serif; font-size: 42px; font-weight: 900; color: #f5dba0; line-height: 1; }
.svd-cd-label { display: block; font-size: 11px; color: rgba(245,219,160,0.6); text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; }

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .svd-hamburger { display: flex !important; }
  .svd-nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: #620404;
  }
  .svd-nav-list.svd-mobile-open { display: flex; }
  .svd-nav-link { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .svd-nav-link::after { display: none; }
  .svd-dropdown { position: static; display: none !important; box-shadow: none; border-radius: 0; border-top: none; background: #4a1a00; }
  .svd-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .svd-footer-grid { grid-template-columns: 1fr; }
  .svd-cd-item { min-width: 72px; padding: 12px 16px; }
  .svd-cd-num { font-size: 32px; }
}

/* ── AUDIO BUTTON ── */
.bg-song-play-pause {
  position: fixed; bottom: 22px; right: 22px; z-index: 8500;
}
.bg-song-play-pause button {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(74,26,0,0.85); border: 2px solid rgba(245,219,160,0.4);
  color: #f5dba0; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.bg-song-play-pause button:hover { background: #c87828; transform: scale(1.1); }

/* ── REVEAL ANIMATION ── */
.svd-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.svd-reveal.svd-revealed { opacity: 1; transform: translateY(0); }
.svd-reveal-d1 { transition-delay: 0.1s; }
.svd-reveal-d2 { transition-delay: 0.22s; }
.svd-reveal-d3 { transition-delay: 0.34s; }

/* ── PAGE INNER STYLES ── */
.svd-inner-page { padding: 20px 0 32px; }
.svd-inner-page .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.svd-inner-title { font-size: 20px; font-weight: 900; color: #4a1a00; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 3px solid #c87828; }
.svd-inner-subtitle { font-size: 16px; font-weight: 700; color: #6e3205; margin: 20px 0 8px; }
.svd-page-banner {
  background: linear-gradient(135deg, #4a1a00 0%, #8b3a00 100%);
  text-align: center; padding: 28px 20px 22px;
  position: relative; overflow: hidden;
}
.svd-page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: url('assets/images/Inner-Banner-Slider.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.svd-page-banner-content { position: relative; z-index: 1; }
.svd-page-banner h1 { font-size: 24px; font-weight: 900; color: #f5dba0; margin: 0 0 6px; }
.svd-page-banner p { color: rgba(245,219,160,0.82); font-size: 13px; margin: 0 0 8px; }
.svd-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(245,219,160,0.6); flex-wrap: wrap; }
.svd-breadcrumb a { color: rgba(245,219,160,0.8); text-decoration: none; }
.svd-breadcrumb a:hover { color: #f5dba0; }

/* ── CARDS ── */
.svd-cards-row { display: flex; flex-wrap: wrap; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px; justify-content: center; }
.svd-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(110,50,5,0.1); border: 1px solid rgba(200,120,40,0.15); flex: 1; min-width: 280px; max-width: 380px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.svd-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(110,50,5,0.18); }
.svd-card-img-wrap { position: relative; height: 220px; overflow: hidden; }
.svd-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svd-card:hover .svd-card-img-wrap img { transform: scale(1.06); }
.svd-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(45,18,0,0.65) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 14px; }
.svd-card-img-label { font-size: 12px; font-weight: 700; color: #f5dba0; text-transform: uppercase; letter-spacing: 1.5px; }
.svd-card-body { padding: 22px; }
.svd-card-body h3 { font-family: "Cinzel", serif; font-size: 17px; font-weight: 900; color: #4a1a00; margin: 0 0 10px; }
.svd-card-body p { font-size: 14px; color: #6e3205; line-height: 1.7; margin: 0 0 16px; }
.svd-card-btn { display: inline-block; background: linear-gradient(135deg, #c87828, #e8a84c); color: #fff !important; border-radius: 50px; padding: 8px 20px; font-size: 13px; font-weight: 700; text-decoration: none !important; transition: transform 0.2s, box-shadow 0.2s; }
.svd-card-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(110,50,5,0.3); }

/* ── BUTTONS ── */
.svd-btn-gold { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #c87828, #e8a84c); color: #fff !important; border-radius: 50px; padding: 12px 28px; font-size: 14px; font-weight: 700; text-decoration: none !important; box-shadow: 0 4px 14px rgba(110,50,5,0.3); transition: transform 0.25s, box-shadow 0.25s; border: none; cursor: pointer; }
.svd-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(110,50,5,0.4); color: #fff !important; }
.svd-btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #c87828 !important; border-radius: 50px; padding: 11px 26px; font-size: 14px; font-weight: 700; text-decoration: none !important; border: 2px solid #c87828; transition: all 0.25s; cursor: pointer; }
.svd-btn-outline:hover { background: #c87828; color: #fff !important; }

/* ── HIGHLIGHT BOX ── */
.svd-highlight-box { background: linear-gradient(135deg, #fff8ee, #fffbf5); border-left: 4px solid #e8a84c; border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 20px 0; }
.svd-highlight-box p { margin: 0; color: #4a1a00; font-size: 14px; line-height: 1.7; }
.svd-devotional-quote { background: linear-gradient(135deg, #fff8ee, #fffbf5); border-left: 4px solid #c87828; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 12px 0; font-size: 14px; color: #4a1a00; font-style: italic; line-height: 1.6; }
.svd-devotional-quote cite { display: block; font-style: normal; font-size: 12px; color: #c87828; font-weight: 700; margin-top: 6px; }

/* ── PUJA / SERVICE GRID ── */
.svd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svd-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svd-puja-card {
  background: #fff; border-radius: 14px; padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(110,50,5,0.08); border: 1px solid rgba(200,120,40,0.15);
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.svd-puja-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(110,50,5,0.16); }
.svd-puja-icon { font-size: 36px; color: #c87828; margin-bottom: 14px; }
.svd-puja-card h4 { font-family: "Cinzel", serif; font-size: 15px; font-weight: 700; color: #4a1a00; margin: 0 0 8px; }
.svd-puja-card p { font-size: 13px; color: #6e3205; line-height: 1.6; margin: 0; }
.svd-puja-card .svd-tag { display: inline-block; background: #fff8ee; border: 1px solid #e8a84c; color: #c87828; font-size: 11px; font-weight: 700; border-radius: 50px; padding: 3px 10px; margin-bottom: 10px; }

/* ── ABOUT SECTION ── */
.svd-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.svd-about-img img { width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(110,50,5,0.2); }
.svd-about-content h3 { font-family: "Cinzel", serif; font-size: 26px; font-weight: 900; color: #4a1a00; margin: 0 0 16px; }
.svd-about-content p { font-size: 15px; color: #5a3a18; line-height: 1.85; margin: 0 0 14px; }
.svd-about-content ul { padding-left: 20px; margin: 0 0 20px; }
.svd-about-content ul li { font-size: 14px; color: #5a3a18; line-height: 1.8; margin-bottom: 6px; }

/* ── NEWS GRID ── */
.svd-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.svd-news-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(110,50,5,0.1); border: 1px solid rgba(200,120,40,0.12); transition: transform 0.3s, box-shadow 0.3s; }
.svd-news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(110,50,5,0.16); }
.svd-news-img { height: 190px; overflow: hidden; }
.svd-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.svd-news-card:hover .svd-news-img img { transform: scale(1.06); }
.svd-news-body { padding: 20px; }
.svd-news-body h5 { font-family: "Cinzel", serif; font-size: 15px; font-weight: 700; color: #4a1a00; margin: 0 0 8px; }
.svd-news-tag { display: inline-block; background: #fff8ee; border: 1px solid #e8a84c; color: #c87828; font-size: 11px; font-weight: 700; border-radius: 50px; padding: 3px 10px; margin-bottom: 10px; }
.svd-news-body p { font-size: 13px; color: #6e3205; line-height: 1.65; margin: 0 0 14px; }
.svd-news-link { font-size: 13px; font-weight: 700; color: #c87828 !important; text-decoration: none; }
.svd-news-link:hover { color: #4a1a00 !important; }

/* ── DONATE CARD ── */
.svd-donate-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(110,50,5,0.1); border: 1px solid rgba(200,120,40,0.15); height: 100%; }
.svd-donate-card-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.svd-donate-card-body { padding: 22px; }
.svd-donate-card-body h5 { font-family: "Cinzel", serif; font-size: 16px; font-weight: 700; color: #4a1a00; margin: 0 0 10px; }
.svd-donate-card-body p { font-size: 13px; color: #6e3205; line-height: 1.65; margin: 0 0 16px; }

/* ── TIMING TABLE ── */
.svd-timing-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.svd-timing-table th { background: linear-gradient(135deg, #4a1a00, #6e3205); color: #f5dba0; font-family: "Cinzel", serif; font-size: 13px; padding: 12px 16px; text-align: left; }
.svd-timing-table td { padding: 11px 16px; color: #4a1a00; border-bottom: 1px solid rgba(200,120,40,0.12); font-size: 14px; }
.svd-timing-table tr:nth-child(even) td { background: #fff8ee; }
.svd-timing-table tr:hover td { background: #fff3e0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .svd-grid-3, .svd-news-grid { grid-template-columns: 1fr 1fr; }
  .svd-about-grid { grid-template-columns: 1fr; }
  .svd-hero-slide { height: 380px; }
  .svd-hero-caption h2 { font-size: 24px; }
}
@media (max-width: 600px) {
  .svd-grid-3, .svd-news-grid, .svd-grid-4 { grid-template-columns: 1fr; }
  .svd-cards-row { flex-direction: column; }
  .svd-card { min-width: auto; max-width: 100%; }
  .svd-hero-slide { height: 280px; }
  .svd-hero-caption { padding: 40px 20px 20px; }
  .svd-hero-caption h2 { font-size: 18px; }
  .svd-section-header h2 { font-size: 24px; }
}
