:root {
  --blue-brand: #1453a3;
  --navy-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #475569;
  --bg-card: #eef1f3;
  --white: #ffffff;
  --border-line: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  background: var(--white);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: var(--navy-dark);
  background: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 0;
}

.brand {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 500px;
  height: 144px;
  object-fit: contain;
}

.community-title {
  margin: 0;
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
}

.site-nav {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.85rem 0;
}

.site-nav::before {
  position: absolute;
  top: 0;
  right: 50px;
  left: 50px;
  height: 1px;
  background: var(--border-line);
  content: "";
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  display: flex;
  align-items: center;
}

.site-nav li + li::before {
  margin: 0 1.5rem;
  color: #94a3b8;
  content: "/";
  font-size: 1.1rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-brand);
}

/* Image Showcase Slider */
.image-showcase {
  position: relative;
  height: auto;
  aspect-ratio: 1500 / 850;
  overflow: hidden;
  background: #e2e8f0;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  animation: showcase-fade-5 25s ease-in-out infinite;
}

.showcase-slide:nth-of-type(1) { animation-delay: 0s; }
.showcase-slide:nth-of-type(2) { animation-delay: 5s; }
.showcase-slide:nth-of-type(3) { animation-delay: 10s; }
.showcase-slide:nth-of-type(4) { animation-delay: 15s; }
.showcase-slide:nth-of-type(5) { animation-delay: 20s; }

.showcase-slide--map {
  object-position: center;
  animation-name: showcase-map-zoom-out;
}

@keyframes showcase-fade-5 {
  0% { opacity: 0; }
  3% { opacity: 1; }
  17% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes showcase-map-zoom-out {
  0% { opacity: 0; transform: scale(1.7); }
  3% { opacity: 1; }
  17% { opacity: 1; transform: scale(1); }
  20% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Bank Info Section */
.bank-info-section {
  padding: 2.5rem 0;
}

.bank-info-card {
  width: 370px;
  max-width: 370px;
  padding: 1.4rem 1.6rem;
  border-radius: 6px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bank-info-card h2 {
  margin: 0 0 0.25rem 0;
  color: #1e293b;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.bank-info-card .address {
  margin: 0 0 0.25rem 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
}

.nip-number {
  margin: 0 0 1.2rem 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}

.info-group {
  margin-top: 1rem;
}

.group-label {
  margin: 0 0 0.2rem 0;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
}

.account-number {
  margin: 0;
  color: #000000;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.branch-name {
  margin: 0 0 0.15rem 0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
}

.branch-address {
  margin: 0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Announcements */
.announcements-section {
  padding: 2.5rem 0 4rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-line);
}

.section-title {
  margin: 0 0 1.5rem 0;
  color: var(--navy-dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.announcement-card {
  padding: 1.4rem;
  border: 1px solid var(--border-line);
  border-radius: 8px;
  background: var(--white);
}

.announcement-card time {
  color: var(--blue-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-card h3 {
  margin: 0.5rem 0 0.6rem 0;
  color: var(--navy-dark);
  font-size: 1.1rem;
}

.announcement-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Blue Footer */
.blue-footer {
  padding: 2.75rem 0;
  color: var(--white);
  background: var(--blue-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col h3 {
  margin: 0 0 0.35rem 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

.sub-note {
  margin: 0 0 0.85rem 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-style: italic;
}

.person-title {
  margin: 0 0 0.4rem 0;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.email-link {
  margin: 0 0 0.65rem 0;
  font-size: 0.92rem;
}

.email-link a {
  color: var(--white);
  text-decoration: none;
}

.contact-row {
  margin: 0 0 0.4rem 0;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-row a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.role-entry {
  margin: 0 0 0.85rem 0;
  line-height: 1.25;
  font-size: 0.92rem;
}

.role-entry strong {
  display: block;
  margin-bottom: 0;
  color: var(--white);
  font-weight: 700;
}

.role-entry a {
  display: inline-block;
  margin-top: 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .brand {
    position: static;
  }

  .community-title {
    font-size: 1.4rem;
  }

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

  .bank-info-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .showcase-slide {
    animation: none;
  }
  .showcase-slide:not(:first-of-type) {
    display: none;
  }
}
