/* Lore Page Specific Styles */

.lore-hero {
    height: 35vh;
    min-height: 250px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 3rem;
}

.lore-hero-content {
    text-align: center;
    z-index: 2;
}

.navbar .logo {
    text-decoration: none;
}

.lore-hero h1 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 4rem;
    color: #fafafa;
    letter-spacing: 0.15em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 2rem;
    position: relative;
}

.lore-hero h1::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    background: url('Assets/concretecrack.png') center center no-repeat;
    background-size: cover;
    opacity: 0.8;
}

.lore-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem 2rem 4rem;
    background: #0a0a0a;
    position: relative;
}

.sketch-container {
    position: absolute;
    width: 600px;
    max-width: 90vw;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: auto;
    cursor: pointer;
}

.sketch-container.sketch-1 {
    top: 5%;
    left: -10%;
    transform: translate(-50%, -50%) rotate(-5deg);
    opacity: 0.35;
    width: 800px;
}

.sketch-container.sketch-2 {
    top: 35%;
    left: 100%;
    transform: translate(-50%, -50%) rotate(3deg);
}

.sketch-container.sketch-3 {
    top: 65%;
    left: 5%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 700px;
}

.sketch-container.show {
    opacity: 0.4;
}

.sketch-container img {
    width: 100%;
    height: auto;
    filter: contrast(1.1) brightness(0.9);
    transition: all 0.3s ease;
}

.sketch-container:hover {
    z-index: 10;
    opacity: 1 !important;
}

.sketch-container:hover img {
    filter: contrast(1.2) brightness(1.2) drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    transform: scale(1.05);
}

.lore-content:has(.sketch-container:hover) .lore-text {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.lore-content:has(.sketch-container:hover) .sketch-container:not(:hover) {
    opacity: 0.15 !important;
    transition: opacity 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lore-text {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.lore-paragraph {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #d4d4d4;
    text-align: justify;
    margin: 0;
}

.lore-paragraph.opening {
    font-size: 1.25rem;
    line-height: 2;
    color: #fafafa;
}

.lore-paragraph.emphasis {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fafafa;
    padding: 1rem 0;
    text-transform: uppercase;
    font-weight: 300;
}

.lore-paragraph.closing {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 0.08em;
    color: #fafafa;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-weight: 300;
}

/* Quote callouts */
.quote-callout {
    position: relative;
    padding-left: 3rem;
    border-left: 2px solid #333;
    margin: 3rem 0;
}

.quote-callout::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-size: 4rem;
    color: #333;
    font-family: Georgia, serif;
}

/* Ornamental divider */
.ornamental-divider {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.ornamental-divider::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
    vertical-align: middle;
}

.ornamental-divider::after {
    content: '◆';
    display: inline-block;
    margin: 0 1rem;
    color: #444;
    font-size: 0.6rem;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lore-hero h1 {
        font-size: 3rem;
    }

    .lore-content {
        padding: 6rem 2rem;
    }

    .lore-paragraph {
        font-size: 1.1rem;
    }

    .lore-paragraph.opening {
        font-size: 1.2rem;
    }

    .lore-paragraph.emphasis {
        font-size: 1.3rem;
    }

    .lore-paragraph.closing {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .lore-hero {
        height: 50vh;
        min-height: 400px;
    }

    .lore-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0.1em;
    }

    .lore-content {
        padding: 4rem 1.5rem;
    }

    .lore-text {
        gap: 2rem;
    }

    .lore-paragraph {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
    }

    .lore-paragraph.opening {
        font-size: 1.1rem;
    }

    .lore-paragraph.emphasis {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .lore-paragraph.closing {
        font-size: 1.3rem;
        margin-top: 1rem;
    }
}
