:root {
  --ink: #0b0b0b;
  --navy: #0a1b2f;
  --gold: #1d4ed8;
  --sand: #f6f1e7;
  --stone: #f3f5f9;
  --muted: #5b677a;
  --line: rgba(12, 35, 64, 0.12);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #ffffff 0%, #f5f7fb 45%, #eef2f9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* LOGIN MODERN */
body.login-page {
  background: #0a1b2f url("../assets/phase2.png") center / cover no-repeat;
  font-family: "Montserrat";
}

.login-page main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  min-height: 100vh;
}

.login-split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  background: transparent;
  width: 100%;
  margin: 0;
  padding: 0;
}

.login-form-overlay {
  position: relative;
  z-index: 1;
  width: min(880px, 90vw);
  align-self: stretch;
  padding: clamp(28px, 4vw, 40px);
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.login-form-overlay h1 {
  font-size: 1.8rem;
  margin: 0 0 6px;
  color: #111827;
}

.login-subtitle {
  margin: 0 0 14px;
  color: #6b7280;
}


.login-form-fancy {
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.login-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  width: 400px;
}

.login-input input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
  font-family: "Montserrat";
}

.login-input input::placeholder {
  font-family: "Montserrat";
}

.login-submit {
  margin-top: 16px;
  width: fit-content;
  border: none;
  border-radius: 999px;
  padding: 10px 32px;
  font-weight: 700;
  background: #0a1b2f;
  color: #ffffff;
  font-family: "Montserrat";
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 27, 47, 0.25);
}

@media (max-width: 900px) {
  .login-split {
    min-height: 100vh;
    padding: 40px 0;
  }

  .login-form-overlay {
    margin: 0 auto;
    height: auto;
    border-radius: 20px;
  }
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(29, 78, 216, 0.12), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(12, 35, 64, 0.18), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  flex: 1;
}

/* PAGE ALIGN */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* KEGIATAN FULL-PAGE BANNERS */
.kegiatan-page main {
  max-width: none;
  padding: 0;
  align-items: stretch;
}

.kegiatan-page .section {
  margin-top: 0;
  padding: 0;
}

.kegiatan-page .page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.kegiatan-banner {
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  position: relative;
  color: #ffffff;
  background-color: #0b1f3a;
  overflow: hidden;
}

.kegiatan-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.kegiatan-info {
  position: relative;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 16px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
  background: transparent;
  max-width: 1000px;
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 1;
}

.kegiatan-banner:nth-of-type(even) .kegiatan-info {
  left: auto;
  right: 40px;
}

.kegiatan-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.kegiatan-meta,
.kegiatan-desc {
  font-weight: 500;
}

/* KEGIATAN CARD */
.kegiatan-section {
  width: 100%;
  margin-top: 0;
}

.kegiatan-list {
  display: grid;
  gap: 0;
}

.kegiatan-card {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: transparent;
}

.kegiatan-media {
  position: relative;
  width: 100%;
}

.kegiatan-image {
  width: 100%;
  height: auto;
  display: block;
}

.kegiatan-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(10, 27, 47, 0.92);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  max-width: min(420px, 85%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.kegiatan-overlay-title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* HOME FULL-PAGE SECTIONS */
.home-page main {
  padding: 0 20px;
  scroll-snap-type: y mandatory;
  align-items: stretch;
}

.home-page main > section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  padding: 80px 0 40px;
}

.home-page main > section.full-image-section {
  min-height: auto;
  display: block;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  scroll-snap-align: start;
}

.full-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.full-image-section.hero-overlay {
  position: relative;
}

.full-image-section.hero-overlay .full-image {
  position: relative;
  z-index: 0;
}

.full-image-section.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 20, 32, 0.65), rgba(9, 20, 32, 0.15));
  z-index: 1;
}

.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 6vw, 96px) 20px;
  z-index: 2;
}

.full-image-section.hero-overlay .hero-text {
  max-width: 720px;
  color: #f9f4ea;
}

.full-image-section.hero-overlay .eyebrow {
  color: #f5e6c1;
  margin-bottom: 18px;
}

.full-image-section.hero-overlay .hero-text h1 {
  color: #fff8eb;
  text-shadow: 0 10px 30px rgba(5, 10, 18, 0.45);
  margin-bottom: 22px;
}

.full-image-section.hero-overlay .tagline {
  color: #f5e6c1;
  margin-bottom: 18px;
}

.full-image-section.hero-overlay .lead {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}

.full-image-section.hero-overlay .hero-actions,
.full-image-section.hero-overlay .hero-social {
  justify-content: center;
}

.full-image-section.hero-overlay .btn.primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(6, 12, 20, 0.35);
}

.full-image-section.hero-overlay .hero-social a {
  background: rgba(255, 255, 255, 0.92);
}

.home-page .section {
  margin-top: 0;
}

section {
  width: 100%;
}

.section-header,
.page-hero {
  text-align: center;
  align-items: center;
}

.muted {
  color: var(--muted);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(10, 27, 47, 0.9);
  border-bottom: 1px solid rgba(215, 180, 106, 0.15);
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.logo-text {
  color: #f8f3ea;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a {
  color: #f0f0f0;
  padding-bottom: 6px;
  position: relative;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-form {
  display: inline-flex;
}

.nav-button {
  border: none;
  background: transparent;
  color: #f0f0f0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-button:hover {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #fff4dc;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 5px;
}

/* HERO */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 48px 0 24px;
}

.home-page .hero-split {
  grid-template-columns: 1fr;
  justify-items: center;
}

.home-page .hero-text {
  text-align: center;
  margin: 0 auto;
}

.home-page .hero-text .lead {
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-actions,
.home-page .hero-social {
  justify-content: center;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 10px 0 16px;
  color: var(--ink);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
}

.tagline {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(12, 35, 64, 0.25);
}

.btn.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-social a {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  width: auto;
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-social span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.hero-social a:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(12, 35, 64, 0.22);
}

.hero-visual {
  display: grid;
  gap: 36px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.hero-card h3 {
  margin-bottom: 6px;
  color: var(--navy);
}

/* SECTIONS */
.section {
  margin-top: 64px;
}

.section.alt {
  background: linear-gradient(120deg, #f9f7f2 0%, #f0f4fb 100%);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding: 0 6px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.grid {
  display: grid;
  gap: 36px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.one {
  grid-template-columns: 1fr;
}

/* PROFILE */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.profile-image {
  height: 260px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(215, 180, 106, 0.7), rgba(12, 35, 64, 0.7)),
    url("../assets/pastor.jpg");
  background-size: cover;
  background-position: center;
  
  box-shadow: var(--shadow);
}

.profile-text h3 {
  font-size: 2rem;
  margin: 6px 0 12px;
}

/* SHEPHERD */
.shepherd-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.shepherd-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  text-align: left;
}

.shepherd-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shepherd-info h3 {
  font-size: 1.4rem;
  letter-spacing: 0.2px;
}

.shepherd-role {
  margin-top: 6px;
  font-style: normal;
  color: var(--navy);
  font-weight: 400;
  font-size: 0.9rem;
}

/* LIST */
.pill-list {
  display: grid;
  gap: 12px;
  justify-items: center;
  list-style: none;
}

.pill-list li {
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  box-shadow: 0 8px 20px rgba(12, 35, 64, 0.08);
}

.map-embed {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 100%;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* MAP */
.map-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: stretch;
  min-height: 360px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
}

.place-card {
  display: grid;
  height: 100%;
}

.place-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: none;
  box-shadow: var(--shadow);
}

.place-card h3 {
  font-size: 1rem;
  color: var(--navy);
}

.map-placeholder {
  min-height: 220px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(12, 35, 64, 0.8), rgba(12, 35, 64, 0.4)),
    url("../assets/map.jpg");
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f7f1e3;
  border: 1px solid rgba(29, 78, 216, 0.2);
  font-size: 0.85rem;
}

/* SOCIAL LINKS */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  justify-items: center;
}

.links.modern {
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 180px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: #f8f3ea;
}

.social-icon {
  width: 18px;
  height: 18px;
}

/* NOTES */
.grid.notes-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.note-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.16);
}

.note-card h3 {
  font-size: 1rem;
  color: var(--navy);
}

/* HEADER SPACING */
.page-hero .eyebrow,
.section-header .eyebrow {
  margin-bottom: 6px;
}

.page-hero h1,
.section-header h2 {
  margin-bottom: 10px;
}

.page-hero .lead,
.section-header p {
  margin-bottom: 22px;
  text-align: center;
}

/* CARD SPACING */
.card,
.info-card,
.quiz-card,
.event-card {
  margin: 8px 0;
}

/* CARD TEXT */
.card,
.info-card,
.quiz-card,
.event-card {
  text-align: center;
}

.card p,
.info-card p,
.event-card p {
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
  margin: 8px 0 0;
  color: var(--ink);
}

.quiz-card p {
  margin: 0;
  background: none;
  padding: 0;
}

.card ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.card ul li::before {
  content: "";
}
/* QUIZ */
.quiz-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.quiz-card:hover {
  transform: translateY(-3px);
}

.quiz-image {
  height: 140px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  
}

/* MEDIA CARD */

.media-image {
  background-size: cover;
  background-position: center;
  
}

.media-body {
  padding-top: 10px;
}
.info-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.info-lines p {
  background: none;
  padding: 0;
  border-radius: 0;
  margin: 0;
}

/* INFO CARD */
.info-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  color: var(--ink);
  overflow: hidden;
}

.info-card.wide {
  margin-top: 22px;
}

.info-image {
  height: 190px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  
}

.info-body {
  padding-top: 6px;
}

/* EVENT */
.event-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  box-shadow: none;
  display: grid;
  gap: 10px;
}

.event-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-track .event-card {
  flex: 0 0 calc((100% - 40px) / 3);
}

.event-image {
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 35, 64, 0.7), rgba(12, 35, 64, 0.2)),
    url("../assets/event.jpg");
  background-size: cover;
  background-position: center;
  
}

/* LOGO GRID */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.logo-tile {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(29, 78, 216, 0.2);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.link {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 600;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: #f8f3ea;
  padding: 22px 20px 16px;
  border-top: none;
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

footer .muted {
  color: rgba(248, 243, 234, 0.75);
}

.footer-copy {
  text-align: center;
  color: rgba(248, 243, 234, 0.8);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .map-panel {
    grid-template-columns: 1fr;
  }

  .shepherd-list {
    grid-template-columns: 1fr;
  }

  .kegiatan-info {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    left: 20px;
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 1024px) {
  .carousel-track .event-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 27, 47, 0.98);
    flex-direction: column;
    padding: 20px 0;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .section.alt {
    padding: 28px;
  }

  .place-grid {
    grid-template-columns: 1fr;
  }

  .event-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    justify-self: center;
  }

  .carousel-track .event-card {
    flex: 0 0 100%;
  }
}

.month-title {
  text-align: center;
  margin: 10px 0 24px;
}

.info-box {
  background: #f5f7fb;
  padding: 10px 14px;
  border-radius: 12px;
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.info-box p {
  margin: 0;
}

.media-16x9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  
  overflow: hidden;
}


.info-card.no-media {
  padding-top: 20px;
}

.quiz-card .desc-box {
  background: #f5f7fb;
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 6px;
  text-align: center;
  display: inline-block;
  max-width: 240px;
  width: 100%;
  box-sizing: border-box;
}

.quiz-card h3 {
  text-align: center;
  margin: 0;
}

.info-card .info-image {
  border-radius: 16px 16px 12px 12px;
}

.info-card .media-16x9 {
  border-radius: 18px 18px 10px 10px;
}

.info-card > h3,
.info-card > p,
.info-card > .info-box,
.info-card > .info-lines {
  padding: 0 18px;
}

.info-card > h3 {
  margin: 16px 0 6px;
}

.info-card > .info-box,
.info-card > .info-lines,
.info-card > p {
  margin-bottom: 16px;
}

.card-media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
}

.page-hero > div {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .lead {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pill-list {
  display: grid;
  gap: 16px;
  list-style: none;
  justify-items: center;
  padding: 0;
  margin: 0 auto;
}

.pill-list li {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(12, 35, 64, 0.08);
  width: 100%;
  max-width: 860px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.info-card.media-card .card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.info-card.media-card .info-body {
  padding: 16px 18px 20px;
}

.info-card.media-card h3 {
  margin: 0 0 8px;
}

.media-card {
  padding: 0;
  overflow: hidden;
  height: auto;
  align-self: start;
}

.media-card .card-media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
}

.media-card .info-body {
  padding: 10px 14px 12px;
  background: #ffffff;
}

.media-card .info-body p {
  background: none;
  padding: 0;
  margin: 4px 0 0;
  display: block;
  font-size: 0.95rem;
}

.media-card .info-body {
  padding: 6px 12px 8px;
  background: #ffffff;
  text-align: center;
}

.media-card .info-body h3 {
  margin: 0;
}

.media-card .info-body p {
  background: none;
  padding: 0;
  margin: 2px 0 0;
  display: block;
  font-size: 0.9rem;
  line-height: 1.25;
}

.grid {
  align-items: start;
}

/* LOGIN */
.login-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.login-status {
  margin-top: 12px;
  font-weight: 600;
}

.login-status.error {
  color: #b91c1c;
}

.nav-links a.disabled {
  opacity: 0.5;
}

/* LOGIN AVATAR */
.login-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f3f6ff;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.login-avatar img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* RESPONSIVE REFINEMENTS */
@media (max-width: 1100px) {
  main {
    max-width: 100%;
    padding: 36px 24px 72px;
  }

  .navbar {
    padding: 14px 22px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    padding: 92px 22px 22px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 40px rgba(5, 10, 18, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a,
  .nav-button {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }

  .nav-form {
    width: 100%;
  }

  .home-page main {
    padding: 0 16px;
    scroll-snap-type: none;
  }

  .home-page main > section {
    min-height: auto;
    padding: 72px 0 48px;
  }

  .full-image-section.hero-overlay {
    min-height: 640px;
    overflow: hidden;
  }

  .full-image-section.hero-overlay .full-image {
    height: 100%;
    min-height: 640px;
    object-fit: cover;
  }

  .hero-overlay-content {
    padding: 64px 28px;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .map-panel {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 360px;
  }

  .kegiatan-overlay {
    left: 18px;
    bottom: 18px;
    padding: 10px 12px;
    gap: 2px;
    max-width: min(340px, 78%);
    border-radius: 8px;
  }

  .kegiatan-overlay-title {
    font-size: 0.88rem;
  }

  .kegiatan-overlay p {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  main {
    padding: 32px 18px 64px;
  }

  .navbar {
    padding: 12px 16px;
  }

  .logo {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    max-width: 180px;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .nav-links {
    top: 0;
    left: 0;
    right: 0;
    padding: 80px 16px 18px;
  }

  .home-page main {
    padding: 0;
  }

  .home-page main > section {
    padding: 56px 18px 40px;
  }

  .home-page main > section.full-image-section {
    width: 100%;
    margin-left: 0;
  }

  .full-image-section:not(.hero-overlay) .full-image {
    min-height: 420px;
    object-fit: cover;
  }

  .full-image-section.hero-overlay {
    min-height: 620px;
  }

  .full-image-section.hero-overlay .full-image {
    min-height: 620px;
  }

  .full-image-section.hero-overlay::after {
    background: linear-gradient(180deg, rgba(9, 20, 32, 0.72), rgba(9, 20, 32, 0.42));
  }

  .hero-overlay-content {
    padding: 52px 20px;
  }

  .hero-text h1,
  .full-image-section.hero-overlay .hero-text h1 {
    font-size: 2rem;
    line-height: 1.18;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 2px;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions,
  .hero-social {
    width: 100%;
  }

  .hero-actions .btn {
    width: min(100%, 280px);
    text-align: center;
  }

  .hero-social {
    gap: 10px;
  }

  .hero-social a {
    min-height: 44px;
    padding: 0 12px;
  }

  .section {
    margin-top: 48px;
  }

  .section-header h2 {
    font-size: 1.75rem;
    line-height: 1.22;
  }

  .grid,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shepherd-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shepherd-photo {
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: #ffffff;
  }

  .place-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .place-image {
    aspect-ratio: 16 / 10;
  }

  .map-embed {
    min-height: 320px;
  }

  .kegiatan-overlay {
    left: 14px;
    right: auto;
    bottom: 14px;
    padding: 8px 10px;
    max-width: min(300px, calc(100% - 28px));
  }

  .kegiatan-overlay-title {
    font-size: 0.82rem;
  }

  .kegiatan-overlay p {
    font-size: 0.72rem;
  }

  .login-form-overlay {
    width: min(100%, calc(100vw - 32px));
    padding: 28px 20px;
  }

  .login-input {
    width: 100%;
  }

  footer {
    padding: 28px 18px 18px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 28px 14px 56px;
  }

  .logo-text {
    max-width: 145px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    padding: 74px 14px 16px;
  }

  .full-image-section:not(.hero-overlay) .full-image {
    min-height: 360px;
  }

  .full-image-section.hero-overlay,
  .full-image-section.hero-overlay .full-image {
    min-height: 680px;
  }

  .hero-overlay-content {
    align-items: center;
    padding: 44px 16px;
  }

  .hero-text h1,
  .full-image-section.hero-overlay .hero-text h1 {
    font-size: 1.72rem;
  }

  .full-image-section.hero-overlay .eyebrow {
    margin-bottom: 12px;
  }

  .full-image-section.hero-overlay .hero-text h1,
  .full-image-section.hero-overlay .tagline {
    margin-bottom: 14px;
  }

  .full-image-section.hero-overlay .lead {
    margin-bottom: 22px;
  }

  .hero-social a {
    flex: 1 1 100%;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .shepherd-list {
    gap: 22px;
  }

  .shepherd-info h3 {
    font-size: 1.15rem;
  }

  .map-embed {
    min-height: 280px;
  }

  .kegiatan-overlay {
    left: 10px;
    bottom: 10px;
    padding: 7px 9px;
    max-width: min(260px, calc(100% - 20px));
  }

  .kegiatan-overlay-title {
    font-size: 0.76rem;
  }

  .kegiatan-overlay p {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
