/* ================= RECONNECT BACKGROUND ONLY ================= */

:root {
    --innerbar-height: 0px;
}
.reconnect-wrapper {
    background: url('/img/fondoworships.jpg') center/cover no-repeat;
    position: relative;
    color: white;
}

.reconnect-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
    z-index: 0;
}

.reconnect-wrapper > * {
    position: relative;
    z-index: 1;
}

/* HERO */
.worship-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    letter-spacing: 4px;
    font-weight: 700;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: white;
    margin: 1.5rem auto;
    opacity: .7;
}

.hero-sub {
    opacity: .85;
}

/* SECTIONS */
.worship-section {
    padding: 5rem 0;
}

/* TITLES */
.section-title {
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* MAIN VIDEO */
.video-main {
    max-width: 900px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* VIDEO GRID */
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .4s ease;
        aspect-ratio: 16/9;    
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.video-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity .3s ease;
    font-weight: 600;
}

.video-card:hover {
    transform: translateY(-6px);
}

.video-card:hover .video-card-overlay {
    opacity: 1;
}

/* UPCOMING SECTION (sin imagen) */
.worship-upcoming {
    padding: 6rem 0;
    background: #111;
    color: white;
}

/* ANIMACIONES */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .2s; }
.delay-2 { transition-delay: .4s; }
.delay-3 { transition-delay: .6s; }
footer {
    background-color: #0d3b66 !important;
    color: white;
}

body {
    padding-top: var(--topbar-height) !important;
}

/* ================= FIX SCROLL MODAL ================= */

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}


/* FIX SCROLL MODAL DEFINITIVO */

#videoModal .modal-dialog {
    margin: 0 auto !important;
    height: auto !important;
}

#videoModal .modal-content {
    height: auto !important;
    overflow: hidden !important;
}

#videoModal .modal-body {
    padding: 0 !important;
    overflow: hidden !important;
}

#videoModal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
}

.video-fullscreen {
    width: 100%;
    height: 90vh;
}

.video-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
