/* ==========================================
   Travel Page
   ========================================== */

.page-hero {
    background-image:
        linear-gradient(180deg,
            rgba(250, 244, 238, 0.12),
            rgba(250, 244, 238, 0.68)),
        var(--page-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.travel-intro {
    max-width: 1000px;
}

#intro {
    margin-bottom: 0;
}

/* ---------- Globe ---------- */

.globe-panel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

#globe {
    width: min(1000px, 92vw);
    height: min(1000px, 92vw);
    cursor: grab;
    pointer-events: auto;
    margin: 0 auto;
}

#globe-section {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

#globe canvas {
    background: transparent !important;
}

/* ---------- Globe Markers ---------- */

.globe-marker {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #fff;
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    transform: translate(-50%, -50%);
}

.globe-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.22);
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.globe-label {
    white-space: nowrap;
}

.globe-marker:hover .globe-dot {
    transform: scale(1.15);
}

/* ---------- Hidden Sections ---------- */

.detail-hidden {
    display: none;
}

/* ---------- Shared Cards ---------- */

.continent-card,
.place-card {
    padding: 42px;
    border-radius: 28px;
    background: rgba(255, 249, 244, 0.72);
    border: 1px solid rgba(111, 74, 132, 0.16);
    box-shadow: var(--shadow);
}

.place-status {
    margin: 0 0 16px;
    color: var(--purple);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.continent-card h2,
.place-copy h2 {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1;
    letter-spacing: -0.04em;
}

/* ---------- Continent Detail ---------- */

.country-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.country-columns h3 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.country-button {
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(111, 74, 132, 0.2);
    background: var(--soft-purple);
    color: var(--purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.country-button:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

.country-button.disabled {
    cursor: default;
    opacity: 0.55;
}

/* ---------- Country Memory ---------- */

.place-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.place-copy p {
    font-size: 22px;
    line-height: 1.7;
    color: var(--muted);
}

.place-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* ---------- Mobile ---------- */

@media (max-width: 980px) {
    .globe-panel {
        height: 420px;
    }

    #globe {
        width: min(380px, 92vw);
        height: min(380px, 92vw);
    }

    .globe-marker {
        font-size: 14px;
    }

    .globe-dot {
        width: 22px;
        height: 22px;
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22);
    }

    .country-columns,
    .place-card {
        grid-template-columns: 1fr;
    }

    .continent-card,
    .place-card {
        padding: 28px;
    }

    .place-card img {
        height: 360px;
    }

    .country-columns h3 {
        font-size: 24px;
    }

    .country-button {
        font-size: 15px;
    }
}