﻿/* =============================================
   COLOR VARIABLES & BASE (Editorial Theme)
   ============================================= */
:root {
    --navy: #0B1B3D;
    --gold: #D4AF37;
    --bg-page: #F4F6F9;
    --bg-card: #FFFFFF;
    --text-main: #4A5568;
    --border-subtle: #E2E8F0;
    --shadow-elegant: 0 10px 40px rgba(11, 27, 61, 0.06);
    --shadow-hover: 0 20px 50px rgba(11, 27, 61, 0.12);
}

.editorial-page-wrapper {
    background-color: var(--bg-page);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
}

.text-navy {
    color: var(--navy) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.border-light {
    border-color: var(--border-subtle) !important;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.transition-all {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title, .section-heading, .font-serif {
    font-family: "Lora", "Playfair Display", Georgia, serif;
    color: var(--navy);
}

/* =============================================
   1. HERO BANNER
   ============================================= */
.editorial-hero {
    background-color: var(--navy);
    background-image: url('/images/church-pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
    padding-bottom: 9rem;
    border-bottom: 4px solid var(--gold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 27, 61, 0.9) 0%, rgba(5, 12, 28, 0.95) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    font-family: "Lora", Georgia, serif;
    font-style: italic;
}

.badge-elegant {
    display: inline-block;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(212, 175, 55, 0.05);
}

/* =============================================
   2. LAYOUT & CARDS
   ============================================= */
.mt-n-overlap {
    margin-top: -7rem !important;
}

.editorial-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.8);
}

.shadow-soft {
    box-shadow: var(--shadow-elegant);
}

.accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.editorial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555555;
}

    .editorial-text:first-of-type::first-letter {
        float: left;
        font-family: "Lora", Georgia, serif;
        font-size: 4rem;
        line-height: 0.8;
        padding-top: 8px;
        padding-right: 10px;
        padding-left: 0;
        color: var(--navy);
        font-weight: 700;
    }

.image-showcase {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.showcase-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.image-showcase:hover .showcase-img {
    transform: scale(1.03);
}

/* =============================================
   3. OUR MINISTRY (Clean, Freestanding)
   ============================================= */

/* --- A) Spiritual Director (No Card) --- */
.director-block {
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-all);
}

.director-square-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--bg-page);
    transition: var(--transition-all);
    position: relative;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.director-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 27, 61, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.view-profile-link {
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: var(--transition-all);
    opacity: 0.7;
}

.director-block:hover .director-square-wrapper {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-5px);
    border-color: var(--gold);
}

.director-block:hover .director-img {
    transform: scale(1.05);
}

.director-block:hover .director-overlay {
    opacity: 1;
}

.director-block:hover .overlay-text {
    transform: translateY(0);
}

.director-block:hover .view-profile-link {
    opacity: 1;
    border-bottom-color: var(--gold);
    color: var(--navy) !important;
}

/* --- B) Parish Council (Large Clean Circles) --- */
.council-profile {
    cursor: pointer;
    padding: 0.5rem;
}

.council-img {
    width: 140px; /* Made larger */
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-card); /* White border helps it pop off bg */
    transition: all 0.3s ease;
}

.council-profile:hover .council-img {
    transform: scale(1.08);
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(11, 27, 61, 0.15) !important;
}

.council-profile:hover h6 {
    color: var(--gold) !important;
}

/* =============================================
   4. MODAL DESIGN (Centered Profile)
   ============================================= */
.editorial-modal {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(11, 27, 61, 0.2);
    background-color: var(--bg-card);
}

.btn-close-editorial {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-page);
    border: none;
    color: var(--navy);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

    .btn-close-editorial:hover {
        background: var(--navy);
        color: #FFFFFF;
        transform: rotate(90deg);
    }

.modal-council-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--gold);
}

/* =============================================
   ANIMATIONS 
   ============================================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}



.instructor-profile {
    padding: 0.5rem;
    cursor: default;
}


.instructor-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    transition: all 0.3s ease;
}

.transition-all {
    transition: all 0.3s ease;
}

