/* =========================================================
   MOUNT OLIVES CHURCH
   EVENTS PAGE
   PAGE-SPECIFIC STYLES
========================================================= */


/* =========================================================
   EVENTS HERO
========================================================= */

.events-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.events-hero-image {
    position: absolute;
    inset: 0;
}

.events-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 59, 117, .92) 0%,
            rgba(4, 59, 117, .72) 45%,
            rgba(4, 59, 117, .25) 100%
        );
}

.events-hero-container {
    position: relative;
    z-index: 2;
}

.events-hero-content {
    max-width: 720px;
    padding: 85px 0;
    color: var(--white);
}

.events-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding-left: 15px;
    border-left: 3px solid #fff;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.events-hero h1 {
    max-width: 700px;
    margin-bottom: 22px;

    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.events-hero p {
    max-width: 650px;
    margin-bottom: 32px;

    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
}

.events-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.events-hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.events-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 42px;

    font-size: .85rem;
    color: rgba(255, 255, 255, .75);
}

.events-breadcrumb a {
    transition: var(--transition);
}

.events-breadcrumb a:hover {
    color: var(--white);
}

.events-breadcrumb i {
    font-size: .65rem;
}



/* =========================================================
   WEEKEND INTRO
========================================================= */

.weekend-intro {
    padding: 100px 0;
    background: var(--white);
}

.weekend-intro-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 75px;
}

.weekend-intro-image {
    position: relative;
}

.weekend-intro-image img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.intro-image-badge {
    position: absolute;
    right: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;

    background: var(--white);
    color: var(--primary);

    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);

    font-size: .85rem;
    font-weight: 700;
}

.intro-image-badge i {
    font-size: 1rem;
}

.weekend-intro-content {
    max-width: 590px;
}
/* =========================================================
   WEEKLY GATHERINGS HEADING
========================================================= */

.weekly-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 70px;

    margin-bottom: 45px;
}

.weekly-heading-title {
    max-width: 650px;
}

.weekly-heading-title .section-label {
    margin-bottom: 12px;
}

.weekly-heading-title h2 {
    margin: 0;

    color: var(--dark);

    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
}

.weekly-heading-title h2 span {
    color: var(--primary);
}

.weekly-heading-text {
    padding-bottom: 4px;
}

.weekly-heading-text p {
    max-width: 390px;
    margin: 0;

    color: var(--muted);

    font-size: .95rem;
    line-height: 1.75;
}

.weekend-intro-content h2,
.section-heading h2,
.event-feature-content h2,
.home-fellowship-content h2,
.sunday-content h2,
.worship-content h2 {
    margin-bottom: 22px;

    color: var(--dark);

    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.weekend-intro-content h2 span,
.section-heading h2 span,
.event-feature-content h2 span,
.home-fellowship-content h2 span,
.sunday-content h2 span,
.worship-content h2 span {
    color: var(--primary);
}

.weekend-intro-content > p {
    margin-bottom: 17px;
    color: var(--muted);
}

.verse-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    margin-top: 30px;
    padding: 22px;

    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);

}

.verse-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: var(--white);

    border-radius: 50%;
}

.verse-text {
    margin-bottom: 7px;

    color: var(--text);
    font-family: Georgia, serif;
    font-size: .98rem;
    line-height: 1.7;
}

.verse-reference {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
}



/* =========================================================
   WEEKLY GATHERINGS
========================================================= */

.weekly-gatherings {
    padding: 100px 0;
    background: var(--light);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 430px;
    margin-bottom: 5px;

    color: var(--muted);
    line-height: 1.75;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.event-card {
    overflow: hidden;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.event-card-image {
    position: relative;
    height: 235px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-day {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 8px 13px;

    background: var(--primary);
    color: var(--white);

    border-radius: 6px;

    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-card-content {
    position: relative;
    padding: 30px 28px 28px;
}

.event-card-icon {
    position: absolute;
    right: 25px;
    top: -10px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--primary);

    border-radius: 50%;
    box-shadow: var(--shadow-sm);

    font-size: 1rem;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;
}

.event-time i {
    font-size: .8rem;
}

.event-card h3 {
    margin-bottom: 13px;

    color: var(--dark);

    font-size: 1.3rem;
    line-height: 1.35;
}

.event-card p {
    margin-bottom: 22px;

    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 9px;

    padding-top: 17px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: .78rem;
    font-weight: 600;
}

.event-location i {
    color: var(--primary);
}



/* =========================================================
   WORSHIP EXPERIENCE
========================================================= */

.worship-experience {
    padding: 100px 0;
    background: var(--white);
}

.worship-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    overflow: hidden;

    background: var(--light);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}

.worship-image {
    min-height: 500px;
}

.worship-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worship-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 65px;
}

.worship-content p {
    max-width: 520px;
    margin-bottom: 16px;

    color: var(--muted);
}

.worship-content .btn {
    align-self: flex-start;
    margin-top: 17px;

    display: inline-flex;
    align-items: center;
    gap: 10px;
}



/* =========================================================
   FEATURE SECTIONS
========================================================= */

.event-feature,
.home-fellowship {
    padding: 100px 0;
}

.event-feature {
    background: var(--light);
}

.home-fellowship {
    background: var(--white);
}

.event-feature-grid,
.home-fellowship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.event-feature-image,
.home-fellowship-image {
    position: relative;
}

.event-feature-image img,
.home-fellowship-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}

.event-feature-content,
.home-fellowship-content {
    max-width: 570px;
}

.event-feature-content p,
.home-fellowship-content p {
    margin-bottom: 17px;
    color: var(--muted);
}

.feature-time {
    position: absolute;
    left: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;

    padding: 16px 20px;

    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);

}

.feature-time strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-time span {
    color: var(--muted);
    font-size: .75rem;
}

.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.feature-details div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--text);

    font-size: .82rem;
    font-weight: 600;
}

.feature-details i {
    color: var(--primary);
}

.image-caption {
    position: absolute;
    left: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;

    background: var(--white);
    color: var(--primary);

    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);

    font-size: .8rem;
    font-weight: 700;
}



/* =========================================================
   SUNDAY SERVICE
========================================================= */

.sunday-service {
    padding: 100px 0;
    background: var(--light);
}

.sunday-service-box {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}

.sunday-image {
    min-height: 540px;
}

.sunday-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sunday-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 65px;
}

.sunday-content p {
    max-width: 530px;
    margin-bottom: 16px;

    color: var(--muted);
}

.sunday-time {
    display: flex;
    align-items: center;
    gap: 15px;

    max-width: 520px;

    margin: 18px 0 27px;
    padding: 18px;

    background: var(--primary-light);
    border-radius: var(--radius);
}

.sunday-time-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: var(--white);

    border-radius: 50%;
}

.sunday-time div:last-child {
    display: flex;
    flex-direction: column;
}

.sunday-time strong {
    color: var(--dark);
    font-size: .95rem;
}

.sunday-time span {
    margin-top: 3px;

    color: var(--muted);
    font-size: .75rem;
}

.sunday-content .btn {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: 10px;
}



/* =========================================================
   WEEKEND STATEMENT
========================================================= */

.weekend-statement {
    padding: 85px 0;
    background: var(--primary);
}

.weekend-statement-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;

    color: var(--white);
}

.statement-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;

    font-size: 1.25rem;
}

.weekend-statement .section-label {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 8px;
}

.weekend-statement h2 {
    max-width: 700px;
    margin-bottom: 12px;

    color: var(--white);

    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.2;
}

.weekend-statement h2 span {
    color: #dceeff;
}

.weekend-statement p {
    max-width: 650px;
    color: rgba(255, 255, 255, .82);
}

.weekend-statement .btn {
    white-space: nowrap;

    display: inline-flex;
    align-items: center;
    gap: 9px;
}



/* =========================================================
   FINAL CTA
========================================================= */

.events-cta {
    padding: 100px 0;
    background: var(--white);
}

.events-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 60px 65px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.events-cta-content {
    max-width: 650px;
    color: var(--white);
}

.events-cta .section-label {
    color: rgba(255, 255, 255, .75);
}

.events-cta h2 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.events-cta h2 span {
    color: #dceeff;
}

.events-cta p {
    max-width: 600px;
    color: rgba(255, 255, 255, .82);
}

.events-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.events-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    white-space: nowrap;
}



/* =========================================================
   BUTTON SAFETY
   Uses the global button design but keeps the
   Events page alignment consistent.
========================================================= */

.events-hero .btn-primary,
.worship-content .btn-primary,
.sunday-content .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.events-hero .btn-outline-light,
.events-cta .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .7);
    color: var(--white);
    background: transparent;
}

.events-hero .btn-outline-light:hover,
.events-cta .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .weekend-intro-grid,
    .event-feature-grid,
    .home-fellowship-grid,
    .sunday-service-box {
        gap: 45px;
    }

    .worship-content,
    .sunday-content {
        padding: 45px;
    }

    .events-cta-box {
        padding: 50px;
    }

}



@media (max-width: 900px) {

    .events-hero {
        min-height: 570px;
    }

    .events-hero-content {
        padding: 70px 0;
    }

    .weekend-intro-grid,
    .event-feature-grid,
    .home-fellowship-grid,
    .sunday-service-box,
    .worship-box {
        grid-template-columns: 1fr;
    }

    .weekend-intro-content,
    .event-feature-content,
    .home-fellowship-content {
        max-width: none;
    }

    .weekend-intro-image img,
    .event-feature-image img,
    .home-fellowship-image img {
        height: 430px;
    }

    .worship-image {
        min-height: 400px;
    }

    .sunday-image {
        min-height: 430px;
    }

    .worship-content,
    .sunday-content {
        padding: 50px;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid .event-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        width: 100%;
        margin: 0 auto;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-heading > p {
        max-width: 600px;
    }

    .weekend-statement-inner {
        grid-template-columns: auto 1fr;
    }

    .weekend-statement-inner .btn {
        grid-column: 2;
        justify-self: start;
    }

    .events-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}



@media (max-width: 700px) {

    .events-hero {
        min-height: 540px;
    }

    .events-hero-content {
        padding: 60px 0;
    }

    .events-hero h1 {
        font-size: 2.7rem;
    }

    .events-hero p {
        font-size: .98rem;
    }

    .weekend-intro,
    .weekly-gatherings,
    .worship-experience,
    .event-feature,
    .home-fellowship,
    .sunday-service,
    .events-cta {
        padding: 75px 0;
    }

    .weekend-intro-image img,
    .event-feature-image img,
    .home-fellowship-image img {
        height: 370px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .events-grid .event-card:last-child {
        max-width: none;
    }

    .worship-image,
    .sunday-image {
        min-height: 340px;
    }

    .worship-content,
    .sunday-content {
        padding: 35px 28px;
    }

    .weekend-statement {
        padding: 70px 0;
    }

    .weekend-statement-inner {
        grid-template-columns: 1fr;
    }

    .weekend-statement-inner .btn {
        grid-column: auto;
    }

    .events-cta-box {
        padding: 40px 28px;
    }

}



@media (max-width: 520px) {

    .events-hero h1 {
        font-size: 2.35rem;
    }

    .events-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .weekend-intro-image img,
    .event-feature-image img,
    .home-fellowship-image img {
        height: 320px;
    }

    .intro-image-badge,
    .feature-time,
    .image-caption {
        left: 15px;
        right: auto;
        bottom: 15px;
    }

    .event-card-image {
        height: 220px;
    }

    .event-card-content {
        padding: 27px 22px 24px;
    }

    .verse-card {
        padding: 18px;
    }

    .feature-details {
        flex-direction: column;
        gap: 13px;
    }

    .events-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .events-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

}
@media (max-width: 900px) {

    .weekly-heading {
        grid-template-columns: 1fr;
        gap: 15px;
        align-items: start;
    }

    .weekly-heading-text p {
        max-width: 600px;
    }

}