/* =========================================================
   MASJID AL-AMANAH - SOFT MINT & BOLD TYPOGRAPHY DESIGN
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-teal: #0f9f85;
  --primary-teal-hover: #0b836d;
  --text-dark: #0f172a;
  --text-body: #475569;
  
  --bg-page: #ffffff;
  --bg-soft-gradient: radial-gradient(circle at 10% 10%, #e6f7f4 0%, #ffffff 50%, #f0faf8 100%);
  
  --mint-glow: 0 20px 45px -12px rgba(15, 159, 133, 0.3);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --border-mint: rgba(15, 159, 133, 0.25);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  background-image: var(--bg-soft-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* PAKSA JUDUL UTAMA AGAR EXTRA BOLD */
h1, h2, h3, h4, h5, h6, 
.fw-bold, .fw-extrabold, .card-title {
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #0f9f85 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR CLEAN & GLASSMORPHISM (DIKUNCI AGAR TIDAK MENTOK SAAT SCROLL) */
.custom-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  transition: none !important;
}

.custom-navbar .nav-link {
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
  color: var(--primary-teal) !important;
  background-color: #f0fdfa;
}

/* BUTTON STYLES */
.btn-donasi, .btn-tosca {
  background: var(--primary-teal);
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 6px 20px rgba(15, 159, 133, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-donasi:hover, .btn-tosca:hover {
  background: var(--primary-teal-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(15, 159, 133, 0.45);
}

.btn-outline-tosca {
  border: 2px solid var(--border-mint);
  color: var(--primary-teal);
  background: #ffffff;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all 0.3s ease;
}

.btn-outline-tosca:hover {
  background: #e6f7f4;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-2px);
}

/* =========================================================
   HERO HEADLINE SLIDER SPLIT SCREEN
   ========================================================= */

.hero-split-card {
  background: var(--primary-teal);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(15, 159, 133, 0.3);
  position: relative;
}

.hero-split-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-split-content {
  padding: 3rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-split-content h1 {
  color: #ffffff !important;
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero-split-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem !important;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Tombol Oranye / Accent Pelajari Selengkapnya */
.btn-orange {
  background-color: #ff8c00;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-orange:hover {
  background-color: #e07b00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.5);
}

/* Indikator Titik Di Kanan Atas */
.hero-split-card .carousel-indicators {
  position: absolute !important;
  top: 25px !important;
  right: 35px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  display: flex;
  gap: 8px;
}

.hero-split-card .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.4;
  border: none;
  margin: 0;
  transition: all 0.3s ease;
}

.hero-split-card .carousel-indicators .active {
  opacity: 1;
  background-color: #ffffff;
  transform: scale(1.2);
}

/* 5 PILAR CARD */
.card-pilar {
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-pilar:hover {
  transform: translateY(-10px);
  border-color: var(--primary-teal);
  box-shadow: var(--mint-glow);
}

.icon-pilar {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #e6f7f4;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px auto;
  transition: all 0.3s ease;
}

.card-pilar:hover .icon-pilar {
  background: var(--primary-teal);
  color: #ffffff;
  transform: rotate(6deg);
}

/* FILTER BUTTONS */
.btn-filter {
  border: 1px solid #e2e8f0;
  color: #64748b;
  background: #ffffff;
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 4px;
  transition: all 0.3s ease;
}

.btn-filter.active, .btn-filter:hover {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(15, 159, 133, 0.2);
}

/* CARDS GENERAL */
.card-modern {
  border: 1px solid #f1f5f9;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--mint-glow);
  border-color: var(--border-mint);
}

.event-flyer {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.bg-success-subtle {
  background-color: #e6f7f4 !important;
  color: var(--primary-teal) !important;
}

/* FOOTER */
.footer-section {
  background: #0d2822;
  color: #a7f3d0;
}

.footer-section a {
  color: #e6f7f4;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-teal);
  color: #ffffff;
  transform: translateY(-3px);
}

/* RESPONSIVE MOBILE (PENGUNCIAN KHUSUS NAVBAR MOBILE) */
@media (max-width: 991.98px) {
  .custom-navbar {
    background: #ffffff !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    min-height: 72px !important;
  }
  
  .hero-split-img {
    height: 260px;
  }
  .hero-split-content {
    padding: 2rem 1.5rem;
  }
  .hero-split-content h1 {
    font-size: 1.4rem !important;
  }
  .hero-split-content p {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem;
  }
  .hero-split-card .carousel-indicators {
    top: 15px !important;
    right: 20px !important;
  }
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-top: 10px;
  }
}