/* Path: public_html/aba_meds_php/public/assets/css/testimonials.css */

/* ===============================
   FORCE SITE BACKGROUND (REAL FIX)
   This overrides layout wrapper
================================ */

/* IMPORTANT: site wrapper */
.page {
  background: #f5f7f6 !important;
}

/* Ensure sections inherit background */
.page .section {
  background: transparent;
}

.page .section--soft {
  background: rgba(0, 0, 0, 0.03);
}

/* ===============================
   GRIDS
================================ */
.testimonial-grid,
.video-grid,
.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===============================
   CARDS (MATCH PRODUCT CARDS)
================================ */
.testimonial-card,
.video-card,
.audio-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   TYPOGRAPHY
================================ */
.stars {
  color: #d1ae65;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #333;
}

.testimonial-meta span {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}

/* ===============================
   WHATSAPP GRID
================================ */
.wa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.wa-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  background: #fff;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .testimonial-grid,
  .video-grid,
  .audio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonial-grid,
  .video-grid,
  .audio-grid,
  .wa-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   TESTIMONIALS PAGE — BACKGROUND FIX (PASTE AT BOTTOM)
   Path: public_html/aba_meds_php/public/assets/css/testimonials.css
   Makes testimonials page match the dark hero + dark sections
   styling used on Shop/About pages.
========================================================= */

/* HERO matches Shop/About hero styling */
.page-hero{
  padding: 46px 0 30px;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(209,174,101,.12), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(44,94,92,.22), transparent 60%),
    linear-gradient(180deg, #071010 0%, #0b1212 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.page-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.5px;
  color: rgba(255,255,255,.94);
}

.page-hero .section-subtitle{
  margin: 0;
  max-width: 78ch;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.page-hero .trust-row{ margin-top: 18px; }
.page-hero .trust-item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.page-hero .trust-item span{ color: rgba(255,255,255,.70); }

/* ALL sections after the hero become dark like the rest of the site */
.page-hero ~ .section{
  background: #071010;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Headings/subtitles remain readable on dark background */
.page-hero ~ .section .section-title{
  color: rgba(255,255,255,.92);
}
.page-hero ~ .section .section-subtitle{
  color: rgba(255,255,255,.70);
}

/* Soft sections get a subtle “glass” variation (still dark-themed) */
.page-hero ~ .section.section--soft{
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(209,174,101,.08), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(44,94,92,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
}

/* Keep cards looking premium against dark sections */
.testimonial-card,
.video-card,
.audio-card{
  border: 1px solid rgba(255,255,255,.08);
}

/* =====================================================
   TESTIMONIALS — FORCE FULL DARK MODE (NO WHITE ANYWHERE)
   ===================================================== */

body,
.testimonials-page {
  background: #071010 !important;
}

/* Kill all light sections */
.section,
.section--light,
.section--soft,
.whatsapp-testimonials,
.audio-testimonials,
.video-testimonials {
  background: #071010 !important;
  color: rgba(255,255,255,.88);
}

/* Section headings */
.section-title,
.section h2,
.section h3 {
  color: rgba(255,255,255,.95);
}

.section-subtitle,
.section p {
  color: rgba(255,255,255,.70);
}

/* Testimonial cards */
.testimonial-card,
.whatsapp-card,
.audio-card,
.video-card {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* Audio player container */
.audio-card audio {
  filter: invert(1) hue-rotate(180deg);
}

/* WhatsApp image grid background */
.whatsapp-grid {
  background: transparent !important;
}

/* Footer transition stays dark */
footer {
  background: #050c0c;
}

/* =========================================================
   PREMIUM LIGHTBOX — WHATSAPP TESTIMONIALS
========================================================= */

.whatsapp-grid img {
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.whatsapp-grid img:hover {
  transform: scale(1.03);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,16,16,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}