/*
Theme Name: Astra Salatify Child
Theme URI: http://localhost:8080/salatify/
Description: Custom Mosque & Prayer Times Portal Child Theme for Astra. Featuring live prayer countdown, Azan and Iqamah timetables, Hijri date integration, and modern Islamic UI styling.
Author: Salatify
Author URI: http://localhost:8080/salatify/
Template: astra
Version: 1.0.0
Text Domain: astra-salatify
*/

:root {
  --salatify-emerald-900: #064e3b;
  --salatify-emerald-800: #065f46;
  --salatify-emerald-700: #047857;
  --salatify-emerald-600: #059669;
  --salatify-emerald-500: #10b981;
  --salatify-emerald-50: #ecfdf5;
  --salatify-gold: #d97706;
  --salatify-gold-light: #fbbf24;
  --salatify-gold-soft: #fef3c7;
  --salatify-dark: #0f172a;
  --salatify-card-bg: #ffffff;
  --salatify-card-border: #e2e8f0;
  --salatify-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.1), 0 8px 10px -6px rgba(6, 78, 59, 0.05);
  --salatify-shadow-hover: 0 20px 30px -10px rgba(6, 78, 59, 0.2);
  --salatify-radius: 16px;
  --salatify-font-arabic: 'Amiri', 'Traditional Arabic', serif;
}

/* Global Enhancements */
body {
  color: #334155;
  background-color: #f8fafc;
}

/* Top Bar Announcement / Live Prayer Bar */
.salatify-topbar {
  background: linear-gradient(135deg, var(--salatify-emerald-900) 0%, #022c22 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.salatify-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.salatify-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.salatify-date-badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.salatify-hijri-date {
  color: var(--salatify-gold-light);
  font-weight: 600;
}

.salatify-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.salatify-next-prayer-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
  color: #ffffff;
}

.salatify-next-name {
  color: var(--salatify-gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .salatify-topbar-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================================
   Salatify Comprehensive Multi-Column Footer
   ======================================================== */
.salatify-site-footer {
  background: linear-gradient(180deg, #063424 0%, #031e14 100%);
  color: #e2e8f0;
  border-top: 3px solid var(--salatify-gold);
  font-family: inherit;
  margin-top: 40px;
}

.salatify-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 36px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  box-sizing: border-box;
}

.salatify-footer-brand {
  padding-right: 16px;
}

.salatify-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.salatify-footer-logo-icon {
  font-size: 1.8rem;
}

.salatify-footer-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.salatify-footer-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.salatify-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.salatify-footer-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
}

.salatify-footer-heading {
  color: var(--salatify-gold-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 8px;
}

.salatify-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--salatify-emerald-500);
  border-radius: 2px;
}

.salatify-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.salatify-footer-links li {
  margin-bottom: 9px;
}

.salatify-footer-links li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.salatify-footer-links li a:hover {
  color: #34d399;
  transform: translateX(4px);
}

.salatify-footer-bottom {
  background: #02140d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  font-size: 0.85rem;
  color: #64748b;
}

.salatify-footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.salatify-footer-copyright strong {
  color: #f1f5f9;
}

.salatify-footer-disclaimer-note {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}

.salatify-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.salatify-footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.salatify-footer-bottom-links a:hover {
  color: #a7f3d0;
}

.salatify-back-to-top {
  color: var(--salatify-gold-light) !important;
  font-weight: 600;
}

/* Hide Astra default duplicate footer elements */
.site-footer.ast-site-footer {
  display: none !important;
}

/* Footer Responsive Breakpoints */
@media (max-width: 992px) {
  .salatify-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .salatify-footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 18px 24px 18px;
  }
  .salatify-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .salatify-footer-bottom-links {
    justify-content: center;
  }
}

/* ========================================================
   Legal & Educational Article Layout Styling
   ======================================================== */
.salatify-legal-wrap,
.salatify-about-wrap,
.salatify-contact-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 40px 0;
  line-height: 1.75;
  color: #334155;
}

.salatify-legal-header {
  background: #f8fafc;
  border-left: 4px solid var(--salatify-emerald-600);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 28px;
}

.salatify-legal-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 8px 0;
}

.salatify-legal-intro {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}

.salatify-legal-wrap h2,
.salatify-about-wrap h2 {
  color: var(--salatify-emerald-900);
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.salatify-legal-wrap h3,
.salatify-about-wrap h3 {
  color: #0f172a;
  font-size: 1.15rem;
  margin-top: 22px;
  margin-bottom: 10px;
}

.salatify-legal-wrap ul,
.salatify-legal-wrap ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.salatify-legal-wrap li {
  margin-bottom: 8px;
}

.salatify-legal-wrap a {
  color: var(--salatify-emerald-700);
  text-decoration: underline;
}

/* Article Styling */
.single-post .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  max-width: 840px;
  margin: 0 auto;
}

.single-post .entry-content h2 {
  color: #064e3b;
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.single-post .entry-content blockquote {
  border-left: 4px solid #059669;
  background: #f0fdf4;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #065f46;
  margin: 20px 0;
}

/* ========================================================
   Salatify Social Media Icons (Topbar & Footer)
   ======================================================== */
.salatify-topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.salatify-social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  line-height: 1;
}

.salatify-social-ico svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
  transition: transform 0.2s ease;
}

.salatify-social-ico:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.salatify-social-ico:hover svg {
  transform: scale(1.1);
}

/* Individual Platform Hover Accents */
.salatify-ico-whatsapp:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.salatify-ico-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.45);
}

.salatify-ico-youtube:hover {
  background: #FF0000 !important;
  border-color: #FF0000 !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.45);
}

.salatify-ico-facebook:hover {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.45);
}

.salatify-ico-x:hover {
  background: #000000 !important;
  border-color: #4b5563 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.salatify-ico-pinterest:hover {
  background: #E60023 !important;
  border-color: #E60023 !important;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.45);
}

.salatify-topbar-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 4px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .salatify-topbar-social {
    gap: 8px;
    margin: 4px 0;
  }
  .salatify-social-ico {
    width: 30px;
    height: 30px;
  }
  .salatify-social-ico svg {
    width: 15px;
    height: 15px;
  }
}

/* ========================================================
   Dedicated Social Media Page Styling
   ======================================================== */
.salatify-social-page-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 16px 50px 16px;
  color: #334155;
  line-height: 1.7;
}

.salatify-social-hero-box {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
  color: #ffffff;
  padding: 36px 30px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.2);
  position: relative;
  overflow: hidden;
}

.salatify-social-hero-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.salatify-social-hero-box h1 {
  color: #ffffff !important;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.salatify-social-hero-box p {
  color: #ecfdf5;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.salatify-verified-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #10b981;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: #064e3b;
}

.salatify-verified-notice strong {
  color: #065f46;
}

.salatify-social-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.salatify-platform-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
}

.salatify-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(6, 78, 59, 0.15);
  border-color: #cbd5e1;
}

.salatify-platform-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.salatify-platform-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.salatify-platform-icon-bubble svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.salatify-bubble-whatsapp { background: #25D366; }
.salatify-bubble-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.salatify-bubble-youtube { background: #FF0000; }
.salatify-bubble-facebook { background: #1877F2; }
.salatify-bubble-x { background: #000000; }
.salatify-bubble-pinterest { background: #E60023; }

.salatify-platform-meta h3 {
  font-size: 1.25rem;
  margin: 0 0 4px 0;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.salatify-verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
}

.salatify-platform-handle {
  font-size: 0.88rem;
  color: #64748b;
  font-family: monospace;
}

.salatify-platform-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  margin-top: 6px;
}

.salatify-platform-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.salatify-platform-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
  text-align: center;
}

.salatify-cta-whatsapp { background: #25D366; }
.salatify-cta-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }

.salatify-cta-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.salatify-cta-instagram:hover { opacity: 0.95; transform: translateY(-1px); }

.salatify-cta-youtube { background: #FF0000; }
.salatify-cta-youtube:hover { background: #d90000; transform: translateY(-1px); }

.salatify-cta-facebook { background: #1877F2; }
.salatify-cta-facebook:hover { background: #166fe5; transform: translateY(-1px); }

.salatify-cta-x { background: #000000; }
.salatify-cta-x:hover { background: #1f2937; transform: translateY(-1px); }

.salatify-cta-pinterest { background: #E60023; }
.salatify-cta-pinterest:hover { background: #c8001e; transform: translateY(-1px); }

.salatify-social-guidelines {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 30px;
}

.salatify-social-guidelines h2 {
  color: #064e3b;
  font-size: 1.35rem;
  margin-top: 0;
  margin-bottom: 12px;
}

.salatify-quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.salatify-quick-tool-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  color: #0f172a !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.salatify-quick-tool-card:hover {
  border-color: #059669;
  background: #f0fdf4;
  color: #065f46 !important;
  transform: translateX(3px);
}



