:root {
  --bg: #ffffff;
  --text: #0f1724;
  --muted: #6b7280;
  --brand: rgba(40,149,194,1);
  --accent: #ffd166;
  --brand-2: #4b5563;
  --card: #f8fafc;
  --glass: rgba(255,255,255,0.06);
  --shadow: 0 10px 30px rgba(16,24,40,0.08);
  --shadow-strong: 0 20px 50px rgba(16,24,40,0.12);
  --radius: 18px;
  --container: 1100px;
  --max-pad: 60px;
  --gutter: 20px;
  --focus: 3px solid rgba(31,106,165,0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.6;
  background-color: rgba(244,245,247,255);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 1000;
}

.site-header .brand img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}
.site-header .brand img:hover {
  transform: scale(1.05);
}

.site-header a {
  text-decoration: none;
  color: white;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vh, 80px) var(--gutter);
  color: #fff;
  overflow: hidden;
  margin-top: 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  animation: fadeZoom 30s infinite ease-in-out;
}

/* Animation for zoom + fade */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
    transform: scale(1.02);
  }
  20% {
    opacity: 1;
    transform: scale(1.08);
  }
  25% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}


/* Assign different delays to each slide */
.hero-background img:nth-child(1) { animation-delay: 0s; }
.hero-background img:nth-child(2) { animation-delay: 6s; }
.hero-background img:nth-child(3) { animation-delay: 12s; }
.hero-background img:nth-child(4) { animation-delay: 18s; }
.hero-background img:nth-child(5) { animation-delay: 24s; }

@keyframes fadeCarousel {
  0%, 20% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

/* dark overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.35), rgba(2,6,23,0.65));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  padding: 0 20px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  text-shadow: 0 6px 30px rgba(2,6,23,0.7);
}
.hero h1 .welcome {
  color: #fff;
  font-weight: 700;
}
.hero h1 .church-name {
  color: var(--brand);
  font-weight: 700;
}
.hero .sub {
  margin: 0 0 24px;
  font-size: clamp(16px, 2.2vw, 22px);
  opacity: .95;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 18px rgba(2,6,23,0.55);
}

/* CTA group */
.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #eef2f7;
  color: #0b1220;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:focus { outline: none; box-shadow: var(--focus); }
.btn.primary {
  background: linear-gradient(180deg, var(--brand), #165b87);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

/* ===== Watermark ===== */
.under-construction-watermark {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.under-construction-watermark span {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
  -webkit-text-stroke: 1px rgba(0,0,0,0.1);
  white-space: nowrap;
  transform: rotate(-25deg);
  line-height: 1.4;
  margin: 40px 0;
  animation: scrollWatermark 20s linear infinite;
}
.under-construction-watermark span:nth-child(even) {
  animation-direction: reverse;
  color: rgba(255,255,255,0.18);
}
@keyframes scrollWatermark {
  0% { transform: translateX(0) rotate(-25deg); }
  100% { transform: translateX(-50%) rotate(-25deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }
  .site-header .brand img {
    height: 65px;
  }
  .under-construction-watermark span {
    font-size: clamp(1.5rem, 12vw, 4rem);
    margin: 20px 0;
  }
}
/* ===== FOOTER ===== */
.site-footer {
  background: #0b1220;
  color: #fff;
  padding: 60px 20px 20px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--brand);
}

.footer-logo {
  height: 70px;
  margin-bottom: 12px;
}

.tagline {
  font-size: 14px;
  opacity: 0.85;
  margin: 0;
  max-width: 220px;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-plain li {
  margin: 8px 0;
}
.list-plain a {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
.list-plain a:hover {
  color: var(--brand);
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 600px) {
  .footer-top {
    gap: 24px;
  }
  .footer-logo {
    height: 60px;
  }
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom .credit {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}
