/* ===================================================
   St. Elizabeth Catholic Church — Landing Page Styles
   =================================================== */

:root {
    --color-navy: #1e2a4a;
    --color-navy-dark: #17213c;
    --color-cream: #f8f2e4;
    --color-cream-alt: #faf6ec;
    --color-gold: #c9a961;
    --color-gold-light: #d9bd7b;
    --color-red: #8b1e2d;
    --color-red-dark: #6d1723;
    --color-red-hover: #a52735;
    --color-text: #2b2b2b;
    --color-muted: #5a5a5a;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; }

/* ============ TOP BAR ============ */
.top-bar {
    background-color: var(--color-navy);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.top-bar-item {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
}
.top-bar-item i { color: var(--color-gold); font-size: 0.9rem; }
.top-bar a.top-bar-item:hover { color: var(--color-gold); }

/* ============ NAVBAR ============ */
.main-navbar {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.brand-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-cream);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 1.6rem;
    border-radius: 4px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-serif);
    color: var(--color-navy);
}
.brand-line-1 { font-size: 1.6rem; font-weight: 700; }
.brand-line-2 { font-size: 1.2rem; font-weight: 400; margin-top: 4px; }

.main-navbar .navbar-nav .nav-link {
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.25s ease;
}
.main-navbar .navbar-nav .nav-link:hover { color: var(--color-red); }
.main-navbar .navbar-nav .nav-link.active { color: var(--color-navy); }
.main-navbar .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: -6px;
    height: 3px;
    background-color: var(--color-gold);
}

.main-navbar .dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 8px 24px rgba(30, 42, 74, 0.12);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}
.main-navbar .dropdown-item {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    color: var(--color-navy);
}
.main-navbar .dropdown-item:hover {
    background-color: var(--color-cream);
    color: var(--color-red);
}

/* ============ HERO CAROUSEL ============ */
.hero {
    position: relative;
    background-color: var(--color-cream);
}
#heroCarousel { min-height: 560px; }
.carousel-item { min-height: 560px; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 242, 228, 0.92) 0%, rgba(248, 242, 228, 0.60) 35%, rgba(248, 242, 228, 0) 60%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 12px 6rem;
}

/* Carousel arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
    z-index: 3;
    transition: background-color 0.25s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background-color: rgba(30, 42, 74, 0.06); }
.hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--color-navy);
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(30, 42, 74, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.carousel-control-prev:hover .hero-arrow,
.carousel-control-next:hover .hero-arrow {
    background-color: var(--color-red);
    color: #ffffff;
    transform: scale(1.08);
}

/* Carousel indicators */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 3;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-navy);
    border: none;
    opacity: 0.35;
    margin: 0 5px;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.carousel-indicators [data-bs-target].active {
    opacity: 1;
    background-color: var(--color-gold);
    transform: scale(1.25);
}
.hero-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--color-red);
    margin: 0 0 0.5rem;
    font-weight: 400;
}
.hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-navy);
    font-size: 3.4rem;
    line-height: 1.05;
    margin: 0 0 1.2rem;
}
.hero-divider {
    width: 90px;
    height: 3px;
    background-color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 480px;
}
.btn-parish {
    background-color: var(--color-red);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    padding: 1rem 2rem;
    border-radius: 0;
    border: 2px solid var(--color-red);
    transition: all 0.25s ease;
}
.btn-parish:hover {
    background-color: var(--color-red-hover);
    border-color: var(--color-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============ MASS TIMES ============ */
.mass-times {
    position: relative;
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 3.5rem 0;
    overflow: hidden;
}
.mass-cross-watermark {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.mass-heading { color: var(--color-gold); }
.chalice-icon { flex-shrink: 0; }
.mass-title {
    font-family: var(--font-serif);
    color: var(--color-gold);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.15;
    margin: 0;
}
.mass-col-title {
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
}
.mass-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mass-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 300;
}
.mass-list li span:last-child {
    font-weight: 400;
    color: #f0eadf;
}

/* ============ EVENTS SECTION ============ */
.events-section {
    background-color: var(--color-cream-alt);
    padding: 5rem 0;
}
.section-title {
    color: var(--color-red);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: 0.06em;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}
.section-underline {
    height: 1px;
    background-color: rgba(139, 30, 45, 0.25);
    margin-bottom: 2.5rem;
}
.event-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0.6rem 0;
}
.event-thumb {
    flex-shrink: 0;
    width: 130px;
    height: 100px;
    overflow: hidden;
    border-radius: 2px;
    background-color: #d8cfbe;
}
.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.event-card:hover .event-thumb img { transform: scale(1.06); }
.event-body { flex: 1; min-width: 0; }
.event-title {
    color: var(--color-red);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.event-date {
    color: var(--color-navy);
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
}
.event-date i { color: var(--color-red); }
.event-desc {
    color: var(--color-text);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}
.event-divider {
    border: 0;
    border-top: 1px solid rgba(139, 30, 45, 0.18);
    margin: 1.6rem 0;
}
.btn-outline-parish {
    background-color: transparent;
    color: var(--color-red);
    border: 1.5px solid var(--color-red);
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    padding: 0.9rem 2rem;
    border-radius: 0;
    transition: all 0.25s ease;
}
.btn-outline-parish:hover {
    background-color: var(--color-red);
    color: #ffffff;
}

/* ============ FOOTER ============ */
.site-footer {
    position: relative;
    background-color: var(--color-red);
    color: #ffffff;
    padding: 4rem 0 0;
    overflow: hidden;
}
.footer-cross-watermark {
    position: absolute;
    right: 3%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.footer-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--color-gold);
    font-size: 1.6rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-serif);
    color: #ffffff;
}
.footer-brand .brand-line-1 { font-size: 1.5rem; font-weight: 700; color: #ffffff; }
.footer-brand .brand-line-2 { font-size: 1.15rem; font-weight: 400; margin-top: 4px; color: #ffffff; }
.footer-address {
    font-style: normal;
    color: #f5e6dc;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 1rem;
}
.footer-phone {
    color: #f5e6dc;
    font-size: 0.95rem;
    margin: 0;
}
.footer-heading {
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: #f5e6dc;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--color-gold); }
.footer-hours {
    color: #f5e6dc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.footer-copyright {
    background-color: var(--color-navy);
    color: #d9d4c9;
    padding: 1rem 0;
    margin-top: 3.5rem;
    font-size: 0.85rem;
}

/* ============ SCROLL TO TOP BUTTON ============ */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-red);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(139, 30, 45, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0.3s;
    z-index: 999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-3px);
}


#about1 {
    margin:20px 0px 20px 0px;

}

#about1 .about-container p {
    text-align: left;
    line-height: 30px;
    font-size: 15px;
    color: #000;
    padding: 0px 0px 10px;
    /*font-weight: 500;*/
}

#about1 .abtcontent1 {
    padding: 0px 0px 0px;
    text-align: left;
}


#about1 .abtcontent1 {
    padding: 0px 0px 0px;
    text-align: left;
}

#about1 .about-container .abtcontent1 h1 {
    line-height:50px;
    color: var(--color-red);
    padding:0px  0px;
    font-size:38px;
    /*font-weight:800;*/
    padding:0px 0px 10px;!important;
    text-align:left;
    text-transform:uppercase;
    font-family: var(--font-serif);

}
#about1 .about-container p {
    text-align:left;
    line-height: 28px;
    font-size:17px;
    color:#444444;
    padding:0px 0px 15px;
    /*font-weight:500;*/

}
#about1 .abtcontent1 {
    padding: 0px 5px 0px;
    text-align: left;
}

#about1 h2{
    font-size: 33px;
    color: #000;
    margin: 15px 0px 10px 0px;
    font-weight: bold;
    font-family: var(--font-serif);
}

#about1 h3{
    font-size: 27px;

    margin: 15px 0px 12px 0px;
    font-weight: bold;
    font-family: var(--font-serif);
}

.blckfont {
    text-align:left;
    line-height: 28px;
    font-size:17px;
    color:#000;
    padding:10px 0px 15px;
}

.blckfont p{
    text-align:left;
    line-height: 28px;
    font-size:17px;
    color:#444444;
    padding:10px 0px 15px;
}

#about1 ul {
    margin-left: 7px;
    list-style: disc;
    text-align:left;
    line-height: 30px;
    font-size:15px;
    color:#444444;

    font-weight:400;
}

#about1 ul li {
    text-align:left;
    line-height: 30px;
    font-size:15px;
    color:#444444;

    font-weight:400;
    list-style: disc;
}

.feature-learn {
    color: var(--tbr-text);
    font-size: 12px;
    letter-spacing: 1.6px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    transition: color .25s ease, gap .25s ease;
}
.feature-learn:hover { color: var(--tbr-orange); gap: 14px; }
.feature-learn i { transition: transform .25s ease; }
.feature-learn:hover i { transform: translateX(4px); }

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        min-width: 215px;
    }
    .carousel-item { min-height: 10px; }
    #heroCarousel, .carousel-item {
        min-height: 10px;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
    .main-navbar .navbar-nav .nav-link.active::after { display: none; }
    .main-navbar .navbar-collapse { padding-top: 1rem; }
    .main-navbar .navbar-nav .nav-link { padding: 0.6rem 0 !important; }
    .hero-title { font-size: 2.6rem; }
    .hero-eyebrow { font-size: 1.5rem; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(248, 242, 228, 0.95) 0%, rgba(248, 242, 228, 0.75) 60%, rgba(248, 242, 228, 0.85) 100%);
    }
    .mass-cross-watermark { display: none; }

}

@media (max-width: 767.98px) {
    .top-bar { font-size: 0.78rem; text-align: center; }
    .top-bar .container { justify-content: center !important; }
    .brand-line-1 { font-size: 1.3rem; }
    .brand-line-2 { font-size: 1rem; }
    #heroCarousel, .carousel-item { min-height: 480px; }
    .hero-content { padding: 3rem 12px 3.5rem; }
    .hero-title { font-size: 2.1rem; }
    .hero-eyebrow { font-size: 1.3rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .btn-parish { font-size: 0.78rem; padding: 0.85rem 1.5rem; }
    .carousel-control-prev, .carousel-control-next { width: 44px; }
    .hero-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
    .mass-times { padding: 2.5rem 0; text-align: center; }
    .mass-heading { justify-content: center; }
    .mass-list li { justify-content: space-between; text-align: left; }
    .events-section { padding: 3.5rem 0; }
    .section-title { font-size: 1.4rem; }
    .event-card { flex-direction: column; gap: 1rem; }
    .event-thumb { width: 100%; height: 180px; }
    .site-footer { text-align: left; padding-top: 3rem; }
    .site-footer .d-flex { justify-content: center; }
    .footer-cross-watermark { display: none; }
    .scroll-top-btn { width: 42px; height: 42px; right: 16px; bottom: 16px; }
    .carousel-item { min-height: 10px; }
    #heroCarousel, .carousel-item {
        min-height: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.8rem; }
    .brand-cross { width: 40px; height: 40px; font-size: 1.3rem; }
    .carousel-item { min-height: 10px; }
    #heroCarousel, .carousel-item {
        min-height: 10px;
    }
}
