/*
 * Seraph Veloce - Lore Page Stylesheet
 * Feature: Narrative Parallax 
 */

#lore-main {
    /* The header has a z-index of 1000. We start the main content below it. */
    position: relative;
    z-index: 1; 
}

.parallax-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures images don't spill out */
    color: var(--color-white);
    text-align: center;
}

.parallax-bg, .parallax-lucifer, .parallax-lilith {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.parallax-bg {
    z-index: -3;
    background-attachment: fixed; /* Simple but effective parallax */
    transform: scale(1.1); /* Slightly larger to avoid edge gaps */
}

.parallax-lucifer, .parallax-lilith {
    object-fit: contain; /* Prevents image distortion */
    object-position: center;
    z-index: -2;
}

/* Adjust initial positions and sizes */
.parallax-lucifer {
    width: 60%;
    top: 10%;
    left: -15%;
    opacity: 0.8;
}

.parallax-lilith {
    width: 65%;
    top: 5%;
    right: -15%;
    left: auto; /* Override default left:0 */
    opacity: 0.9;
}


.lore-title-section {
    z-index: -1;
    text-shadow: 0 0 20px black;
}

.lore-title-section h1 {
    font-size: 6rem;
    text-shadow: 0 0 25px var(--color-primary);
}

.lore-title-section p {
    font-family: var(--font-system);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}


.lore-content {
    position: relative;
    background-color: var(--color-charcoal);
    padding: 5rem 0;
    z-index: 10; /* Ensures content scrolls OVER the parallax section */
}

.content-box {
    width: 90%;
    max-width: 700px;
    margin: 5rem auto;
    padding: 3rem;
    background: var(--color-slate);
    border-left: 5px solid var(--color-primary);
    transition: border-color 0.3s ease;
}

.malacoda-mode .content-box {
    border-left-color: var(--color-malacoda-red);
}

.content-box h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.malacoda-mode .content-box h2 {
     color: var(--color-malacoda-red);
}


.content-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light-grey);
}