/*
Theme Name: GTM Galung Child
Theme URI: https://gtm-galung.local/
Description: Tema turunan dari GTM Galung untuk Gereja Toraja Mamasa Jemaat Galung-Galung
Author: Tim GTM
Author URI: https://gtm-galung.local/
Template: gtmgalung-theme
Version: 1.0
Text Domain: gtmgalung-theme-child
*/


/* Tambahkan CSS kustom di bawah ini */

/* ======== GLOBAL RESET & BODY ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'poppin', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ======== HEADER / NAVIGATION ======== */
header {
  background-color: #DDA0DD;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}

/* ======== HERO / SECTION UTAMA ======== */
.hero {
  background-color: #ede9fe;
  padding: 4rem 1rem;
  text-align: center;
}
.hero h1 {
  color: #4c1d95;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  color: #555;
}

/* ======== SLIDER MAJELIS ======== */
.swiper.majelis-slider {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.swiper-slide {
  background-color: #f3e8ff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}
.swiper-slide:hover {
  transform: translateY(-5px);
}
.swiper-slide img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.swiper-slide h4 {
  font-size: 1.1rem;
  color: #4c1d95;
  margin: 0.5rem 0 0.25rem;
}
.swiper-slide p {
  font-size: 0.9rem;
  color: #666;
}
.swiper-button-next,
.swiper-button-prev {
  color: #4c1d95;
}
.swiper-pagination-bullet-active {
  background: #4c1d95;
}

/* ======== FOOTER ======== */
footer {
  background-color: #4c1d95;
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ======== RESPONSIVE BREAKPOINTS ======== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .swiper-slide {
    padding: 0.8rem;
  }
}
.gtm-slider-majelis {
  width: 100%;
  padding: 1rem 0;
}
.swiper-slide.majelis-card {
  text-align: center;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.majelis-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.majelis-name {
  font-size: 1.1rem;
  margin: 0.25rem 0;
}
.majelis-role {
  font-size: 0.9rem;
  color: #555;
}
.tabel-jemaat {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.tabel-jemaat th,
.tabel-jemaat td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}
.tabel-jemaat th {
  background-color: #ede9fe;
  color: #4c1d95;
  font-weight: bold;
}
.tabel-jemaat tr:nth-child(even) {
  background-color: #faf5ff;
}
.tabel-jemaat tr:hover {
  background-color: #f3e8ff;
}

.ayat-per-hari {
  background-color: #f3e8ff;
  border-left: 4px solid #7c3aed;
  padding: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #4c1d95;
}
.footer-widgets {
  background-color: #4c1d95; /* ungu tua khas tema GTM */
  color: white;
}

.footer-widget {
  padding: 10px;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
/* Gaya grid untuk arsip kumpulan */
.archive .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.archive .post-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}

.archive .post-item:hover {
  transform: translateY(-5px);
}

.archive .post-item h2 {
  font-size: 1.25rem;
  color: #5e2ca5;
  margin-bottom: 0.5rem;
}

.archive .post-item p {
  margin-bottom: 0.75rem;
}
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #6b46c1;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  display: none;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}
#backToTop:hover {
  background-color: #553c9a;
}

/* === GTM Galung Pastel Ungu Theme === */

/* Body dan Font */
body {
  background-color: #EDE7F6;
  font-family: 'Nunito Sans', sans-serif;
  color: #3A3A3A;
  line-height: 1.7;
}

/* Header */
header, .site-header {
  background-color: #D6C2E9;
  color: #3A3A3A;
  padding: 1rem;
  border-bottom: 2px solid #B39DDB;
}

/* Navigation */
nav a {
  color: #3A3A3A;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
nav a:hover {
  color: #6A4C93;
}

/* Section */
section {
  background-color: #FFFFFF;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Button */
button, .btn, input[type="submit"] {
  background-color: #B39DDB;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover, .btn:hover, input[type="submit"]:hover {
  background-color: #A093B4;
}

/* Footer */
footer, .site-footer {
  background-color: #D6C2E9;
  color: #3A3A3A;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Heading */
h1, h2, h3, h4, h5, h6 {
  color: #6A4C93;
  font-family: 'Playfair Display', serif;
}

/* Links */
a {
  color: #6A4C93;
  text-decoration: none;
}
a:hover {
  color: #4A3B6D;
  text-decoration: underline;
}

/* Widgets */
.widget {
  background: #FFFFFF;
  border-left: 4px solid #B39DDB;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Forms */
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #B39DDB;
  border-radius: 6px;
  background-color: #FAF9FF;
  margin-bottom: 1rem;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #B39DDB;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 1.2rem;
  display: none;
  z-index: 99;
  transition: background 0.3s;
}
#back-to-top:hover {
  background: #A093B4;
}
.widget-tabel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.widget-tabel th, .widget-tabel td {
  padding: 8px;
  border: 1px solid #ddd;
}

.widget-tabel thead {
  background-color: #f3e8ff;
}

.widget-tabel {
  overflow-x: auto;
}

.widget-arsip-kegiatan {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
}

.widget-arsip-kegiatan li {
  margin-bottom: 6px;
}

.widget-arsip-kegiatan a {
  color: #6b21a8;
  text-decoration: none;
}

.widget-arsip-kegiatan a:hover {
  text-decoration: underline;
}

.majelis-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.majelis-card:hover {
  transform: translateY(-5px);
}
.majelis-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.majelis-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 0.25rem;
}
.majelis-role {
  font-size: 0.875rem;
  color: #6b7280;
}
