
:root{
  --bg:#ffffff;
  --text:#111;
  --muted:#666;
  --line:#e6e6e6;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --radius:16px;
  --max:1280px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

/* =====================================================
   TOPBAR - Elevation Church Style
   ===================================================== */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 20px;
  height:64px;
}

.topbar__left{ display:flex; align-items:center; gap:14px; min-width:220px; }
.topbar__center{ flex:1; display:flex; justify-content:center; }
.topbar__nav{ display:flex; gap:28px; align-items:center; }
.topbar__link{
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  color:var(--text);
  opacity:.85;
  transition:opacity 0.2s;
  border-bottom:2px solid transparent;
  padding-bottom:2px;
  display:flex;
  align-items:center;
  gap:6px;
}
.topbar__icon{ width:18px; height:18px; display:flex; align-items:center; justify-content:center; opacity:.85; }
.topbar__link:hover{ opacity:1; }
.topbar__link:hover .topbar__icon{ opacity:1; }
.topbar__link.is-active{
  opacity:1;
  border-bottom-color:var(--text);
}
.topbar__link.is-active .topbar__icon{ opacity:1; }

.topbar__right{ display:flex; gap:16px; align-items:center; min-width:120px; justify-content:flex-end; }

.toplink{
  font-size:13px;
  text-decoration:none;
  color:#111;
  opacity:.9;
}
.toplink:hover{ opacity:1; }

/* =====================================================
   HAMBURGER ICON - Elevation Church Style (3 lines)
   ===================================================== */
.iconbtn{
  border:0;
  background:transparent;
  width:44px;
  height:44px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}
.iconbtn:hover{ background:#f5f5f5; }

.hamburger{
  width:22px;
  height:16px;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.hamburger::before,
.hamburger::after,
.hamburger span{
  content:"";
  display:block;
  width:100%;
  height:2px;
  background:#111;
  border-radius:1px;
  transition: all 0.25s ease;
}
.hamburger span{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
}
.hamburger::before{ position:absolute; top:0; }
.hamburger::after{ position:absolute; bottom:0; }

/* Hamburger animation when open */
.iconbtn.is-open .hamburger::before{
  transform: rotate(45deg);
  top:7px;
}
.iconbtn.is-open .hamburger::after{
  transform: rotate(-45deg);
  bottom:7px;
}
.iconbtn.is-open .hamburger span{
  opacity:0;
}

/* =====================================================
   BRAND / LOGO
   ===================================================== */
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand__logo{ height:32px; display:block; }
.brand__logo--mobile{ display:none; height:36px; }

/* =====================================================
   SEARCH (fake)
   ===================================================== */
.searchFake{
  width:min(480px, 100%);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:13px;
  background:#fafafa;
}
.searchFake__icon{ font-size:14px; opacity:.7; }

/* =====================================================
   OVERLAY
   ===================================================== */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:30;
  opacity:0;
  visibility:hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.overlay.is-visible{
  opacity:1;
  visibility:visible;
}

/* =====================================================
   DRAWER MENU - Elevation Church Style with Icons
   ===================================================== */
.drawer{
  position:fixed;
  top:0; left:0;
  height:100%;
  width:min(380px, 85vw);
  background:#fff;
  z-index:40;
  transform:translateX(-100%);
  transition:transform .28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
.drawer.is-open{ transform:translateX(0); }
.drawer__inner{
  height:100%;
  display:flex;
  flex-direction:column;
  padding:24px 20px;
  gap:20px;
  overflow-y:auto;
}
.drawer__section{
  border-bottom:1px solid var(--line);
  padding-bottom:20px;
}
.drawer__section:last-child{ border-bottom:0; padding-bottom:0; }
.drawer__title{ 
  font-weight:700; 
  font-size:13px; 
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--muted);
  margin:0 0 16px; 
}
.drawer__nav{ display:flex; flex-direction:column; gap:4px; }

/* Drawer Link - Elevation Style with Icon */
.drawer__link{
  text-decoration:none;
  color:#111;
  padding:14px 16px;
  border-radius:12px;
  font-size:15px;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:14px;
  transition: background 0.15s ease;
}
.drawer__link:hover{ background:#f5f5f5; }
.drawer__link.is-active{ background:#111; color:#fff; }
.drawer__link.is-active .drawer__icon{ color:#fff; }
.drawer__link.is-active .drawer__icon svg{ stroke:#fff; }

/* Drawer Icon - Outline/Line Style like Elevation */
.drawer__icon{ 
  width:24px; 
  height:24px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  color:#111;
  flex-shrink:0;
}
.drawer__icon svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  stroke-width:1.5;
  fill:none;
}

.drawer__muted{ margin:0 0 12px; color:var(--muted); font-size:13px; line-height:1.45; }
.drawer__button{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 18px;
  color:#111;
  font-weight:600;
  font-size:14px;
  background:#fafafa;
  transition: background 0.15s ease;
}
.drawer__button:hover{ background:#f0f0f0; }

.drawer__bottom{ margin-top:auto; border-top:1px solid var(--line); padding-top:20px; }
.drawer__social{ display:flex; gap:10px; padding-bottom:14px; }
.soc{
  width:38px; height:38px;
  border-radius:999px;
  border:1px solid var(--line);
  display:grid; place-items:center;
  text-decoration:none;
  color:#111;
  font-weight:700;
  font-size:12px;
  transition: background 0.15s ease;
}
.soc:hover{ background:#f2f2f2; }

.drawer__copyright{
  font-size:12px;
  color:var(--muted);
}

/* =====================================================
   PAGE CONTAINER
   ===================================================== */
.page{ padding:0 0 50px; }
.container{ width:min(var(--max), 100%); margin:0 auto; padding:0 20px; }

/* =====================================================
   HERO BANNER - Elevation Church Style
   Aspect Ratio: 1681 x 663 (~2.54:1)
   Supports: Images and Videos
   ===================================================== */
.hero{
  position:relative;
  width:100%;
  background:#111;
  overflow:hidden;
}

/* Desktop: Full aspect ratio */
.hero--ratio{
  aspect-ratio: 1681 / 663;
}

/* Allow full viewport height option */
.hero--fullheight{
  min-height:calc(100vh - 64px);
  aspect-ratio:auto;
}

/* Hero media (image or video) */
.hero__media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero__media img,
.hero__media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Gradient overlay */
.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.1) 70%, rgba(0,0,0,0) 100%);
  pointer-events:none;
}

/* Hero content positioning */
.hero__content{
  position:absolute;
  left:0;
  bottom:0;
  right:0;
  padding:40px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-width:600px;
}

.hero__kicker{ 
  font-size:13px; 
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.1em;
  opacity:.9; 
}
.hero__title{ 
  font-size:clamp(28px, 4vw, 48px); 
  font-weight:800; 
  margin:0; 
  line-height:1.1;
}
.hero__subtitle{ 
  font-size:clamp(14px, 1.5vw, 18px); 
  opacity:.9; 
  margin:0; 
  line-height:1.5;
  max-width:500px;
}
.hero__ctaRow{ 
  margin-top:20px; 
  display:flex; 
  gap:12px; 
  align-items:center; 
  flex-wrap:wrap;
}

/* Primary button */
.btn{
  appearance:none;
  border:0;
  background:#fff;
  color:#111;
  border-radius:999px;
  padding:14px 28px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover{ 
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}

/* Secondary/outline button */
.btn--outline{
  background:transparent;
  border:2px solid #fff;
  color:#fff;
}
.btn--outline:hover{
  background:rgba(255,255,255,.1);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section{
  padding:50px 0 0;
}
.section__title{
  font-size:clamp(26px, 3.5vw, 38px);
  font-weight:900;
  text-align:center;
  margin:0 0 12px;
  line-height:1.2;
}
.section__subtitle{
  text-align:center;
  color:var(--muted);
  margin:0 auto;
  max-width:620px;
  line-height:1.6;
  font-size:15px;
}

/* =====================================================
   CARD GRID (Icon Cards)
   ===================================================== */
.cardgrid{
  margin-top:30px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}
.card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  background:#fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover{
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transform:translateY(-2px);
}
.card__icon{ font-size:20px; }
.card__h{ font-weight:700; font-size:16px; margin:12px 0 8px; }
.card__p{ color:var(--muted); font-size:14px; line-height:1.5; margin:0 0 16px; }
.card__a{
  display:inline-flex;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  text-decoration:none;
  color:#111;
  font-weight:600;
  font-size:13px;
  background:#fafafa;
  transition: background 0.15s ease;
}
.card__a:hover{ background:#f0f0f0; }

/* =====================================================
   PAGE HEADER (Internal pages)
   ===================================================== */
.pageHeader{
  padding:30px 0 0;
  text-align:left;
}
.pageHeader__title{ font-size:clamp(26px, 3vw, 34px); font-weight:900; margin:0; }
.pageHeader__subtitle{ margin:10px 0 0; color:var(--muted); max-width:780px; line-height:1.6; font-size:15px; }

/* =====================================================
   EMBED BOX
   ===================================================== */
.embedBox{
  margin-top:20px;
  border:1px dashed var(--line);
  border-radius:16px;
  padding:20px;
  background:#fcfcfc;
  overflow:hidden;
}
.embedBox iframe, .embedBox video{ width:100%; min-height:400px; border:0; border-radius:12px; }
.embedHint{ color:var(--muted); font-size:13px; margin:0; }

/* =====================================================
   FORMS
   ===================================================== */
.formWrap{
  margin-top:20px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  background:#fff;
}
.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
label{ display:block; font-size:13px; font-weight:600; margin:0 0 8px; color:#333; }
input, textarea, select{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  font-size:14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color:#111;
  box-shadow:0 0 0 3px rgba(0,0,0,.05);
}
textarea{ min-height:140px; resize:vertical; }
.help{ font-size:12px; color:var(--muted); margin-top:8px; }

.alert{ margin-top:16px; padding:14px 16px; border-radius:10px; background:#f5f5f5; border:1px solid var(--line); font-size:14px; }

/* =====================================================
   TESTIMONY LIST
   ===================================================== */
.testimonyList{ margin-top:24px; display:flex; flex-direction:column; gap:14px; }
.testimony{
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  background:#fff;
}
.testimony__meta{ color:var(--muted); font-size:12px; margin-bottom:10px; }
.testimony__text{ margin:0; line-height:1.6; font-size:14px; white-space:pre-wrap; }

/* =====================================================
   LIVE BADGE
   ===================================================== */
.liveBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.dot{
  width:10px; height:10px;
  background:#d10;
  border-radius:50%;
  animation: pulse 1.2s infinite;
}
@keyframes pulse{
  0%{ transform:scale(1); box-shadow:0 0 0 0 rgba(209,16,0,.5); }
  70%{ transform:scale(1.05); box-shadow:0 0 0 10px rgba(209,16,0,0); }
  100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(209,16,0,0); }
}

/* =====================================================
   RESPONSIVE - Tablet
   ===================================================== */
@media (max-width: 1024px){
  .topbar__center{ display:none; }
  .topbar__left{ min-width:auto; }
  .cardgrid{ grid-template-columns: repeat(2, 1fr); }
  
  .hero__content{
    padding:30px;
    max-width:500px;
  }
}

/* =====================================================
   RESPONSIVE - Mobile Large
   ===================================================== */
@media (max-width: 768px){
  .topbar{
    padding:10px 16px;
    height:60px;
  }
  .topbar__nav{ display:none; }
  .topbar__right{ display:none; }
  
  .hero--ratio{
    aspect-ratio: 16 / 10;
    min-height:300px;
  }
  
  .hero__content{
    padding:24px 20px;
    max-width:100%;
  }
  .hero__title{
    font-size:clamp(24px, 6vw, 32px);
  }
  
  .section{
    padding:40px 0 0;
  }
  .section__title{
    font-size:clamp(22px, 5vw, 28px);
  }
}

/* =====================================================
   RESPONSIVE - Mobile Small
   ===================================================== */
@media (max-width: 640px){
  .topbar__center{ display:none; }
  .brand__logo--desktop{ display:none; }
  .brand__logo--mobile{ display:block; }
  
  .hero--ratio{
    aspect-ratio: 4 / 3;
    min-height:280px;
  }
  
  .hero__overlay{
    background:linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.6) 100%);
  }
  
  .hero__content{
    padding:20px 16px;
    bottom:0;
    left:0;
    right:0;
  }
  .hero__kicker{
    font-size:11px;
  }
  .hero__subtitle{
    font-size:13px;
  }
  
  .container{
    padding:0 16px;
  }
  
  .formRow{ grid-template-columns: 1fr; }
  .cardgrid{ grid-template-columns: 1fr; }
  
  .btn{
    width:100%;
    padding:14px 20px;
  }
  
  .drawer{
    width:100%;
  }
}

/* =====================================================
   CARD ICON STYLES
   ===================================================== */
.card__icon{ display:flex; align-items:center; gap:10px; }
.card__icon svg{ width:24px; height:24px; display:block; }
.card__icon.is-red{ color:#d10; }

/* =====================================================
   Home Bottom Section - Image Cards (Like Elevation Church)
   ===================================================== */
.bottom-section {
  padding: 70px 0 50px;
}

.bottom-section__header {
  text-align: center;
  margin-bottom: 50px;
}

.bottom-section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--text);
  line-height:1.15;
}

.bottom-section__subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height:1.6;
}

.image-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.image-card {
  display: flex;
  flex-direction: column;
}

.image-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  background: #f0f0f0;
}

.image-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.image-card:hover .image-card__img {
  transform: scale(1.04);
}

.image-card__content {
  padding: 20px 4px 0;
}

.image-card__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
}

.image-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.image-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.image-card__link:hover {
  gap: 10px;
}

.image-card__link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--text);
}

/* Responsive for image cards */
@media (max-width: 980px) {
  .image-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .bottom-section {
    padding: 50px 0 40px;
  }
}

@media (max-width: 640px) {
  .image-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bottom-section {
    padding: 40px 0 30px;
  }
  .bottom-section__header {
    margin-bottom: 30px;
  }
}
