/* ══════════════════════════════════════════════════════════
   location.css
   ══════════════════════════════════════════════════════════ */

:root {
    --brand: #c67529;
    --brand-2: #ff8f0c;
    --brand-3: #b07219;
    --brand-grad: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    --ink: #111;
    --muted: #666;
    --line: rgba(0, 0, 0, .08);
    --cream: #faf7f1;
}

/* .section-pad rhythm is inherited from css/port.css (80px top & bottom,
   consistent across all screen sizes) — no page-specific override needed. */



.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.project-hero-content .sub-heading {
    color: rgba(255, 255, 255, .75);
}



.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 26px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

.project-hero-meta i {
    color: #e8820a;
    margin-right: 8px;
}

.loc-header {
    max-width: 700px;
    margin: 0 auto 20px;
}


/* ══════════════════════════════════════════════════════════
   2. LOCATION HIGHLIGHT — map + route itinerary
   ══════════════════════════════════════════════════════════ */
.location-section {
    background: #fff url("../image/shade_bg.svg");
    position: relative;
}

/* ── Filter tabs ── */
.loc-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 44px 0 0;
}

.loc-filter-btn {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.loc-filter-btn:hover {
    color: var(--brand);
    border-color: rgba(198, 117, 41, .4);
}

.loc-filter-btn.is-active {
    background: var(--brand-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 26px -14px rgba(198, 117, 41, .65);
}

/* ── Two-pane grid: map + route itinerary ── */
.loc-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 50px;
    align-items: start;
    margin-top: 56px;
}

/* ── Map pane ── */
.loc-map-pane {
    position: sticky;
    top: 110px;
    height: 640px;
}

.loc-map-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
    filter: grayscale(.3) contrast(1.05);
    /* box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); */
}

.loc-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.loc-map-pin-card {
    position: absolute;
    left: 22px;
    top: 22px;
    max-width: 250px;
    background: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 3px solid var(--brand);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35);
    z-index: 2;
}

.loc-map-pin-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
}

.loc-map-pin-label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
}

.loc-map-pin-text p {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.loc-map-directions {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 999px;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .45);
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.loc-map-directions i {
    color: #fff;
    transition: color .35s ease;
}

.loc-map-directions:hover {
    background: var(--brand-grad);
    color: #fff;
    transform: translateY(-3px);
}

.loc-map-directions:hover i {
    color: #fff;
}

/* ── Route itinerary ── */
.loc-route-pane {
    position: relative;
}

.loc-route-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loc-route-item {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
}

.loc-route-marker {
    position: relative;
    z-index: 2;
}

.loc-route-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 14px;
    box-shadow: 0 10px 24px -10px rgba(198, 117, 41, .5);
    transition: background .35s ease, color .35s ease, transform .35s ease;
}

.loc-route-item:hover .loc-route-icon {
    background: var(--brand-grad);
    color: #fff;
    transform: scale(1.08);
}

.loc-route-index {
    position: absolute;
    top: -8px;
    left: 26px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-3);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .5px;
    display: grid;
    place-items: center;
    z-index: 3;
}

.loc-route-body {
    background: #fff;
    border: 1px solid var(--line);
    padding: 13px 20px 14px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.loc-route-item:hover .loc-route-body {
    transform: translateX(6px);
    box-shadow: 0 20px 40px -26px rgba(198, 117, 41, .35);
    border-color: transparent;
}

.loc-route-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 3px;
}

.loc-route-top h6 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
    line-height: 1.25;
}

.loc-route-time {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--cream);
    padding: 4px 10px;
    border-radius: 999px;
}

.loc-route-body p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 10px;
}

.loc-route-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loc-route-bar {
    position: relative;
    flex: 1 1 auto;
    height: 4px;
    background: var(--cream);
    border-radius: 2px;
    overflow: hidden;
}

.loc-route-bar-fill {
    width: 0;
    height: 100%;
    border-radius: 2px;
    background: var(--brand-grad);
    transition: width 1.1s cubic-bezier(.16, 1, .3, 1);
}

.loc-route-item.in-view .loc-route-bar-fill {
    width: var(--fill);
}

.loc-route-bar-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    color: var(--brand-3);
    white-space: nowrap;
}

/* ── Hidden by filter ── */
.loc-route-item.is-filtered-out {
    display: none;
}

/* ── Tag strip below the grid ── */
.loc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 64px;
}

.loc-tags span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 13px 24px 13px 14px;
    box-shadow: 0 16px 34px -24px rgba(0, 0, 0, .2);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.loc-tags span:hover {
    transform: translateY(-3px);
    border-color: transparent;
    background: var(--cream);
    box-shadow: 0 20px 40px -20px rgba(198, 117, 41, .4);
}

.loc-tags i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .loc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 44px;
    }

    .loc-map-pane {
        position: static;
        height: 420px;
    }

    .loc-tags {
        margin-top: 70px;
    }
}

@media (max-width: 700px) {
    /* Tabs take too much space and add little value on small screens —
       the list already shows everything, so drop the filter row entirely. */
    .loc-filters {
        display: none;
    }

    .loc-grid {
        margin-top: 30px;
    }
}

@media (max-width: 560px) {
    .loc-map-pane {
        height: 340px;
    }

    .loc-map-pin-card {
        max-width: 78%;
        padding: 12px 14px;
    }

    .loc-map-directions span {
        display: none;
    }

    .loc-route-top {
        flex-wrap: wrap;
    }

    .loc-route-body {
        padding: 12px 16px 14px;
    }
}

/* ══════════════════════════════════════════════════════════
   3. UPCOMING — horizontal roadmap timeline
   ══════════════════════════════════════════════════════════ */
.upcoming-section {
    background: var(--cream);
    overflow: hidden;
}

.roadmap {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
}

.roadmap-track {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
}

.roadmap-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.roadmap-zone {
    height: 210px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-zone-top {
    justify-content: flex-end;
}

.roadmap-zone-bottom {
    justify-content: flex-start;
}

.roadmap-stem {
    width: 2px;
    height: 26px;
    background: linear-gradient(180deg, rgba(186, 87, 15, 0), rgba(186, 87, 15, .5));
}

.roadmap-item.down .roadmap-stem {
    background: linear-gradient(180deg, rgba(186, 87, 15, .5), rgba(186, 87, 15, 0));
}

.roadmap-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand-grad);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 1px rgba(186, 87, 15, .4);
    flex-shrink: 0;
    z-index: 3;
}

.roadmap-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--brand);
    opacity: .85;
}

.roadmap-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 16px 6px;
    text-align: center;
    box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .2);
    transition: transform .4s ease, box-shadow .4s ease;
}

.roadmap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -26px rgba(198, 117, 41, .3);
}

.roadmap-tag {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 12px;
    color: var(--brand);
    border: 1px solid rgba(198, 117, 41, .35);
}

.roadmap-tag.tag-progress {
    background: var(--brand-grad);
    color: #fff;
    border-color: transparent;
}

.roadmap-card h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    letter-spacing: 0px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}

.roadmap-card p {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.roadmap-baseline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(186, 87, 15, .18);
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
}

.roadmap-baseline-fill {
    position: absolute;
    inset: 0;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left center;
}

@media (max-width: 1100px) {
    .roadmap-card h5 {
        font-size: 15px;
    }

    .roadmap-zone {
        height: 230px;
    }
}

@media (max-width: 900px) {
    .roadmap-track {
        flex-direction: column;
        gap: 0;
        max-width: 480px;
        margin: 0 auto;
        padding-left: 6px;
    }

    .roadmap-baseline {
        top: 51%;
        bottom: 0;
        left: 17px;
        right: auto;
        width: 2px;
        height: 100%;
        background: rgb(186 87 15 / 53%);
    }
    .loc-tags span{
        width: 100%;
    }
    .roadmap{
        margin: 32px auto 0;
    }

    .roadmap-baseline-fill {
        transform: scaleY(0);
        transform-origin: top center;
    }

    /* Grid instead of flex here: column 1 is the dot (spanning
       both content rows so it centers between them), column 2
       stacks the year label above/below the card in one place —
       fixes the year floating off sideways in flex. */
    .roadmap-item {
        display: grid;
        grid-template-columns: 26px 1fr;
        column-gap: 20px;
        align-items: start;
        width: 100%;
        padding: 0 0 40px;
    }

    .roadmap-item:last-child {
        padding-bottom: 0;
    }

    .roadmap-zone {
        grid-column: 2;
        height: auto;
        width: auto;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .roadmap-item.up .roadmap-zone-top {
        grid-row: 2;
    }

    .roadmap-item.up .roadmap-zone-bottom {
        grid-row: 1;
    }

    .roadmap-item.down .roadmap-zone-top {
        grid-row: 1;
    }

    .roadmap-item.down .roadmap-zone-bottom {
        grid-row: 2;
    }

    .roadmap-dot {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        justify-self: center;
    }

    .roadmap-stem {
        display: none;
    }

    .roadmap-year {
        display: block;
        font-size: 22px;
        margin-bottom: 6px;
    }

    .roadmap-card {
        text-align: left;
        width: 100%;
    }
}