/* ===================================
   LOCATION FILE PAGE STYLES
   =================================== */

.location-file {
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, var(--rich-black) 0%, var(--dark-teal) 50%, var(--deep-teal) 100%);
    min-height: 100vh;
}

.file-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(13, 13, 13, 0.8);
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 8px;
    padding: 3rem;
}

/* Location Header */
.location-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.location-file-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.location-file-role {
    font-size: 1.3rem;
    color: var(--cream);
    font-style: italic;
}

/* Location Image — wide landscape instead of portrait circle */
.location-portrait {
    position: relative;
    width: 100%;
    margin: 0 auto 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.location-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(ellipse, rgba(201, 169, 97, 0.25) 0%, rgba(201, 169, 97, 0.1) 40%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.location-image {
    position: relative;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    z-index: 1;
    border: 2px solid rgba(201, 169, 97, 0.4);
    display: block;
}

/* File Information Sections */
.file-info {
    margin-bottom: 2rem;
}

.info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.info-section:last-of-type {
    border-bottom: none;
}

.info-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-content {
    font-size: 1.1rem;
    color: var(--cream);
    line-height: 1.8;
    margin: 0;
}

/* Manuscript Quote Block */
.manuscript-quote {
    background: rgba(26, 58, 74, 0.4);
    border-left: 4px solid var(--gold);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.manuscript-quote p {
    font-size: 1.1rem;
    color: var(--cream);
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.manuscript-quote cite {
    font-size: 0.9rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Location Quote Box — the defining emotional line */
.location-quote-box {
    background: rgba(26, 58, 74, 0.4);
    border-left: 4px solid var(--gold);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.location-quote {
    font-size: 1.3rem;
    color: var(--gold);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Sensory Identity Tags */
.sensory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sensory-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(26, 58, 74, 0.5);
    color: var(--cream);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-style: italic;
}

/* Appears In Section */
.appears-section {
    background: rgba(26, 58, 74, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.appears-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.appears-desc {
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Related Section */
.related-section {
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(201, 169, 97, 0.3);
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.related-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(26, 58, 74, 0.3);
    color: var(--cream);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.related-link:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* Back Links */
.back-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.btn-link:hover {
    opacity: 0.7;
}

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

@media (max-width: 768px) {
    .location-file {
        padding: 100px 1.5rem 3rem;
    }

    .file-container {
        padding: 2rem 1.5rem;
    }

    .location-file-name {
        font-size: 2.2rem;
    }

    .location-file-role {
        font-size: 1.1rem;
    }

    .location-image {
        height: 220px;
    }

    .info-label {
        font-size: 1.1rem;
    }

    .info-content {
        font-size: 1rem;
    }

    .location-quote {
        font-size: 1.1rem;
    }

    .back-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .related-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .location-file-name {
        font-size: 1.8rem;
    }

    .location-image {
        height: 180px;
    }

    .sensory-tags {
        gap: 0.5rem;
    }

    .sensory-tag {
        font-size: 0.85rem;
    }
}
