﻿/* =============================================
   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;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-page {
    background-color: var(--bg-page) !important;
}

.border-light {
    border-color: var(--border-subtle) !important;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.hero-title, .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 {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    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. TALL MINIMALIST CARDS (4 Column)
   ============================================= */
.mt-n-overlap {
    margin-top: -7rem !important;
}

.editorial-contact-box {
    display: block;
    text-decoration: none;
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 3rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-elegant);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

    /* Subtle Gold Top Accent */
    .editorial-contact-box::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: transparent;
        transition: background-color 0.4s ease;
    }

    .editorial-contact-box:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
        border-color: var(--border-subtle);
    }

        .editorial-contact-box:hover::after {
            background-color: var(--gold);
        }

.contact-icon-ring {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: var(--bg-page);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.editorial-contact-box:hover .contact-icon-ring {
    background-color: var(--navy);
    color: var(--gold);
    transform: scale(1.1);
}

/* =============================================
   3. SOCIAL ICONS (Below Cards)
   ============================================= */
.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--navy);
    font-size: 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-elegant);
    transition: all 0.3s ease;
}

    .social-icon-btn:hover {
        transform: translateY(-4px);
        color: #FFFFFF;
    }

    .social-icon-btn.facebook:hover {
        background: #1877F2;
        border-color: #1877F2;
        box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
    }

    .social-icon-btn.youtube:hover {
        background: #FF0000;
        border-color: #FF0000;
        box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    }

/* =============================================
   4. FEEDBACK PROMPT
   ============================================= */
.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);
}

.btn-editorial-primary {
    background: var(--navy);
    color: var(--bg-card);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .btn-editorial-primary:hover:not(:disabled) {
        background: var(--gold);
        color: var(--navy);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    }

    .btn-editorial-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-editorial-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .btn-editorial-outline:hover {
        border-color: var(--navy);
        background: var(--navy);
        color: var(--bg-card);
    }

/* =============================================
   5. MODAL & FORMS
   ============================================= */
.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);
    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-icon-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.editorial-input {
    background-color: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

    .editorial-input:focus {
        background-color: var(--bg-card);
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
        outline: none;
    }

/* OTP Input */
.otp-input {
    background-color: var(--bg-page);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--navy);
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.75em;
    padding-left: 1em;
    font-size: 2rem !important;
    font-weight: 700;
    text-align: center;
    max-width: 300px;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

    .otp-input:focus {
        background-color: var(--bg-card);
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
        outline: none;
    }

    .otp-input::placeholder {
        letter-spacing: 0.5em;
        font-weight: 400;
        color: #CBD5E1;
    }

/* =============================================
   6. CUSTOM TOGGLE SWITCH (Stay Anonymous)
   ============================================= */
.cursor-pointer {
    cursor: pointer;
}

.editorial-switch-wrapper {
    user-select: none;
}

.editorial-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

    .editorial-switch .editorial-switch-input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.editorial-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CBD5E1;
    border-radius: 34px;
    transition: .4s;
}

    .editorial-switch-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: .4s;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

.editorial-switch-input:checked + .editorial-switch-slider {
    background-color: var(--gold);
}

.editorial-switch-input:focus + .editorial-switch-slider {
    box-shadow: 0 0 1px var(--gold);
}

.editorial-switch-input:checked + .editorial-switch-slider:before {
    transform: translateX(24px);
}

/* =============================================
   7. MAP
   ============================================= */
.map-wrapper {
    border-top: 4px solid var(--gold);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.transition-all {
    transition: all 0.3s ease;
}

.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;
}
