/* ================================
   RESET & GLOBAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
  padding-top: 80px; /* agar konten tidak ketutup navbar */
}

a {
  text-decoration: none;
}

/* ================================
   NAVBAR
================================ */
.pmr-navbar {
  height: 80px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Logo image */
.navbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* Brand text */
.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #C62828;
}

/* Nav link */
.nav-link {
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline animation */
/* Underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #C62828;
  transition: width 0.3s ease;
}

/* HANYA HOVER */
.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #C62828;
}

/* Active (TANPA garis permanen) */
.nav-link.active {
  color: #C62828;
}

/* Contact button */
.navbar .btn-danger {
  background-color: #C62828;
  border: none;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.navbar .btn-danger:hover {
  background-color: #B71C1C;
}

/* Mobile navbar */
@media (max-width: 991px) {
  .navbar-nav {
    padding-top: 20px;
  }

  .nav-link::after {
    display: none;
  }
}

/* ================================
   HERO SECTION (BACKGROUND FOTO)
================================ */
.hero-section {
  min-height: 100vh;
  width: 100%;
  background-image: url("../images/pmr_jumbara.jpg"); /* BACKGROUND FOTO */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;

  display: flex;
  align-items: center;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Hero content */
.hero-content {
  position: relative;
  color: #ffffff;
  max-width: 600px;
}

/* Badge */
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Title */
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

/* Subtitle */
.hero-subtitle {
  font-size: 18px;
  margin: 22px 0 34px;
  opacity: 0.95;
}

/* Hero buttons */
.hero-actions .btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 10px;
}

/* Join button */
.btn-join {
  background-color: #C62828;
  border: none;
}

.btn-join:hover {
  background-color: #B71C1C;
}

/* ================================
   RESPONSIVE HERO
================================ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 75vh;
    background-position: center top;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* ================================
   PROFILE SECTION
================================ */
.profile-section {
  background-color: #F9F9F9;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #C62828;
}

.section-subtitle {
  color: #666;
  max-width: 600px;
  margin: 10px auto 0;
}

.profile-heading {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-subheading {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
}

.profile-text {
  color: #555;
  line-height: 1.7;
}

.profile-list {
  padding-left: 20px;
}

.profile-list li {
  margin-bottom: 8px;
  color: #555;
}

.profile-image {
  max-width: 90%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}

//struktur
/* ================================
   STRUKTUR ORGANISASI - PMI PRO
================================ */
.struktur-section {
  background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

/* CARD */
.struktur-card {
  position: relative;
  background: #ffffff;
  padding: 36px 22px 30px;
  border-radius: 22px;

  /* GARIS MERAH ROUNDED */
  border: 2px solid #C62828;

  /* INNER SHADOW + OUTER SHADOW */
  box-shadow:
    inset 0 0 0 2px rgba(198, 40, 40, 0.15),
    0 12px 35px rgba(0, 0, 0, 0.08);

  transition: all 0.35s ease;
  text-align: center;
}

/* HOVER */
.struktur-card:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 0 2px rgba(198, 40, 40, 0.25),
    0 22px 50px rgba(198, 40, 40, 0.25);
}

/* ICON PMI POJOK */
.pmi-icon {
  position: absolute;
  top: 12px;     /* TETAP */
  right: 12px;   /* TETAP */

  width: 68px;
  height: 68px;

  background: transparent;   /* HILANGKAN LINGKARAN */
  border-radius: 0;          /* PENTING */

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

.pmi-icon img {
  width: 55px;   /* sebelumnya ±32px */
  height: auto;
}

.struktur-card:hover .pmi-icon img {
  transform: scale(1.05);
  transition: 0.3s ease;
}



/* FOTO ANGGOTA */
.struktur-card > img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #C62828;
  margin-bottom: 18px;
}

/* NAMA */
.struktur-card h5 {
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

/* JABATAN */
.struktur-card span {
  font-size: 14px;
  font-weight: 600;
  color: #C62828;
}

/* PEMBINA LEBIH DOMINAN */
.struktur-top {
  border-width: 3px;
  transform: scale(1.06);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .struktur-top {
    transform: scale(1);
  }

  .pmi-icon {
    width: 24px;
    height: 24px;
  }
}








/* ================= KEGIATAN ================= */
.kegiatan-section {
  background: #f9f9f9;
}

.kegiatan-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.kegiatan-card:hover {
  transform: translateY(-6px);
}

.kegiatan-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.kegiatan-content {
  padding: 20px;
  text-align: center;
}

/* ================================
   STRUKTUR ORGANISASI
================================ */

/* code struktur kamu */

/* ================================
   ARTIKEL PMR
================================ */

/* ===== ARTIKEL PMR FINAL POLISH ===== */
.artikel-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.artikel-card:hover .artikel-img {
  transform: scale(1.05);
}

.artikel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.artikel-body {
  padding: 18px;
  text-align: center;
}

.artikel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc3545;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.artikel-body h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

.artikel-body p {
  font-size: 14px;
}

.artikel-list {
  padding-left: 1rem;
  margin-top: 8px;
}

.artikel-list li {
  margin-bottom: 4px;
  color: #555;
}

.artikel-body button {
  transition: 0.3s;
}

.artikel-body button:hover {
  background: #b02a37;
  letter-spacing: 0.5px;
}





/* ================= CONTACT ================= */
.contact-section {
  background: #ffffff;
}

.contact-card {
  display: block;
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  height: 100%;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(198,40,40,0.25);
}

.contact-card i {
  font-size: 34px;
  margin-bottom: 14px;
}

.contact-card span {
  font-weight: 600;
  color: #C62828;
  font-size: 14px;
}

/* Icon color */
.contact-wa { color: #25D366; }
.contact-email { color: #C62828; }
.contact-ig { color: #E1306C; }
.contact-map { color: #1976D2; }

/* ================= CONTACT ================= */
.contact-section {
  background: #ffffff;
}

.contact-card {
  display: block;
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  height: 100%;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(198,40,40,0.25);
}

.contact-card i {
  font-size: 34px;
  margin-bottom: 14px;
}

.contact-card span {
  font-weight: 600;
  color: #C62828;
  font-size: 14px;
}

/* Icon color */
.contact-wa { color: #25D366; }
.contact-email { color: #C62828; }
.contact-ig { color: #E1306C; }
.contact-map { color: #1976D2; }

/* ================= FOOTER DARK RED WAVE ================= */
.pmr-footer-wave {
  position: relative;
  background: linear-gradient(135deg, #4b0000, #8b0000);
  color: #eee;
  padding-top: 80px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 100px;
}

.footer-wave path {
  fill: #111;
}

/* ================= ANIMATED WAVE ================= */
.animated-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.animated-wave svg {
  width: 200%;
  height: 120px;
}

/* WAVE BASE */
.wave {
  animation: waveMove 12s linear infinite;
  fill: #111;
}

/* LAYERING EFFECT */
.wave1 {
  opacity: 0.9;
  animation-duration: 14s;
}

.wave2 {
  opacity: 0.6;
  animation-duration: 18s;
}

.wave3 {
  opacity: 0.4;
  animation-duration: 22s;
}

/* ANIMATION */
@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* CONTENT */
.footer-content {
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
}

.footer-brand img {
  width: 45px;
  margin-right: 10px;
}

.footer-brand h5 {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.footer-text {
  font-size: 14px;
  color: #ddd;
  line-height: 1.7;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links a,
.footer-contact a {
  color: #f1c1c1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact i {
  margin-right: 8px;
  color: #ff6b6b;
}

/* SOCIAL */
.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #ff4d4d;
  transform: translateY(-5px);
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #f3caca;
}

/* ================= FOOTER VALUES (PMR) ================= */
.footer-values {
  font-size: 13px;
  color: #f3caca;
}

.footer-subtitle {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  margin-top: 12px;
}

.footer-values ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-values ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.footer-values ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6b6b;
  font-weight: bold;
}

/* ===== NILAI PMR LEBIH TENANG ===== */
.footer-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #ffd6d6;
  display: block;
  margin-bottom: 8px;
}

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

.footer-list li {
  font-size: 13px;
  color: #f0caca;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* RESPONSIVE: HP */
@media (max-width: 576px) {
  .footer-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FLOATING MATERI BUTTON ===== */
.floating-materi {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.floating-materi:hover {
  background: #b02a37;
  transform: translateY(-4px);
}


