/* KEGIATAN & SOSIALISASI PAGE STYLES */

/* HERO SECTION */
.hero {
  padding: 80px 8%;
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  flex: 1.2;
  text-align: left;
}

.hero .badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero button {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.hero-icon {
  width: 280px;
  height: 280px;
  min-width: 280px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  animation: floating 4s ease-in-out infinite;
}

.hero-icon i {
  font-size: 120px;
  color: var(--primary);
}

/* SECTION TITLES */
.title {
  text-align: center;
  margin-bottom: 40px;
}

.title h1, .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  color: var(--forest);
  margin-bottom: 12px;
}

.title p, .section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
}

/* JURNAL & DOKUMENTASI KEGIATAN */
.jurnal-section {
  padding: 80px 8%;
  background: white;
}

.jurnal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 45px auto 0;
}

.jurnal-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.jurnal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.jurnal-img-box {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.jurnal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jurnal-card:hover .jurnal-img-box img {
  transform: scale(1.08);
}

.jurnal-date-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.jurnal-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jurnal-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.jurnal-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.jurnal-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.jurnal-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* MEDIA EDUKASI VIDEO YOUTUBE */
.video-section {
  padding: 80px 8%;
  background: var(--bg-main);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 45px auto 0;
}

.video-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #0f172a;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 24px 20px;
}

.video-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-info h3 i {
  color: #ef4444;
}

.video-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* PROGRAM SOSIALISASI SECTION */
.sosialisasi-section {
  padding: 80px 8%;
  background: white;
}

.sosialisasi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 45px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.sosialisasi-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.sosialisasi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: var(--primary-light);
}

.program-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.sosialisasi-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 12px;
}

.sosialisasi-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.sosialisasi-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

/* AGENDA & MODAL */
.calendar {
  padding: 70px 8%;
  background: white;
}

.calendar-card {
  background: var(--bg-main);
  max-width: 800px;
  margin: 30px auto 0;
  padding: 35px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.calendar-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  color: var(--primary);
  line-height: 1;
}

.calendar-card span {
  color: var(--text-secondary);
  font-size: 14px;
}

.calendar-card p {
  line-height: 1.8;
  color: var(--text-primary);
  font-size: 16px;
  text-align: left;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 550px;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: left;
  animation: popup 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content span {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-content h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--forest);
  font-size: 24px;
  margin-bottom: 8px;
}

.modal-content h4 {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 6%;
  }

  .hero-text { text-align: center; }

  .calendar-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .calendar-card p {
    text-align: center;
  }
}

/* MOBILE RESPONSIVE FIT (IPHONE 12 PRO & SMARTPHONES) */
@media (max-width: 600px) {
  .hero {
    padding: 40px 16px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero-icon {
    width: 180px;
    height: 180px;
    min-width: 180px;
  }

  .hero-icon i {
    font-size: 80px;
  }

  .title h1, .section-title {
    font-size: 24px;
  }

  .title p, .section-subtitle {
    font-size: 14px;
    padding: 0 8px;
  }

  .jurnal-section, .video-section, .sosialisasi-section {
    padding: 40px 16px;
  }

  .jurnal-grid, .video-grid, .sosialisasi-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }

  .jurnal-card, .video-card, .sosialisasi-card {
    border-radius: 20px;
  }

  .jurnal-content {
    padding: 20px 16px;
  }

  .jurnal-content h3 {
    font-size: 18px;
  }

  .sosialisasi-card {
    padding: 24px 18px;
  }

  .calendar {
    padding: 40px 16px;
  }

  .calendar-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 14px;
    border-radius: 20px;
  }

  .calendar-card h2 {
    font-size: 40px;
  }

  .calendar-card p {
    text-align: center;
    font-size: 14px;
  }

  .modal-content {
    padding: 28px 18px;
    border-radius: 20px;
  }
}