/**
 * @file public/assets/css/travel.css
 * @brief ClearSpot Travel pages (Aurora tokens only).
 */

.travel-body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(123, 63, 196, 0.22), transparent 55%),
        radial-gradient(900px 500px at 90% 0%, rgba(0, 255, 178, 0.08), transparent 50%),
        var(--bg-0);
    min-height: 100vh;
    color: var(--fg-0);
}

.travel-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.travel-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.travel-kicker {
    font-family: var(--font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--aurora-cyan);
    margin: 0 0 0.6rem;
}

.travel-hero h1,
.travel-prose h1 {
    font-family: var(--font-ui);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.travel-lede {
    font-size: 1.15rem;
    color: var(--fg-1);
    max-width: 38rem;
}

.travel-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.travel-hero-svg {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.travel-section {
    margin: 3rem 0;
}

.travel-section h2 {
    font-family: var(--font-ui);
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.travel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.travel-cards--guides {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.travel-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
}

.travel-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-ui);
    font-size: 1.05rem;
}

.travel-card p {
    margin: 0;
    color: var(--fg-1);
    font-size: 0.95rem;
}

a.travel-card--link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

a.travel-card--link:hover {
    border-color: var(--aurora-green);
    transform: translateY(-2px);
}

.travel-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--fg-1);
}

.travel-steps li {
    margin: 0.5rem 0;
}

.travel-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 255, 178, 0.12);
    color: var(--aurora-green);
    font-size: 0.85rem;
}

.travel-note {
    border-left: 3px solid var(--aurora-orange);
    padding: 0.4rem 0 0.4rem 0.9rem;
    color: var(--fg-1);
}

.travel-prose {
    max-width: 42rem;
}

.travel-prose ol {
    line-height: 1.55;
}

.travel-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 1.25rem 2.5rem;
    text-align: center;
}

.travel-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    justify-content: center;
}

.travel-footer a {
    color: var(--fg-1);
    font-size: 0.9rem;
}

.travel-footer-copy {
    color: var(--fg-2);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.travel-app {
    display: grid;
    gap: 1.5rem;
}

.travel-drop {
    border: 1.5px dashed var(--border-strong);
    border-radius: 16px;
    padding: 2.5rem 1.25rem;
    text-align: center;
    background: var(--bg-1);
}

.travel-drop.is-over {
    border-color: var(--aurora-green);
    background: rgba(0, 255, 178, 0.06);
}

.travel-progress {
    height: 8px;
    background: var(--bg-2);
    border-radius: 99px;
    overflow: hidden;
}

.travel-progress > span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #8E54E9, #3ECFDC, #47D1A0);
    transition: width 0.2s ease;
}

.travel-player-shell {
    position: relative;
    min-height: 70vh;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.travel-player-shell #travel-map,
.travel-player-shell #travel-cesium {
    position: absolute;
    inset: 0;
}

.travel-hud {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: var(--surface-glass-strong);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    max-width: min(360px, calc(100% - 80px));
}

.travel-logo-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    width: 36px;
    height: 36px;
}

.travel-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    background: var(--surface-glass-strong);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
}

.travel-density {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 28px;
    margin-bottom: 0.4rem;
}

.travel-density button {
    flex: 1;
    padding: 0;
    border: 0;
    background: var(--aurora-violet);
    opacity: 0.55;
    min-width: 2px;
    cursor: pointer;
}

.travel-trip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.travel-trip-list a {
    color: inherit;
}

.travel-settings {
    display: grid;
    gap: 0.75rem;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
}

.travel-settings label {
    display: grid;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.travel-errors {
    color: var(--aurora-orange);
}

@media (max-width: 800px) {
    .travel-hero {
        grid-template-columns: 1fr;
    }
    .travel-cards {
        grid-template-columns: 1fr;
    }
    .travel-main {
        padding-top: 1.25rem;
    }
}
