/* =====================================================
   Ruach Qodesh School
   Covenant Design System
   covenant.css
===================================================== */

/* =========================
   HERO
========================= */

.covenant-hero{

    position:relative;

    min-height:650px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

    border-radius:18px;

    background:
        linear-gradient(
            rgba(4,14,32,.55),
            rgba(4,14,32,.55)
        ),
        url('/assets/images/school-campus.jpg');

    background-size:cover;

    background-position:center;
}

.hero-inner{

    max-width:1200px;

    padding:50px;

    background:
        rgba(4,14,32,.40);

    backdrop-filter:
        blur(6px);

    border-radius:20px;

    border:
        1px solid rgba(212,175,55,.25);
}

.covenant-title{

    color:#D4AF37;

    font-size:72px;

    line-height:1.1;

    margin-bottom:25px;

    text-shadow:
        0 4px 18px rgba(0,0,0,.95);

    text-align:center;
}

.covenant-subtitle{

    color:#F5F1E8;

    font-size:24px;

    line-height:1.8;

    max-width:1000px;

    margin:0 auto;

    text-shadow:
        0 3px 12px rgba(0,0,0,.90);
}

.hero-description {

    max-width: 900px;

    margin: 25px auto;

    line-height: 1.9;
}

.hero-text {

    max-width: 850px;

    margin: 25px auto;
}

.hero-actions {

    margin-top: 30px;
}

/* =========================
   SCRIPTURE
========================= */

.scripture-box {

    text-align: center;

    padding: 40px;

    border: 1px solid rgba(212,175,55,.25);

    border-radius: 18px;

    margin: 40px 0;
}

.scripture-box blockquote {

    font-size: 1.4rem;

    color: var(--rq-gold);

    margin: 0 0 15px;

    line-height: 1.8;
}

.scripture-reference {

    margin-top: 18px;

    color: var(--rq-gold);

    font-weight: 700;
}

/* =========================
   CURRICULUM
========================= */

.curriculum-card {

    display: block;

    text-decoration: none;

    color: inherit;
}

.curriculum-card-link {

    display: inline-block;

    margin-top: 15px;

    color: var(--rq-gold);

    font-weight: 700;
}

/* =========================
   CALL TO ACTION
========================= */

.covenant-cta {

    text-align: center;

    padding: 80px 24px;
}

.cta-inner {

    max-width: 900px;

    margin: 0 auto;
}

/* =========================
   BRANDING
========================= */

.brand {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    padding: 20px;

    flex-wrap: wrap;
}

.brand-text {

    text-align: center;
}

.brand-text h1 {

    margin: 0;

    color: var(--rq-gold);
}

.brand-subtitle {

    margin-top: 6px;

    letter-spacing: 2px;
}

.site-logo {

    width: 72px;

    height: 72px;

    object-fit: cover;

    border-radius: 50%;
}

/* =========================
   FACULTY
========================= */

.faculty-card {

    cursor: pointer;
}

.faculty-card img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 15px;
}

/* =========================
   FACULTY MODAL
========================= */

.faculty-modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.82);

    z-index: 99999;

    align-items: center;

    justify-content: center;

    padding: 20px;
}

.faculty-modal.active {

    display: flex;
}

.faculty-modal-content {

    width: min(560px, 95vw);

    background: #111;

    border: 1px solid var(--rq-border);

    border-radius: 18px;

    padding: 25px;

    text-align: center;

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);
}

.faculty-modal-content img {

    width: 100%;

    max-width: 360px;

    height: 360px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 20px;
}

.modal-close {

    margin-top: 15px;

    padding: 10px 18px;

    border: none;

    border-radius: 8px;

    background: var(--rq-gold);

    color: #000;

    cursor: pointer;

    font-weight: 700;
}

.modal-close:hover {

    opacity: .9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .covenant-hero {

        padding: 60px 20px;
    }

    .scripture-box {

        padding: 25px;
    }

    .faculty-card img {

        height: 220px;
    }

    .faculty-modal-content img {

        height: 280px;
    }

    .brand {

        flex-direction: column;
    }

    .site-logo {

        width: 64px;
        height: 64px;
    }
}

.covenant-hero {

    min-height: 650px;

    display:flex;
    align-items:center;

    background:
        linear-gradient(
            rgba(4,14,32,.88),
            rgba(4,14,32,.70)
        ),
        url('/assets/images/school-campus.jpg');

    background-size:cover;
    background-position:center;
}

@media(max-width:768px){

    .covenant-title{

        font-size:42px;
    }

    .covenant-subtitle{

        font-size:18px;
    }

    .hero-inner{

        padding:30px;
    }
}