/* Mount Olive Bible School of Ministry — custom styles on top of Bootstrap 5 */

:root {
  --brand: #ffa026;
  --ink: #1e293b;
  --body: #67768e;
  --surface: #f2f5f7;
  --footer: #111111;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --bs-heading-color: var(--ink);
}

body {
  font-family: var(--font-sans);
  color: var(--body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
}

p { line-height: 1.7; }

/* Utilities */
.text-brand { color: var(--brand) !important; }
.text-ink { color: var(--ink) !important; }
.text-body-muted { color: var(--body) !important; }
.bg-ink { background-color: var(--ink) !important; }
.bg-surface { background-color: var(--surface) !important; }
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }
.small-text { font-size: 0.875rem; }
.rounded-4 { border-radius: 1rem !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

/* Buttons */
.btn-brand {
  background-color: var(--brand);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.75rem 1.75rem;
  border: none;
}
.btn-brand:hover, .btn-brand:focus { background-color: var(--brand); color: var(--ink); opacity: 0.9; }

.btn-outline-light-pill {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.75rem 1.75rem;
}
.btn-outline-light-pill:hover { background-color: rgba(255, 255, 255, 0.1); color: #fff; }

/* Header / navbar */
.site-header { background-color: var(--ink); }
.site-header .navbar-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.site-header .brand-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: #fff; line-height: 1.1; }
.site-header .brand-sub { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
/* keep menu items on one line */
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1299.98px) {
  .site-header .navbar-nav .nav-link { padding-left: 0.6rem !important; padding-right: 0.6rem !important; }
}
.site-header .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active { color: var(--brand); }
.site-header .dropdown-item { font-size: 0.875rem; color: var(--ink); padding: 0.5rem 1rem; }
.site-header .dropdown-item:hover,
.site-header .dropdown-item.active { background-color: var(--surface); color: var(--brand); }
.site-header .navbar-toggler { border-color: rgba(255, 255, 255, 0.3); }
.site-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Open dropdowns on hover on desktop, like the original site */
@media (min-width: 992px) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 991.98px) {
  .site-header .dropdown-menu { background: transparent; border: 0; padding-left: 0.75rem; }
  .site-header .dropdown-item { color: rgba(255, 255, 255, 0.7); }
  .site-header .dropdown-item:hover,
  .site-header .dropdown-item.active { background: transparent; color: var(--brand); }
}

/* Home hero carousel */
.home-hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  background-color: var(--ink);
  overflow: hidden;
}
.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.home-hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.home-hero .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.home-hero .hero-content .btn { pointer-events: auto; }
.home-hero .carousel-control-prev,
.home-hero .carousel-control-next { z-index: 3; width: 4.5rem; opacity: 1; }
.home-hero .carousel-control-prev span,
.home-hero .carousel-control-next span {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.home-hero .carousel-control-prev:hover span,
.home-hero .carousel-control-next:hover span { background-color: rgba(0, 0, 0, 0.4); }
.home-hero .carousel-indicators { z-index: 3; margin-bottom: 1.5rem; }
.home-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.home-hero .carousel-indicators .active { background-color: var(--brand); }

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  padding: 13rem 1rem;
  text-align: center;
}
.page-hero img.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-hero .page-hero-content { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.7); max-width: 42rem; margin: 0.75rem auto 0; }

@media (max-width: 575.98px) {
  .page-hero { padding: 8rem 1rem; }
}

/* Cards */
.card-soft {
  background-color: var(--surface);
  border: 0;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}
.card-line {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
}
.card-icon { font-size: 1.9rem; color: var(--brand); }

.testimonial-card {
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.testimonial-card .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.team-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background-color: var(--brand); }

/* Gallery */
.gallery-item { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0.75rem; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item img:hover { transform: scale(1.05); }

/* Forms */
.form-panel { background-color: var(--surface); border-radius: 1rem; padding: 2rem; }
.form-panel .form-label { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.form-panel .form-control { font-size: 0.875rem; border-radius: 0.5rem; border-color: rgba(0, 0, 0, 0.1); }
.form-panel .form-control:focus { border-color: var(--brand); box-shadow: none; }

/* Footer */
.site-footer { background-color: var(--footer); color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }
.site-footer h4 { color: #fff; font-size: 1.125rem; font-weight: 600; }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }
.contact-line { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.25rem; }
.contact-line i { color: var(--brand); }
