/* ===================================
   PEOPLE & PLACES HUB STYLES
   =================================== */

/* Page Title */
.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    padding-top: 120px;
}

/* People Section */
.people-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--rich-black) 0%, var(--dark-teal) 50%, var(--deep-teal) 100%);
}

.people-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.character-card {
    background: rgba(13, 13, 13, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.character-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.character-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #000;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.05);
}

.character-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin: 1rem 1.5rem 0.5rem;
}

.character-title {
    font-size: 0.95rem;
    color: var(--cream);
    font-style: italic;
    margin: 0 1.5rem 1.5rem;
}

/* Location Quote Separator */
.location-quote {
    padding: 4rem 2rem;
    background: rgba(13, 13, 13, 0.9);
    text-align: center;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.quote-attribution {
    font-size: 1.2rem;
    color: var(--cream);
    font-style: italic;
}

/* Places Section */
.places-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--dark-teal) 100%);
}

.places-container {
    max-width: 1400px;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.location-card {
    background: rgba(13, 13, 13, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.location-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.location-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold);
    margin: 1rem 1.5rem 0.5rem;
}

.location-desc {
    font-size: 1rem;
    color: var(--cream);
    font-style: italic;
    margin: 0 1.5rem 1.5rem;
}

/* Back Link Section */
.back-link-section {
    padding: 3rem 2rem;
    background: rgba(13, 13, 13, 0.9);
    text-align: center;
}

.back-link-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

@media (max-width: 1200px) {
    .character-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
        padding-top: 100px;
    }

    .people-section,
    .places-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .character-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .quote-attribution {
        font-size: 1rem;
    }

    .location-quote {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .character-grid {
        grid-template-columns: 1fr;
    }

    .character-name,
    .location-name {
        font-size: 1.2rem;
    }

    .quote-text {
        font-size: 1.3rem;
    }
}
