/* ===================================================================
 * General Assembly v2 Theme — Custom CSS
 * Faithfully preserves the original visual identity
 * Infrastructure: Bootstrap 5.3.3 grid/responsive, Font Awesome 6.7.2
 * =================================================================== */

:root {
    --ga-burgundy-dark: #130708;
    --ga-gold: #d8b544;
}

/* ===================================================================
 * # base
 * =================================================================== */
html {
    font-size: 10px;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    background-color: #ffffff;
    font-family: "Lora", serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.8;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================================================
 * # typography
 * =================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #000000;
    margin-top: 0;
}

h1 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -0.1rem; }
h2 { font-size: 3.0rem; line-height: 1.3; }
h3 { font-size: 2.4rem; line-height: 1.375; }
h4 { font-size: 2.1rem; line-height: 1.385; }
h5 { font-size: 1.7rem; line-height: 1.5; }
h6 { font-size: 1.4rem; line-height: 1.714; text-transform: uppercase; letter-spacing: 0.2rem; }

p { margin-bottom: 2rem; }

.lead {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 1.8;
}

a {
    color: #3b0d11;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

a:hover, a:focus {
    color: var(--ga-burgundy-dark);
    text-decoration: underline;
}

.subhead {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .3rem;
    color: #fb8b23;
    margin-top: 0;
    margin-bottom: .4rem;
}

/* ===================================================================
 * # site header
 * =================================================================== */
.s-header {
    z-index: 100;
    height: 7.2rem;
    width: 100%;
    position: absolute;
    top: 2.8rem;
    left: 0;
}

/* header logo */
.header-logo {
    z-index: 102;
    display: inline-block;
    margin: 0;
    padding: 0;
    transition: all .3s;
    transform: translate3d(0, -50%, 0);
    position: absolute;
    left: 11rem;
    top: 100%;
}

.header-logo::before {
    content: "";
    display: block;
    background-color: rgba(255, 255, 255, 0.5);
    height: 1px;
    width: 9rem;
    position: absolute;
    top: 50%;
    left: -11rem;
}

.header-logo a {
    display: block;
    padding: 0;
    outline: 0;
    border: none;
}

.header-logo img {
    width: 150px;
    height: 150px;
}

/* main navigation */
.header-nav-wrap {
    z-index: 101;
    position: absolute;
    right: 4.4rem;
    top: 1.2rem;
}

.header-nav {
    list-style: none;
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    line-height: 4.8rem;
    text-transform: uppercase;
    letter-spacing: .35rem;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.85);
}

.header-nav a:hover,
.header-nav a:focus {
    color: var(--ga-gold);
}

.header-nav li {
    display: inline-block;
    margin: 0 .8rem;
}

/* mobile menu toggle */
.header-menu-toggle {
    z-index: 102;
    height: 4.2rem;
    width: 4.2rem;
    line-height: 4.2rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    transition: all .3s;
    position: absolute;
    right: 32px;
    top: 1rem;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
    color: #ffffff;
}

.header-menu-toggle span {
    display: block;
    width: 2.4rem;
    height: 2px;
    background-color: #ffffff;
    transition: all .5s;
    margin-top: -1px;
    position: absolute;
    top: 50%;
    left: .9rem;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: inherit;
    position: absolute;
    left: 0;
}

.header-menu-toggle span::before { top: -.9rem; }
.header-menu-toggle span::after { bottom: -.9rem; }

/* offcanvas mobile menu */
.offcanvas-dark {
    background-color: #000000;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .35rem;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a {
    display: block;
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.85);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--ga-gold);
}

/* responsive header */
@media screen and (max-width: 1400px) {
    .header-logo { left: 9.8rem; }
    .header-logo::before { width: 7.8rem; left: -9.8rem; }
}

@media screen and (max-width: 1000px) {
    .header-logo { left: 8.8rem; }
    .header-logo::before { width: 6.8rem; left: -8.8rem; }
}

@media screen and (max-width: 600px) {
    .header-logo { left: 4.8rem; }
    .header-logo::before { width: 3.6rem; left: -4.8rem; }
}

/* ===================================================================
 * # page header (used for inner pages)
 * =================================================================== */
.page-header {
    min-height: 20rem;
    width: 100%;
    background-color: #121212;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 10rem 4rem 4rem;
}

.page-header::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: #050505;
    opacity: .75;
}

.page-header h1 {
    font-size: 3rem;
    max-width: 700px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.page-header--about {
    background-image: none;
    background-color: var(--ga-burgundy-dark);
}

.page-header--about::before {
    display: none;
}

/* ===================================================================
 * # home carousel
 * =================================================================== */
.home-carousel {
    width: 100vw;
    max-width: none;
    margin: 2rem 0 2rem calc(50% - 50vw);
}

.home-carousel .carousel-item img {
    height: 36rem;
    object-fit: cover;
    object-position: center;
}

.home-carousel .carousel-caption {
    display: block;
    right: auto;
    bottom: 4rem;
    left: 50%;
    width: min(48rem, calc(100% - 16rem));
    padding: 2.4rem 2.8rem;
    background-color: rgba(19, 7, 8, 0.88);
    text-align: center;
    transform: translateX(-50%);
}

.home-carousel .carousel-caption h2 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 3vw, 3.6rem);
}

.home-carousel .carousel-caption p {
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.home-carousel .carousel-caption .home-carousel__eyebrow {
    margin-bottom: 0.8rem;
    color: var(--ga-gold);
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.home-carousel .carousel-caption .home-carousel__date {
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.home-carousel .carousel-caption .home-carousel__link {
    color: var(--ga-gold);
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.home-carousel .carousel-caption .home-carousel__link:hover,
.home-carousel .carousel-caption .home-carousel__link:focus {
    color: #ffffff;
}

.home-carousel .carousel-indicators [data-bs-target] {
    width: 1.2rem;
    height: 1.2rem;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.7;
}

.home-carousel .carousel-control-prev-icon,
.home-carousel .carousel-control-next-icon {
    width: 3.9rem;
    height: 3.9rem;
    padding: 1.3rem;
    background-color: rgba(19, 7, 8, 0.9);
    background-size: 45%;
    border: 2px solid var(--ga-gold);
    border-radius: 50%;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.home-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.home-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--ga-gold);
    transform: scale(1.08);
}

.home-carousel .carousel-indicators .active {
    width: 1.6rem;
    height: 1.6rem;
    background-color: var(--ga-gold);
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .home-carousel .carousel-item img {
        height: 42rem;
    }

    .home-carousel .carousel-caption {
        right: 5rem;
        bottom: 4rem;
        left: 5rem;
        width: auto;
        padding: 2rem;
        transform: none;
    }

    .home-carousel .carousel-caption h2 {
        font-size: 2.4rem;
    }

    .home-carousel .carousel-caption p {
        font-size: 1.6rem;
    }
}

/* ===================================================================
 * # home videos
 * =================================================================== */
.home-videos {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f5f1e8;
}

.home-videos__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.home-videos iframe {
    border: 0;
}

/* ===================================================================
 * # home parallax
 * =================================================================== */
.home-parallax {
    min-height: 48rem;
    background-image: url('mount-olive-church.jpeg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(19, 7, 8, 0.75);
}

.home-parallax__content {
    z-index: 1;
    position: relative;
    width: calc(100% - 4rem);
    max-width: 1080px;
    color: #ffffff;
    text-align: center;
}

.home-parallax__content h2 {
    margin-bottom: 2rem;
    color: #ffffff;
}

.home-parallax__content address {
    margin: 0;
    font-style: normal;
}

.home-parallax__content a {
    color: rgba(255, 255, 255, 0.85);
}

.home-parallax__content a:hover,
.home-parallax__content a:focus {
    color: var(--ga-gold);
}

@media screen and (max-width: 800px), (prefers-reduced-motion: reduce) {
    .home-parallax {
        min-height: 36rem;
        background-attachment: scroll;
    }
}

/* ===================================================================
 * # page content
 * =================================================================== */
.page-content {
    padding: 0 0 3rem;
    max-width: 1080px;
    margin: 0 auto;
    background-color: #ffffff;
    color: #333333;
}

.page-content--inner {
    padding-top: 4rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #000000;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

/* lead paragraph */
.page-content p.lead {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #000000;
    text-align: justify;
}

/* Drop caps retain normal body typography. */
.page-content p.drop-cap {
    font: inherit;
    color: inherit;
}

.page-content p.drop-cap > span {
    font-size: inherit !important;
}

/* drop cap */
.page-content .drop-cap:first-letter {
    float: left;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 3.6em;
    line-height: 1;
    padding: 0 0.125em 0 0;
    text-transform: uppercase;
    background: transparent;
    color: #000000;
}

/* blockquote */
.page-content blockquote {
    margin: 0;
    padding: 0rem 1rem;
    border-left: 4px solid #000000;
    position: relative;
    font-style: italic;
    margin-bottom: 2rem;
}

.page-content blockquote p {
    font-family: "Lora", serif;
    font-weight: 400;
    padding: 0;
    font-size: 2.2rem;
    line-height: 1.857;
    color: #000000;
    margin-bottom: 1rem;
}

.page-content blockquote cite {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    line-height: 1.333;
}

.page-content blockquote cite::before {
    content: "\2014 \0020";
}

.page-content blockquote cite,
.page-content blockquote cite a,
.page-content blockquote cite a:visited {
    color: #646464;
    border: none;
}

/* ===================================================================
 * # about section (homepage mid-section)
 * =================================================================== */
.s-about,
.s-series {
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: 40rem;
    background-color: #050505;
    background-image: url('pattern.jpg');
    background-size: 760px 380px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.s-series::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: #000000;
    opacity: .75;
}

.s-about .subhead,
.s-series .subhead {
    color: #fb8b23;
    margin-bottom: 4rem;
}

.s-about .lead,
.s-series .lead {
    color: #ffffff;
    margin-bottom: 4rem;
}

.btn--about {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .6rem;
    height: 6rem;
    line-height: 5.6rem;
    padding: 0 3.2rem;
    color: #ffffff;
    background-color: #21070a;
    border: 0.2rem solid #21070a;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.btn--about:hover,
.btn--about:focus {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* schedule of services */
.about-sched {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-sched h4,
.about-sched h5 {
    font-size: 1.5rem;
    line-height: 1.333;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: .4rem;
    color: #ffffff;
}

.about-sched li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.5rem;
    padding-left: 0;
}

/* series image (half cover) */
.series-img {
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    right: 0;
}

.series-img::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.series-content {
    position: relative;
    z-index: 1;
    padding: 3rem 1.5rem 2rem;
    max-width: 1340px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.series-left-col {
    padding: 4rem 6rem 4rem 4rem;
}

.series-right-col {
    padding: 4rem;
}

/* ===================================================================
 * # buttons
 * =================================================================== */
.btn--footer {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .6rem;
    height: 6rem;
    line-height: 5.6rem;
    padding: 0 4rem;
    color: #ffffff;
    text-decoration: none;
    background-color: #21070a;
    border: 0.2rem solid #21070a;
    transition: all .3s ease-in-out;
}

.btn--footer:hover,
.btn--footer:focus {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* ===================================================================
 * # footer
 * =================================================================== */
.s-footer {
    padding-top: 2rem;
    padding-bottom: 1rem;
    background-color: var(--ga-burgundy-dark);
    font-family: "Open Sans", sans-serif;
    font-size: 1.7rem;
    line-height: 1.882;
    color: rgba(255, 255, 255, 0.5);
}

.s-footer a:not(.btn--footer) {
    color: rgba(255, 255, 255, 0.85);
}

.s-footer a:not(.btn--footer):hover,
.s-footer a:not(.btn--footer):focus {
    color: var(--ga-gold);
}

.s-footer h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4rem;
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
    color: #ffffff;
}

.footer-top {
    padding-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 2.8rem;
}

.footer-logo a {
    display: block;
}

.footer-logo img {
    width: 150px;
    height: 150px;
}

.footer-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-list a:hover,
.footer-list a:focus {
    color: var(--ga-gold);
}

.footer-list li {
    padding-left: 0;
}

/* copyright */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ss-copyright {
    color: rgba(255, 255, 255, 0.3);
}

.ss-copyright span {
    font-size: 15px;
    display: inline-block;
}

/* go to top */
.ss-go-top {
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 200%, 0);
    transition: all .8s;
    position: fixed;
    bottom: 4rem;
    right: 4.8rem;
}

.ss-go-top a {
    display: block;
    background-color: #000000;
    text-decoration: none;
    margin: 0;
    padding: 0;
    border: none;
    height: 60px;
    width: 58px;
    line-height: 60px;
    text-align: center;
    color: white;
    transition: all .3s;
}

.ss-go-top svg {
    height: 12px;
    width: 12px;
    transform: translate3d(-50%, -50%, 0);
    position: absolute;
    top: 50%;
    left: 50%;
}

.ss-go-top svg path {
    fill: #ffffff;
}

.ss-go-top a:hover,
.ss-go-top a:focus {
    background-color: var(--ga-gold);
}

.ss-go-top a:hover svg path,
.ss-go-top a:focus svg path {
    fill: var(--ga-burgundy-dark);
}

.ss-go-top.link-is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

/* ===================================================================
 * # tables
 * =================================================================== */
table {
    border-width: 0;
    width: 100%;
    max-width: 100%;
    font-family: "Lora", serif;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

/* ===================================================================
 * # responsive
 * =================================================================== */
@media screen and (max-width: 1200px) {
    html { font-size: 9.5px; }
}

@media screen and (max-width: 800px) {
    html { font-size: 9px; }
    .page-header { min-height: 30rem; padding-top: 10rem; }
    .page-header h1 { font-size: 3.6rem; }
}

@media screen and (max-width: 600px) {
    .page-header h1 { font-size: 3rem; }
    .header-logo img { width: 100px; height: 100px; }
}
