/* =====================================================================
   Muslim Match by Parents — Look & Feel Refresh  (v1 — first pass)
   Theme: PremiumPress DA10 v11.4.1
   HOW TO APPLY: paste this whole file into
     PremiumPress admin  →  Theme Settings  →  Custom CSS
   (or Appearance → Customize → Additional CSS), then SAVE and
   purge LiteSpeed cache (see REDESIGN-GUIDE.md).

   Keeps your existing brand palette. This is a SAFE, mostly-additive
   pass (buttons, pricing cards, headings, spacing, cards). Once you
   paste it + send screenshots, we refine from there.
   ===================================================================== */

:root {
  --mmp-maroon:      #890000;   /* primary brand */
  --mmp-maroon-dark: #6b0000;   /* darker for gradients/hover */
  --mmp-rose:        #A02C44;   /* accent */
  --mmp-ink:         #1d1d1f;   /* softer than pure black for text */
  --mmp-grey-bg:     #F2F2F2;
  --mmp-grey-line:   #EDEEEF;
  --mmp-radius:      14px;
  --mmp-shadow-sm:   0 2px 6px rgba(0,0,0,.06);
  --mmp-shadow-md:   0 10px 30px rgba(137,0,0,.10);
}

/* ---- Global polish: smoother interactions ---- */
a, .btn, .ppt-price, .da-card2, .card { transition: all .2s ease; }
body { color: var(--mmp-ink); }

/* ---- Buttons: unified maroon gradient, pill, subtle lift ---- */
.btn-primary,
.primary-button,
.btn-system {
  background: linear-gradient(180deg, var(--mmp-maroon) 0%, var(--mmp-maroon-dark) 100%) !important;
  border: none !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: .2px;
  padding: 12px 28px !important;
  box-shadow: 0 4px 12px rgba(137,0,0,.25);
}
.btn-primary:hover,
.primary-button:hover,
.btn-system:hover {
  background: linear-gradient(180deg, var(--mmp-maroon-dark) 0%, #4d0000 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(137,0,0,.32);
  color: #fff !important;
}

/* Secondary / outline variant for low-emphasis actions */
.btn-outline-maroon {
  background: transparent !important;
  border: 2px solid var(--mmp-maroon) !important;
  color: var(--mmp-maroon) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.btn-outline-maroon:hover { background: var(--mmp-maroon) !important; color: #fff !important; }

/* ---- Section headings + divider accent ---- */
.title-divider,
.section-title:after {
  background: var(--mmp-rose) !important;
  height: 3px;
  border-radius: 3px;
}
h1, h2, h3 { letter-spacing: -.01em; }

/* ---- Pricing table (PremiumPress "Style 10") — maroon-ified + de-cluttered ----
   IMPORTANT: we do NOT style the generic `.ppt-price` wrapper. Doing that in v1
   created the empty white boxes flanking each price (that class wraps more than
   the card). The REAL card is `.price-table-style-10`; we target only that. */

.price-table-style-10 {
  box-shadow: 0 10px 30px rgba(137,0,0,.12) !important;   /* maroon, not the theme's blue */
  border-radius: var(--mmp-radius) !important;
  padding-top: 30px !important;
}
.price-table-style-10:hover {
  box-shadow: 0 18px 40px rgba(137,0,0,.20) !important;
  transform: translateY(-10px) !important;                /* drop the jarring scale(1.05) zoom */
}

/* title: switch from vertical sideways text to a clean horizontal heading on top */
.price-table-style-10 .price-title {
  position: static !important;
  writing-mode: horizontal-tb !important;
  margin-bottom: 6px;
}
.price-table-style-10 .price-title h4 {
  color: var(--mmp-maroon) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-left: 0 !important;
}

/* icon + price + button in maroon (theme default is blue) */
.price-table-style-10 .price-icon   { border-bottom-color: var(--mmp-maroon) !important; }
.price-table-style-10 .price-icon i { background: var(--mmp-maroon) !important; }
.price-table-style-10 .price-text h2 { color: var(--mmp-ink) !important; font-weight: 800 !important; }
.price-table-style-10 .primary-button {
  background: linear-gradient(180deg, var(--mmp-maroon), var(--mmp-maroon-dark)) !important;
  border-radius: 50px !important;
  box-shadow: 0 5px 18px rgba(137,0,0,.30) !important;
}
.price-table-style-10 .primary-button:hover {
  background: var(--mmp-maroon-dark) !important;
  box-shadow: 0 10px 24px rgba(137,0,0,.40) !important;
  transform: translateY(-3px);
}

/* the highlighted ("active"/Highlight=ON) package → solid maroon card */
.price-table-style-10.active {
  background: var(--mmp-maroon) !important;
  box-shadow: 0 20px 45px rgba(137,0,0,.35) !important;
}
.price-table-style-10.active .price-title h4,
.price-table-style-10.active .price-text h2,
.price-table-style-10.active .price-list li { color: #fff !important; }
.price-table-style-10.active .price-icon   { border-bottom-color: #fff !important; }
.price-table-style-10.active .price-icon i { background: #fff !important; color: var(--mmp-maroon) !important; }

/* When it's the SINGLE $99 package, the theme already centers the row
   (.justify-content-md-center) — so one card sits neatly in the middle. */


/* =====================================================================
   COMPONENTS — Hero stat strip + Trust-anchor row
   Paste the matching HTML from `homepage-snippets.html` into a homepage
   block (see REDESIGN-GUIDE.md §8). Styled here to inherit the palette.
   ===================================================================== */

/* ---- Hero stat strip (social proof) ---- */
.mmp-stats { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; padding:28px 16px; }
.mmp-stats .stat { flex:1 1 160px; max-width:220px; text-align:center; }
.mmp-stats .stat .num { font-size:38px; font-weight:800; color:var(--mmp-maroon); line-height:1.1; }
.mmp-stats .stat .lbl { font-size:14px; color:var(--mmp-ink); opacity:.75; margin-top:4px;
                        text-transform:uppercase; letter-spacing:.05em; }

/* ---- Trust-anchor row (3 cards under hero) ---- */
.mmp-trust { display:flex; flex-wrap:wrap; gap:24px; justify-content:center; padding:40px 16px; }
.mmp-trust .card-trust {
  flex:1 1 260px; max-width:340px; background:#fff; border:1px solid var(--mmp-grey-line);
  border-radius:var(--mmp-radius); padding:28px 24px; text-align:center;
  box-shadow:var(--mmp-shadow-sm); transition:all .2s ease;
}
.mmp-trust .card-trust:hover { transform:translateY(-6px); box-shadow:var(--mmp-shadow-md); }
.mmp-trust .card-trust .ic {
  width:64px; height:64px; line-height:64px; border-radius:50%; margin:0 auto 16px;
  background:linear-gradient(180deg,var(--mmp-maroon),var(--mmp-maroon-dark));
  color:#fff; font-size:26px;
}
.mmp-trust .card-trust h4 { color:var(--mmp-maroon); font-weight:700; margin-bottom:8px; }
.mmp-trust .card-trust p  { font-size:15px; color:var(--mmp-ink); opacity:.8; margin:0; }

/* ---- How It Works: numbered step cards (paste HTML from content-how-it-works.md) ---- */
.mmp-steps { display:flex; flex-wrap:wrap; gap:24px; justify-content:center; padding:30px 16px; }
.mmp-steps .step-card {
  flex:1 1 260px; max-width:320px; background:#fff; border:1px solid var(--mmp-grey-line);
  border-radius:var(--mmp-radius); padding:30px 24px 26px; position:relative;
  box-shadow:var(--mmp-shadow-sm); transition:all .2s ease;
}
.mmp-steps .step-card:hover { transform:translateY(-6px); box-shadow:var(--mmp-shadow-md); }
.mmp-steps .step-card .step-num {
  width:46px; height:46px; line-height:46px; border-radius:50%; text-align:center;
  background:linear-gradient(180deg,var(--mmp-maroon),var(--mmp-maroon-dark));
  color:#fff; font-weight:800; font-size:18px; margin-bottom:16px;
}
.mmp-steps .step-card h4 { color:var(--mmp-maroon); font-weight:700; margin-bottom:8px; }
.mmp-steps .step-card p  { font-size:15px; color:var(--mmp-ink); opacity:.8; margin:0; }

/* ---- FAQ accordion (no JavaScript — uses native <details>) ---- */
.mmp-faq { max-width:820px; margin:0 auto; padding:20px 16px; }
.mmp-faq details {
  background:#fff; border:1px solid var(--mmp-grey-line); border-radius:12px;
  margin-bottom:14px; padding:0 20px; box-shadow:var(--mmp-shadow-sm);
}
.mmp-faq summary {
  list-style:none; cursor:pointer; padding:18px 0; font-weight:700; color:var(--mmp-maroon);
  display:flex; justify-content:space-between; align-items:center;
}
.mmp-faq summary::-webkit-details-marker { display:none; }
.mmp-faq summary:after { content:"+"; font-size:22px; line-height:1; color:var(--mmp-maroon); }
.mmp-faq details[open] summary:after { content:"\2013"; }   /* en-dash when open */
.mmp-faq details p { margin:0 0 18px; color:var(--mmp-ink); opacity:.85; font-size:15px; line-height:1.6; }

/* ---- Verified badge polish (native `.verified` on profile/search cards) ---- */
.verified {
  background: rgba(36,160,79,.10);
  border: 1px solid rgba(36,160,79,.30);
  color: #1e7e44 !important;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 12.5px;
  align-items: center;
}
.verified i, .verified .fa { margin-right: 5px; }

/* ---- Islamic-geometry backgrounds (assets geo-maroon.svg / geo-white.svg) ---- */
/* subtle maroon pattern on a light section */
.mmp-geo-light {
  background-color: #F7F4F4;
  background-image: url(geo-maroon.svg);
  background-repeat: repeat;
  background-size: 150px;            /* larger, airier tile */
}
.mmp-geo-light.mmp-geo-soft { background-size: 110px; opacity: .85; }   /* subtler */
/* maroon hero with white star-lattice overlay — wrap your hero content in this */
.mmp-hero-geo {
  position: relative;
  background: linear-gradient(135deg, var(--mmp-maroon-dark) 0%, var(--mmp-maroon) 100%);
  color: #fff;
  overflow: hidden;
  padding: 64px 20px;
  text-align: center;
}
.mmp-hero-geo:before {
  content: ""; position: absolute; inset: 0;
  background: url(geo-white.svg) repeat;
  background-size: var(--mmp-geo-scale, 150px);   /* tweak scale here */
  opacity: var(--mmp-geo-opacity, 1);             /* tweak visibility here */
  pointer-events: none;
}
/* add class `mmp-geo-soft` to the hero for a fainter, finer pattern */
.mmp-hero-geo.mmp-geo-soft { --mmp-geo-scale: 110px; --mmp-geo-opacity: .55; }

/* ---- Restyle the EXISTING Elementor hero (.hero1) — maroon + geometry overlay ----
   Sits over the current background photo so text stays readable and the hero
   matches the brand. Tune the two alpha values to show more/less of the photo. */
.hero1 { position: relative; }
.hero1:before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    url(geo-white.svg) repeat,
    linear-gradient(135deg, rgba(137,0,0,.86) 0%, rgba(160,44,68,.78) 100%);
  background-size: 150px, auto;
}
.hero1 > * { position: relative; z-index: 1; }       /* keep hero text/buttons on top */
.hero1, .hero1 h1, .hero1 h2, .hero1 p { color: #fff !important; }
.mmp-hero-geo > * { position: relative; z-index: 1; }
.mmp-hero-geo h1 { color:#fff; font-weight:800; margin-bottom:12px; }
.mmp-hero-geo p  { color:#fff; opacity:.92; font-size:18px; max-width:680px; margin:0 auto 22px; }
/* white pill button for use on the maroon hero */
.mmp-hero-geo .mmp-btn-light {
  display:inline-block; background:#fff; color:var(--mmp-maroon)!important;
  font-weight:700; padding:13px 34px; border-radius:50px; text-decoration:none;
  box-shadow:0 8px 22px rgba(0,0,0,.18); transition:all .2s ease;
}
.mmp-hero-geo .mmp-btn-light:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.26); }

/* ---- Listing/profile cards: a touch more depth ---- */
.da-card2 { border-radius: var(--mmp-radius); overflow: hidden; }

/* ---- Navbar: cleaner active state ---- */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link {
  color: var(--mmp-maroon) !important;
}

/* ---- Footer: keep dark text legible, tidy links ---- */
.suha-footer-nav a:hover { color: var(--mmp-rose) !important; text-decoration: none; }

/* ---- Section rhythm ---- */
.section-60 { padding-top: 60px; padding-bottom: 60px; }
.section-40 { padding-top: 40px; padding-bottom: 40px; }

/* ---- Subtle hero readability helper (apply if hero text is hard to read) ----
.home .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(137,0,0,.35)); }
*/
