/* Movement Church - site styles
   Rebuilt from the WordPress (TheGem) theme to keep the same look. */

:root {
  --dark: #2c2e3d;        /* hero + section bands */
  --darker: #2b2839;      /* top bar + footer */
  --heading: #3c3950;     /* headings on light bg */
  --text: #5f727f;        /* body copy */
  --muted: #99a9b5;       /* top bar text */
  --link: #00bcd4;
  --red: #e15260;         /* Plan a Visit, 01/04 */
  --orange: #f7943b;      /* 02/05 */
  --yellow: #fdc33c;      /* 03 */
  --teal: #008080;        /* inner page title bar */
  --light: #f1f2f4;       /* values grid bg */
  --navy: #0e1040;        /* staff section */
  --pink: #ef4372;
  --cyan: #00bcd4;
  --head-font: "Montserrat", Arial, sans-serif;
  --body-font: "PT Sans Caption", Arial, sans-serif;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 19px;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--head-font);
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  margin: 0 0 .6em;
}
h1 { font-size: 50px; line-height: 1.38; letter-spacing: 2.5px; }
h2 { font-size: 36px; line-height: 1.47; letter-spacing: 1.8px; }
h3 { font-size: 28px; line-height: 1.4;  letter-spacing: 1.4px; }
h4 { font-size: 24px; line-height: 1.5;  letter-spacing: 1.2px; }
h5 { font-size: 19px; line-height: 1.6;  letter-spacing: 1px; }
p { margin: 0 0 1.1em; }
.light { font-weight: 300; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 21px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 1000; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--darker); color: var(--muted); font-size: 14px; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 16px; }
.top-bar .address { display: flex; align-items: center; gap: 8px; }
.top-bar .address svg { color: var(--red); flex: none; }
.top-bar .right { display: flex; align-items: center; gap: 30px; }
.socials { display: flex; gap: 14px; align-items: center; }
.socials a { color: var(--muted); display: inline-flex; }
.socials a:hover { color: #fff; }
.socials svg { width: 17px; height: 17px; }
.btn-visit {
  background: var(--red); color: #fff; font-family: var(--head-font); font-weight: 700;
  font-size: 13px; text-transform: uppercase; padding: 6px 26px; border-radius: 3px; line-height: 18px;
}
.btn-visit:hover { background: #c93f4d; text-decoration: none; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 106px; padding: 0 36px; transition: height .25s; }
.site-header .logo img { width: 164px; transition: width .25s; }
.site-header.scrolled { box-shadow: 0 1px 0 #e6e8ec; }
.site-header.scrolled .bar { height: 50px; }
.site-header.scrolled .logo img { width: 130px; }
.menu-toggle { background: none; border: 0; cursor: pointer; padding: 8px; color: var(--heading); }
.menu-toggle span { display: block; width: 36px; height: 3px; background: currentColor; margin: 6px 0; }
.site-header.scrolled .menu-toggle span { width: 22px; height: 2px; margin: 4px 0; }

/* Slide-in menu panel */
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.menu-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 85vw; background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform .3s ease; padding: 70px 40px 40px; overflow-y: auto;
  box-shadow: -2px 0 12px rgba(0,0,0,.08);
}
.menu-open .menu-panel { transform: none; }
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--heading); }
.menu-panel ul { list-style: none; margin: 0 0 30px; padding: 0; }
.menu-panel li a {
  display: block; padding: 13px 0; font-family: var(--head-font); font-weight: 700; font-size: 13px;
  text-transform: uppercase; color: var(--heading); letter-spacing: .3px;
}
.menu-panel li a:hover, .menu-panel li a[aria-current="page"] { color: var(--red); text-decoration: none; }
.menu-panel .socials-color { display: flex; gap: 10px; }
.menu-panel .socials-color a { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.menu-panel .socials-color svg { width: 15px; height: 15px; }
.fb { background: #3b5998; } .ig { background: #9a8f62; } .yt { background: #c3032f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--head-font); font-weight: 700;
  text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: .2s; text-decoration: none !important;
}
.btn-outline-giant { border: 5px solid var(--heading); color: var(--heading); font-size: 36px; padding: 18px 64px; }
.btn-outline-giant:hover { background: var(--heading); color: #fff; }
.btn-pill { border: 2px solid #fff; color: #fff; font-size: 16px; padding: 10px 40px; border-radius: 30px; }
.btn-pill:hover { background: #fff; color: var(--dark); }
.btn-flat { background: var(--red); color: #fff; font-size: 18px; padding: 16px 40px; }
.btn-flat:hover { background: #c93f4d; }

/* ---------- Home ---------- */
.hero-welcome { background: var(--dark); color: #fff; text-align: center; padding: 90px 21px 40px; }
.hero-welcome h1 { color: #fff; font-size: 50px; margin-bottom: 20px; }
.hero-welcome .loc { font-size: 22px; text-transform: uppercase; margin: 0; }
.worship { background: linear-gradient(var(--dark) 0, var(--dark) 190px, #fff 190px); padding: 50px 21px 90px; text-align: center; }
.worship h2 { color: #fff; margin-bottom: 30px; }
.video-card {
  position: relative; max-width: 1213px; margin: 0 auto; aspect-ratio: 1213 / 682; background: #111 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; padding: 0; width: 100%;
}
.video-card img.play { width: 80px; transition: transform .2s; }
.video-card:hover img.play { transform: scale(1.08); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.visit-band { position: relative; background: #222 center/cover no-repeat; color: #fff; text-align: center; padding: 230px 21px; }
.visit-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,18,30,.25); }
.visit-band > * { position: relative; }
.visit-band .kicker { font-family: var(--head-font); font-size: 30px; letter-spacing: 3px; text-transform: uppercase; }
.visit-band .big { font-family: var(--head-font); font-weight: 400; font-size: 58px; letter-spacing: 5px; text-transform: uppercase; line-height: 1.3; margin: 40px 0 10px; }
.visit-band .addr { font-family: var(--head-font); font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; }

.mission { padding: 120px 21px 100px; text-align: center; }
.mission h2 { font-size: 56px; }
.mission p { font-size: 22px; }

.values { background: var(--light); }
.values .row { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 100px 100px 90px 75px; }
.value .num { font-family: var(--head-font); font-weight: 700; font-size: 80px; line-height: 1; margin-bottom: 40px; display: block; }
.value .name { font-family: var(--head-font); font-weight: 700; font-size: 24px; letter-spacing: 1.5px; color: var(--heading); text-transform: uppercase; margin-bottom: 30px; display: block; }
.value p { font-size: 21px; line-height: 1.2; }
.value-img { background: center/cover no-repeat; min-height: 520px; }
.c-red { color: var(--red); } .c-orange { color: var(--orange); } .c-yellow { color: var(--yellow); }

.generous { padding: 140px 21px 60px; text-align: center; }
.generous h1 { font-weight: 400; letter-spacing: 5px; color: #b6b8c3; font-size: 56px; }
.generous p { font-size: 21px; }
.give-cta { text-align: center; padding: 30px 21px 120px; }
.give-cta svg { width: 30px; height: 36px; }

.pastor { padding: 0 21px 120px; }
.pastor .container { border-top: 1px solid #e6e8ec; padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pastor .title { font-family: var(--head-font); font-weight: 700; font-size: 24px; letter-spacing: 1.2px; color: var(--heading); text-transform: uppercase; margin-bottom: 40px; }
.pastor img { max-width: 300px; margin: 0 auto; }

.saved-cta { background: var(--dark) center/cover no-repeat; padding: 15px 0; }
.saved-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 210px; }
.saved-cta .big {
  font-family: var(--head-font); font-weight: 700; font-size: 80px; line-height: 1.12; letter-spacing: 6px; text-transform: uppercase;
  background: linear-gradient(90deg, #22d0db 0%, #3a8ff7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.saved-cta .big span { display: block; }

/* ---------- Inner page title bars ---------- */
.page-title { background: var(--teal); color: #fff; text-align: center; padding: 80px 21px 0; }
.page-title h1 { color: #fff; margin: 0 0 30px; }
.breadcrumbs { display: inline-flex; gap: 18px; align-items: center; font-size: 19px; color: #fff; padding-bottom: 12px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs .current { border-bottom: 3px solid #fff; padding-bottom: 6px; margin-bottom: -12px; }
.page-title .breadcrumbs { margin-bottom: 0; }
.page-title-pad { height: 12px; }

.hero-xl { position: relative; background: var(--teal) center/cover no-repeat; text-align: center; padding: 90px 21px 0; }
.hero-xl::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); }
.hero-xl > * { position: relative; }
.hero-xl .frame { display: inline-block; border: 2px solid rgba(255,255,255,.75); padding: 18px; max-width: 100%; }
.hero-xl .frame > div { border: 3px solid #fff; padding: 20px 40px; }
.hero-xl h1 { color: #fff; font-size: 110px; line-height: 1.1; text-transform: none; letter-spacing: 6px; margin: 0; }
.hero-xl .breadcrumbs { margin-top: 70px; }

/* ---------- Generic sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.prose p { font-size: 20px; }

/* Groups */
.groups-band { position: relative; background: var(--dark) center/cover no-repeat; color: #fff; padding: 160px 21px 140px; text-align: center; }
.groups-band::before { content: ""; position: absolute; inset: 0; background: rgba(44,46,61,.7); }
.groups-band > * { position: relative; }
.groups-band h4 { color: #e6e7ee; font-size: 24px; max-width: 1170px; margin: 0 auto 40px; }
.groups-band .narrow { text-align: left; }
.groups-band p { color: #e6e7ee; font-size: 20px; }

/* Give */
.give-page { padding: 100px 21px; text-align: center; }
.give-page p { font-size: 21px; }

/* About */
.about h2.lead { font-size: 36px; text-align: left; }
.about img.feature { margin: 0 auto 50px; max-width: 1024px; width: 100%; }

/* Staff */
.staff { background: var(--navy); color: #c5c9d6; padding: 80px 0 100px; }
.staff h2 { color: #fff; text-transform: none; text-align: center; font-size: 48px; letter-spacing: 0; margin-bottom: 50px; }
.staff h2 .u { border-bottom: 5px solid var(--pink); padding-bottom: 2px; }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.person { text-align: center; }
.person .photo { width: 240px; height: 240px; margin: 0 auto 50px; border-radius: 50%; border: 3px solid var(--cyan); padding: 6px; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.person .name { font-family: var(--head-font); font-weight: 700; color: #fff; font-size: 19px; }
.person .role { color: var(--pink); font-size: 21px; margin: 6px 0 4px; }
.person p { font-size: 20px; line-height: 1.25; }
.person a { color: var(--cyan); word-break: break-all; font-size: 17px; }

/* KidZone */
.kz-logo { padding: 30px 21px 60px; }
.kz-logo img { max-width: 520px; margin: 0 auto; width: 100%; }
.kz-block { color: #fff; padding: 85px 0; }
.kz-block h2 { color: #fff; font-family: "Abril Fatface", Georgia, serif; font-weight: 400; font-size: 36px; }
.kz-block p { font-size: 20px; }
.kz-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.kz-orange { background: #ff6800; } .kz-purple { background: #8224e3; } .kz-green { background: #009d7e; padding: 120px 0 100px; }
.kz-split img { border-radius: 3px; }
.kz-photos { display: grid; gap: 20px; }

/* Exchange */
.exchange { background: #232535; color: #d4d7e2; padding: 0 0 100px; }
.exchange .banner { width: 100%; }
.exchange h3 { color: #fff; text-align: center; margin: 60px auto 40px; max-width: 1000px; }
.exchange p { font-size: 20px; }
.exchange .split { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; margin-top: 30px; }

/* 3 Circles */
.circles .verse h5 { text-transform: none; color: var(--heading); font-size: 22px; letter-spacing: 0; text-align: center; }
.flipbook { max-width: 900px; margin: 40px auto; text-align: center; }
.flipbook .stage { position: relative; background: #777; padding: 24px; border-radius: 4px; }
.flipbook .stage img { margin: 0 auto; max-height: 80vh; width: auto; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.flipbook .controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 14px; font-family: var(--head-font); font-size: 15px; }
.flipbook button { background: var(--dark); color: #fff; border: 0; padding: 10px 18px; border-radius: 3px; cursor: pointer; font-family: inherit; font-weight: 700; }
.flipbook button:disabled { opacity: .35; cursor: default; }
.flipbook .dl { display: inline-block; margin-top: 10px; font-size: 15px; }

form.next-step { max-width: 600px; margin: 40px auto 0; }
form.next-step fieldset { border: 0; padding: 0; margin: 0 0 22px; }
form.next-step legend, form.next-step label.lbl { display: block; font-weight: 700; font-size: 16px; color: var(--heading); margin-bottom: 8px; }
form.next-step .check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin-bottom: 8px; }
form.next-step .check input { margin-top: 4px; }
form.next-step input[type=text], form.next-step input[type=email], form.next-step input[type=tel] {
  width: 100%; height: 43px; border: 1px solid #ccc; border-radius: 3px; padding: 0 14px; font-size: 16px; font-family: inherit;
}
form.next-step .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.next-step .sub { font-size: 13px; color: #8a96a0; }
form.next-step .hp { position: absolute; left: -9999px; }
form.next-step button { background: #066aab; color: #fff; border: 0; height: 41px; padding: 0 22px; font-size: 17px; border-radius: 3px; cursor: pointer; }
.form-msg { margin-top: 16px; font-size: 17px; }
.form-msg.ok { color: #2a7d3c; } .form-msg.err { color: #b3261e; }

/* Contact */
.contact { padding: 100px 21px; text-align: center; }
.contact h2 { font-size: 26px; text-transform: none; letter-spacing: .5px; }

/* Sermons */
.sermon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sermon { text-align: left; }
.sermon button { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; cursor: pointer; background: #000 center/cover no-repeat; }
.sermon button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%,-50%); background: url(/wp-content/uploads/2020/02/blocks-image-47.png) center/contain no-repeat; opacity: .9; }
.sermon iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.sermon .t { font-size: 17px; color: var(--heading); margin-top: 10px; }
.more-link { text-align: center; margin-top: 50px; }
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Plan a visit embed */
.embed-full { width: 100%; height: calc(100vh - 156px); min-height: 700px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: var(--text); font-size: 19px; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 105px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; }
.site-footer nav a { color: var(--text); padding: 0 20px; border-left: 1px solid #3a3a4c; }
.site-footer nav a:first-child { border-left: 0; }
.site-footer nav a:hover { color: #fff; text-decoration: none; }
.to-top { position: fixed; right: 40px; bottom: 35px; width: 50px; height: 50px; background: rgba(60,57,80,.55); color: #fff; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: .2s; z-index: 40; display: flex; align-items: center; justify-content: center; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .value { padding: 60px 40px; }
  .saved-cta .big { font-size: 56px; }
  .hero-xl h1 { font-size: 80px; }
}
@media (max-width: 900px) {
  h1 { font-size: 36px; } h2 { font-size: 28px; }
  .values .row { grid-template-columns: 1fr; }
  .value-img { min-height: 360px; }
  .values .row .value-img { order: 0; }
  .pastor .container, .kz-split, .exchange .split { grid-template-columns: 1fr; }
  .staff-grid, .sermon-grid, .series-grid { grid-template-columns: 1fr 1fr; }
  .visit-band { padding: 140px 21px; }
  .visit-band .big { font-size: 38px; }
  .mission h2, .generous h1 { font-size: 40px; }
  .saved-cta .container { flex-direction: column; align-items: flex-start; padding-top: 30px; padding-bottom: 30px; }
  .saved-cta .big { font-size: 44px; letter-spacing: 3px; }
  .hero-xl h1 { font-size: 54px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .top-bar .address span { display: none; }
  .top-bar .right { gap: 16px; }
  .site-header .bar { padding: 0 18px; height: 80px; }
  .site-header .logo img { width: 140px; }
  .hero-welcome { padding: 60px 21px 30px; }
  .hero-welcome h1 { font-size: 30px; }
  .hero-welcome .loc { font-size: 16px; }
  .worship { background: linear-gradient(var(--dark) 0, var(--dark) 150px, #fff 150px); padding: 30px 21px 50px; }
  .worship h2 { font-size: 22px; margin-bottom: 20px; }
  .visit-band .kicker { font-size: 20px; }
  .visit-band .big { font-size: 28px; letter-spacing: 2px; }
  .mission { padding: 70px 21px 50px; }
  .mission h2, .generous h1 { font-size: 30px; }
  .generous { padding-top: 80px; }
  .btn-outline-giant { font-size: 24px; padding: 14px 36px; }
  .staff-grid, .sermon-grid, .series-grid { grid-template-columns: 1fr; }
  .saved-cta .big { font-size: 34px; }
  .hero-xl h1 { font-size: 38px; letter-spacing: 2px; }
  .hero-xl .frame > div { padding: 14px 16px; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
  .site-footer nav a { padding: 4px 12px; }
  form.next-step .two { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; }
}
