/* ==========================================================================
   Hodgenville Pentecostal Church — site styles
   ========================================================================== */

/* --- Reset / base ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #333;
  background-color: #000;
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 20px;
}

img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

:root {
  --font-primary: "Droid Serif", serif;
  --tan-accent: #b17a44;
  --font-secondary: Oswald, sans-serif;
  --accent-color: #075368;
}

/* --- Layout primitives -------------------------------------------------- */
.block-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.padding-global {
  max-width: 1440px;
}

.content-wrapper {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper._1300 {
  max-width: 1300px;
}

.content-wrapper.home-hero {
  z-index: 1;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0%;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.flex {
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  align-items: center;
  display: flex;
}

.flex.stretch {
  justify-content: space-between;
}

.flex.down {
  flex-flow: column;
}

.flex.down.left {
  align-items: flex-start;
}

.flex.levite {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: column;
}

.flex.zigzag {
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
}

/* --- Typography --------------------------------------------------------- */
.heading1 {
  color: #fff;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 150px;
  font-weight: 400;
  line-height: 75px;
}

.heading1.expanded {
  line-height: 125px;
}

.hero-subhead {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
}

.subheading {
  font-family: var(--font-primary);
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
}

.subheading.accent {
  color: var(--tan-accent);
  font-weight: 700;
}

.subheading.white {
  color: #fff;
}

.subheading.center {
  text-align: center;
}

.body {
  font-family: var(--font-secondary);
  font-size: 16px;
}

.body.large.accent {
  color: var(--tan-accent);
  text-align: center;
  text-shadow: 0 1px 3px #000000b8;
  font-size: 20px;
}

.body.white {
  color: #fff;
  font-weight: 300;
}

.body.white.large {
  font-size: 20px;
  line-height: 30px;
}

.body.cta {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

/* --- Navbar ------------------------------------------------------------- */
.section-navbar {
  z-index: 3;
  background-image: linear-gradient(#2c282380, #2c282380);
  padding-top: 15px;
  padding-bottom: 15px;
  position: fixed;
  inset: 0% 0% auto;
}

.navbar-logo-left-container {
  background-color: #0000;
}

.navbar-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.navbar-brand {
  display: inline-block;
  width: 200px;
}

.nav-logo {
  width: 200px;
}

.nav-menu-wrapper {
  display: flex;
}

.nav-menu-two {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  list-style: none;
  display: flex;
}

.nav-menu-two > li {
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-secondary);
  color: #fff;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 10px;
  font-size: 20px;
  font-weight: 400;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ac855e;
  border-radius: 4px;
}

.nav-link.current,
.nav-dropdown-link.current {
  color: var(--tan-accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  font-family: var(--font-secondary);
  color: #fff;
  padding: 5px 10px;
  font-size: 20px;
  line-height: 20px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: #ac855e;
}

.nav-dropdown-icon {
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.nav-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #2c2823;
  border-radius: 12px;
  padding: 10px;
  display: none;
}

.nav-dropdown-list.shadow-three {
  box-shadow: 0 8px 50px #0000001a;
}

.nav-dropdown:hover .nav-dropdown-list,
.nav-dropdown.open .nav-dropdown-list {
  display: block;
}

.nav-dropdown-link {
  display: block;
  font-family: var(--font-secondary);
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 20px;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: #ac855e;
}

/* Hamburger button (mobile) */
.menu-button {
  display: none;
  padding: 12px;
  border-radius: 8px;
}

.menu-button.active {
  background-color: var(--accent-color);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-button.active .hamburger {
  background-color: transparent;
}

.menu-button.active .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --------------------------------------------------------------- */
.section-hero {
  background-color: #fff;
  background-image: linear-gradient(#00000080, #00000080), url('../images/home-hero-bg-Recovered.webp');
  background-position: 0 0, 50%;
  background-repeat: repeat, repeat;
  background-size: auto, cover;
  height: 100vh;
  min-height: 100vh;
  position: sticky;
  top: 0%;
  left: 0%;
  right: 0%;
}

.section-hero.events {
  background-image: none;
  height: auto;
  padding-top: 150px;
  position: static;
}

.hero-wrapper {
  z-index: 3;
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.arrow-image {
  width: 100px;
}

/* --- Window transition / fog ------------------------------------------- */
.window-fog-wrapper {
  z-index: 0;
  position: absolute;
  inset: 0% 0% -2000px;
  overflow: hidden;
}

.js .window-fog-wrapper {
  opacity: .1;
  transition: opacity .1s linear;
}

.section-window-transition {
  z-index: 2;
  justify-content: center;
  align-items: center;
  margin-top: -150px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

.window-transition-image {
  width: 100vw;
  max-width: 1920px;
}

.gradient-transition-image {
  z-index: 1;
  object-fit: contain;
  width: 100vw;
  max-width: none;
  position: absolute;
  inset: auto 0% 0%;
}

/* --- Impact / image grid ----------------------------------------------- */
.section-impact {
  z-index: 2;
  background-color: #000;
  padding-bottom: 100px;
  position: relative;
}

.section-impact.keswick {
  background-image: linear-gradient(#000, #000000a6 53%), url('../images/drone-shot-day.webp');
  background-position: 0 0, 50%;
  background-size: auto, cover;
}

.grid {
  display: grid;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: minmax(200px, 1fr) 200px;
  grid-template-columns: 1fr 1fr;
}

.impact-cell-tall {
  grid-area: 1 / 1 / 3 / 2;
}

.impact-cell-text {
  grid-area: 1 / 2 / 2 / 3;
}

.impact-cell-bottom {
  grid-area: 2 / 2 / 3 / 3;
}

.grid-image-wrapper {
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.grid-image {
  object-fit: cover;
  min-width: 100%;
  max-width: none;
  min-height: 100%;
}

/* --- Livestream --------------------------------------------------------- */
.section-livestream {
  z-index: 2;
  background-color: #000;
  position: relative;
}

.livestream-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* --- Pastors ------------------------------------------------------------ */
.section-seniorpastor {
  z-index: 2;
  background-color: #000;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}

.grid-seniorpastor,
.grid-pastor {
  display: grid;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: minmax(200px, 1fr);
  grid-template-columns: 1fr 1fr;
}

.grid-text-wrapper {
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* --- Vision ------------------------------------------------------------- */
.section-ourvision {
  z-index: 2;
  background-color: #2c2823;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

/* --- The Levite --------------------------------------------------------- */
.section-thelevite {
  z-index: 2;
  background-color: #000;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}

.levite-grid {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* --- Keswick ------------------------------------------------------------ */
.keswick2026 {
  width: 75%;
  max-width: 1200px;
}

.keswick-date-image {
  height: 150px;
}

/* --- Contact form ------------------------------------------------------- */
.form-wrapper {
  margin-top: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  grid-row-gap: 12px;
}

.field {
  width: 100%;
  height: auto;
  color: #333;
  background-color: #fff;
  font-family: var(--font-secondary);
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
}

.field:focus {
  font-weight: 600;
  outline: 2px solid var(--accent-color);
}

.field.area {
  min-width: 100%;
  max-width: 100%;
  height: 100px;
  min-height: 100px;
  max-height: 100px;
}

.contactformsubmit {
  -webkit-appearance: none;
  appearance: none;
  color: #fff;
  background-color: var(--accent-color);
  outline-color: var(--accent-color);
  outline-offset: 2px;
  font-family: var(--font-primary);
  border: 0;
  border-radius: 20px;
  outline-width: 3px;
  outline-style: solid;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color .2s;
  display: block;
}

.contactformsubmit:hover {
  background-color: #042b36;
  outline-style: none;
}

.contactformsubmit:disabled {
  opacity: .6;
  cursor: default;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.success-message {
  background-color: var(--tan-accent);
  font-family: var(--font-primary);
  color: #fff;
  border-radius: 20px;
  padding: 50px;
  font-size: 20px;
  font-weight: 700;
}

.error-message {
  font-family: var(--font-primary);
  color: #fff;
  text-align: center;
  background-color: #cf3f3f;
  border-radius: 20px;
  margin-top: 15px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

/* --- CTA button --------------------------------------------------------- */
.cta-wrapper {
  display: inline-block;
  background-color: var(--accent-color);
  outline-color: var(--accent-color);
  outline-offset: 2px;
  border-radius: 20px;
  outline-width: 3px;
  outline-style: solid;
  padding: 20px;
  transition: background-color .2s;
}

.cta-wrapper:hover {
  background-color: #042b36;
}

/* --- Footer ------------------------------------------------------------- */
.section-footer {
  z-index: 2;
  background-color: #2c2823;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
}

.link-block {
  display: inline-block;
}

.uplift-digital-icon {
  opacity: .25;
  width: 10px;
}

/* --- 404 utility page --------------------------------------------------- */
.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  color: #fff;
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

/* --- Reveal animations -------------------------------------------------- */
.reveal {
  transition: opacity .8s ease, transform .8s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Hero down-arrow fades in after the hero text */
.js .arrow-image.reveal {
  transition-delay: .7s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive --------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .block-container {
    max-width: 728px;
  }

  .padding-global {
    max-width: 95vw;
  }

  .section-hero {
    background-image: linear-gradient(#000000a6, #000000a6), url('../images/home-hero-bg-Recovered.webp');
    background-position: 0 0, 50%;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
  }

  .content-wrapper.home-hero {
    padding-left: 30px;
    padding-right: 30px;
  }

  .section-navbar {
    background-image: linear-gradient(#2c2823bf, #2c2823bf);
  }

  .container {
    max-width: 728px;
  }

  .navbar-wrapper {
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .nav-menu-wrapper {
    display: none;
    flex-basis: 100%;
    width: 100%;
    background-color: #0000;
  }

  .nav-open .nav-menu-wrapper {
    display: block;
  }

  .nav-menu-two {
    background-color: #2c2823;
    border-radius: 50px;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 8px 50px #0000000d;
  }

  .nav-link {
    padding-left: 5px;
    padding-right: 5px;
  }

  .nav-dropdown-list {
    position: absolute;
  }

  .flex.levite {
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }

  .section-window-transition {
    margin-top: -200px;
  }

  .window-fog-wrapper {
    bottom: -900px;
  }

  .section-thelevite {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .levite-grid {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .keswick-date-image {
    height: 125px;
  }
}

@media screen and (max-width: 767px) {
  .block-container {
    max-width: none;
  }

  .padding-global {
    max-width: 95vw;
  }

  .section-impact {
    padding-bottom: 50px;
  }

  .heading1 {
    font-size: 100px;
    line-height: 50px;
  }

  .heading1.expanded {
    line-height: 75px;
  }

  .subheading {
    font-size: 32px;
    line-height: 32px;
  }

  .body.large.accent {
    font-size: 18px;
    line-height: 18px;
  }

  .body.white.large {
    font-size: 16px;
    line-height: 22px;
  }

  .section-window-transition {
    margin-top: -220px;
  }

  .hero-subhead {
    font-size: 32px;
    line-height: 32px;
  }

  .window-fog-wrapper {
    bottom: -750px;
  }

  .navbar-brand {
    padding-left: 0;
  }

  .nav-menu-two {
    border-radius: 20px;
    flex-direction: column;
    padding-bottom: 30px;
  }

  .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: center;
    display: flex;
  }

  .nav-dropdown-toggle {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-dropdown-list {
    position: relative;
    top: auto;
    box-shadow: none;
  }

  .section-seniorpastor {
    padding-bottom: 50px;
  }

  .error-message {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  .success-message {
    font-size: 16px;
  }

  .arrow-image {
    width: 80px;
  }

  .section-thelevite {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .keswick-date-image {
    height: 110px;
  }
}

@media screen and (max-width: 479px) {
  .heading1 {
    font-size: 70px;
    line-height: 30px;
  }

  .heading1.expanded {
    line-height: 50px;
  }

  .subheading {
    font-size: 20px;
    line-height: 20px;
  }

  .body.large.accent {
    font-size: 16px;
    line-height: 16px;
  }

  .grid {
    grid-template-rows: minmax(150px, 1fr) 100px;
  }

  .section-window-transition {
    margin-top: -250px;
  }

  .hero-subhead {
    font-size: 20px;
    line-height: 20px;
  }

  .window-fog-wrapper {
    bottom: -500px;
  }

  .container {
    max-width: none;
  }

  .navbar-brand {
    width: 150px;
  }

  .nav-menu-two {
    flex-direction: column;
  }

  .grid-seniorpastor {
    grid-template-rows: minmax(200px, 1fr) auto;
    grid-template-columns: 1fr;
  }

  .success-message {
    padding: 20px;
  }

  .arrow-image {
    width: 60px;
  }

  .section-thelevite {
    padding-bottom: 20px;
  }

  .levite-grid {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-rows: minmax(150px, auto) minmax(150px, auto);
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: auto;
  }

  .keswick-date-image {
    height: 80px;
  }
}
