/* Slavic Evangelical Baptist Church of Orange County
   Lean stylesheet — only the sections this site actually uses.
   Brand gold: #fcba03 | accent red: #c20000 | ink: #0e1b4d */

/* ---------- Base ---------- */
body {
  background: #fff;
  color: #2f3138;
  font-family: "Open Sans", sans-serif;
}
a {
  color: #dba100;
  text-decoration: none;
  transition: 0.3s;
}
a:hover, a:active, a:focus {
  color: #b98a00;
  outline: none;
  text-decoration: none;
}
p { padding: 0; margin: 0 0 30px 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
  color: #0e1b4d;
}

/* ---------- Section header ---------- */
.section-header {
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}
.section-header::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 5px;
  background: #fcba03;
  bottom: 0;
  left: calc(50% - 30px);
}
.section-header h2 {
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #5c6270;
}
.section-with-bg { background-color: #f6f7fd; }
section { padding: 60px 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #fcba03;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}
.back-to-top i { font-size: 28px; color: #fff; line-height: 0; }
.back-to-top:hover { background: #c20000; color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ---------- Header ---------- */
#header {
  height: 90px;
  position: fixed;
  left: 0; top: 0; right: 0;
  transition: all 0.5s;
  z-index: 997;
}
#header.header-scrolled { background: rgba(6, 12, 34, 0.98); height: 70px; }
#header #logo img { padding: 0; margin: 0; max-height: 40px; }
@media (max-width: 992px) { #header #logo img { max-height: 30px; } }

/* ---------- Live button ---------- */
.live-btn {
  color: #fff;
  background: #c20000;
  padding: 7px 22px;
  margin: 0 0 0 15px;
  border-radius: 50px;
  border: 2px solid #000;
  transition: all ease-in-out 0.3s;
  font-weight: 600;
  line-height: 1;
  font-size: 13px;
  white-space: nowrap;
}
.live-btn:hover { background: none; color: #c20000; }
.live-btn:focus { color: #fff; }
@media (max-width: 992px) { .live-btn { margin: 0 15px 0 0; } }

/* ---------- Navbar ---------- */
.navbar { padding: 0; }
.navbar ul {
  margin: 0; padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li { position: relative; }
.navbar > ul > li { white-space: nowrap; padding: 10px 0 10px 12px; }
.navbar a {
  display: flex;
  align-items: center;
  color: rgba(202, 206, 221, 0.9);
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
  padding: 6px 4px;
}
.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 0; height: 2px;
  bottom: -6px; left: 0;
  background-color: #fcba03;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible; width: 100%;
}
.navbar a:hover, .navbar .active, .navbar li:hover > a { color: #fff; }

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; }
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px; right: 15px; bottom: 15px; left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile > ul > li { padding: 0; }
.navbar-mobile a { padding: 10px 20px; font-size: 15px; color: #060c22; }
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a { color: #c69000; }
.navbar-mobile a:hover:before, .navbar-mobile .active:before { visibility: hidden; }

/* ---------- Hero ---------- */
#hero {
  width: 100%;
  height: 100vh;
  background-color: #060c22;
  background-image: url(../img/hero-bg.jpg);
  background-image: image-set(url(../img/hero-bg.webp) type("image/webp"), url(../img/hero-bg.jpg) type("image/jpeg"));
  background-position: top center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
@media (min-width: 1024px) { #hero { background-attachment: fixed; } }
#hero:before {
  content: "";
  background: rgba(6, 12, 34, 0.8);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
}
#hero .hero-container {
  position: absolute;
  bottom: 0; left: 0; top: 90px; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}
@media (max-width: 991px) { #hero .hero-container { top: 70px; } }
#hero h1 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 56px;
  font-weight: 600;
  text-transform: uppercase;
}
#hero h1 span { color: #fcba03; }
@media (max-width: 991px) { #hero h1 { font-size: 34px; } }
#hero p { color: #ebebeb; font-weight: 700; font-size: 20px; }
@media (max-width: 991px) { #hero p { font-size: 16px; } }
#hero .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#fcba03 50%, rgba(101, 111, 150, 0.15) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}
#hero .play-btn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
#hero .play-btn:before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  opacity: 1;
  border-radius: 50%;
  border: 2px solid rgba(163, 163, 163, 0.4);
  top: -15%; left: -15%;
}
#hero .play-btn:hover::after { border-left: 15px solid #fcba03; transform: scale(20); }
#hero .about-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 20px 10px 10px;
  color: #fff;
  border: 2px solid #fcba03;
}
#hero .about-btn:hover { background: #fcba03; color: #fff; }
@keyframes pulsate-btn {
  0% { transform: scale(0.6, 0.6); opacity: 1; }
  100% { transform: scale(1, 1); opacity: 0; }
}

/* ---------- About ---------- */
#about {
  background: url("../img/about-bg.jpg");
  background-size: cover;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 60px 0 40px 0;
  z-index: 0;
}
@media (min-width: 1024px) { #about { background-attachment: fixed; } }
#about:before {
  content: "";
  z-index: -1;
  background: rgba(13, 20, 41, 0.85);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
}
#about h2 { font-size: 36px; font-weight: bold; margin-bottom: 10px; color: #fff; }
#about h3 { font-size: 18px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; color: #fff; }
#about p { font-size: 15px; margin-bottom: 20px; color: #fff; }

/* ---------- Events ---------- */
#events .event-card {
  background: #fff;
  border: 1px solid #e0e5fa;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 30px;
  height: 100%;
  box-shadow: 0 10px 25px 0 rgba(6, 12, 34, 0.08);
}
#events h3 { font-weight: 600; font-size: 20px; margin-bottom: 5px; }
#events .event-subtitle { color: #5c6270; font-weight: 600; letter-spacing: 1px; margin-bottom: 5px; }
#events .event-time { color: #c20000; font-style: italic; margin-bottom: 15px; }
#events p { color: #2f3138; font-size: 15px; }
#events a { color: #7a5c00; text-decoration: underline; }

/* ---------- Beliefs ---------- */
#beliefs ol { padding-left: 20px; }
#beliefs li { margin-bottom: 15px; line-height: 1.6; color: #2f3138; }

/* ---------- Venue ---------- */
#venue .container-fluid { margin-bottom: 3px; }
#venue .venue-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
#venue .venue-info {
  background: url("../img/venue-info-bg.jpg") top center no-repeat;
  background-size: cover;
  position: relative;
  padding: 60px 0;
}
#venue .venue-info:before {
  content: "";
  background: rgba(13, 20, 41, 0.85);
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
}
#venue .venue-info h3 { font-size: 32px; font-weight: 700; color: #fff; }
@media (max-width: 574px) { #venue .venue-info h3 { font-size: 24px; } }
#venue .venue-info p { color: #fff; margin-bottom: 0; }

/* ---------- Contact / Information ---------- */
#contact .contact-card {
  margin-bottom: 20px;
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #e0e5fa;
  border-radius: 5px;
  height: 100%;
}
#contact .contact-card i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 15px;
  color: #fcba03;
}
#contact .contact-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #112363;
}
#contact .contact-card p, #contact .contact-card address {
  margin-bottom: 0;
  color: #112363;
  font-style: normal;
}
#contact .contact-card a { color: #4869df; }
#contact .contact-card a:hover { color: #b98a00; }

/* ---------- Footer ---------- */
#footer {
  background: #101522;
  padding: 0 0 25px 0;
  color: #eee;
  font-size: 14px;
}
#footer .footer-top { background: #040919; padding: 60px 0 30px 0; }
#footer .footer-info { margin-bottom: 30px; }
#footer .footer-info img { height: 40px; margin-bottom: 15px; }
#footer .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}
#footer h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid #fcba03;
}
#footer .footer-contact, #footer .footer-links { margin-bottom: 30px; }
#footer .footer-contact p, #footer .footer-links p { line-height: 26px; color: #eee; }
#footer .footer-links a { color: #f0c040; }
#footer .footer-links a:hover { color: #fcba03; }
#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222636;
  color: #eee;
  line-height: 1;
  margin-right: 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .social-links a i { line-height: 0; font-size: 16px; }
#footer .social-links a:hover { background: #fcba03; color: #fff; }
#footer .copyright { text-align: center; padding-top: 30px; color: #ddd; }
