﻿.section-promo {
    display: flex;
    align-items: center;
    padding: var(--sp-xl) var(--container-padding);
    background-color: var(--c-surface);
    overflow: hidden;

    .promo-content {
        flex: 1;
        padding-right: var(--sp-xl);

        h2 {
            font-family: var(--f-mont);
            font-size: var(--size-4xl);
            color: var(--c-text-main);
            margin-bottom: var(--sp-md);
        }

        .desc-promo {
            font-size: var(--size-base);
            color: var(--c-text-muted);
            line-height: 1.6;
        }

        .btn-play {
            display: inline-flex;
            align-items: center;
            gap: var(--sp-sm);
            color: var(--c-primary);
            font-family: var(--f-mont);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: var(--sp-md);
            cursor: pointer;
            transition: color 0.3s;
            text-decoration: none;

            i {
                font-size: var(--size-2xl);
            }

            &:hover {
                color: var(--c-text-main);
                transform: translateX(5px);
            }
        }
    }

    .promo-visuals {
        flex: 1;
        position: relative;
        height: 600px;
        display: flex;

        div {
            background-size: cover;
            background-position: center;
            position: absolute;
            transition: transform 0.3s;
        }

        .img-main {
            top: 0;
            right: 0;
            width: 80%;
            height: 80%;
            z-index: 1;
            background-image: url('../img/home/4 Ways to Get to Greenland.jpeg');
        }

        .img-small-1 {
            bottom: 0;
            width: 50%;
            height: 50%;
            z-index: 2;
            background-image: url('../img/home/Royal Standard - Denmark.jpeg');
            background-repeat: no-repeat;
            background-position: center center;
            background-size: contain;
        }

        .img-small-2 {
            top: 20%;
            left: 10%;
            width: 20%;
            height: 20%;
            z-index: 0;
            opacity: 0.8;
            background-color: var(--c-primary);
        }
    }

    @media (max-width: 1024px) {
        flex-direction: column;

        .promo-content {
            padding-right: 0;
            margin-bottom: var(--sp-lg);
        }

        .promo-visuals {
            width: 100%;
            height: 400px;
        }
    }

    @media (max-width: 768px) {
        .promo-visuals {
            height: 300px;
        }
    }
}

.img-history-container {
    margin-top: var(--sp-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-bottom: var(--sp-xl);
}

.img-history {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;

    &:hover {
        transform: scale(1.02);
    }
}

.img-history-container~.text-intro .highlight {
    color: var(--c-primary);
}

.section-content.bg-dark>.text-intro .highlight {
    color: var(--c-primary);
}

.card-info.photo-card {
    padding: 0;
    overflow: hidden;
    background: var(--c-surface);
    text-align: left;
    align-items: flex-start;

    img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    &:hover img {
        transform: scale(1.1);
    }

    .content {
        padding: var(--sp-md);
    }

    h3 {
        color: var(--c-primary);
        margin-bottom: var(--sp-sm);
    }

    p {
        font-size: 0.95rem;
        color: var(--c-text-muted);
    }
}

@media (min-width: 1000px) {
    .img-history {
        height: 700px;
    }

    .card-info.photo-card img {
        height: 400px;
    }
}

.grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    grid-auto-flow: dense;
    gap: var(--sp-md);

    .item-masonry {
        border-radius: var(--radius-md);
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;

            &:hover {
                transform: scale(1.05);
            }
        }

        &.item-tall {
            grid-row: span 2;
        }
    }

    @media (max-width: 900px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

        .item-masonry.item-tall {
            grid-row: span 1;
        }
    }
}

.route-features-list {
    ul {
        list-style: none;
        margin-bottom: var(--sp-lg);
    }

    li {
        margin-bottom: var(--sp-sm);
        font-size: var(--size-lg);

        i {
            color: var(--c-primary);
            margin-right: var(--sp-sm);
        }
    }
}

.route-stops {
    list-style: none;
    margin: var(--sp-md) 0;

    li {
        padding: var(--sp-xs) 0;
        border-bottom: 1px solid var(--c-border);
        color: var(--c-text-muted);

        strong {
            color: var(--c-text-main);
        }
    }
}

.route-highlight {
    color: var(--c-primary);
    font-style: italic;
    margin-top: var(--sp-md);

    i {
        margin-right: var(--sp-xs);
    }
}

.faq-item {
    background: var(--c-surface);
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--c-primary);
    margin-bottom: var(--sp-md);

    h4 {
        color: var(--c-text-main);
        margin-bottom: var(--sp-xs);
        display: flex;
        align-items: center;
        gap: var(--sp-sm);

        i {
            color: var(--c-primary);
        }
    }

    p {
        color: var(--c-text-muted);
        font-size: var(--size-sm);
    }
}

.embassy-card {
    background: var(--c-primary);
    border: none;
    border-left: 4px solid var(--c-text-light);
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: left;

    h4 {
        color: var(--c-text-light);
        margin-bottom: var(--sp-sm);
        display: flex;
        align-items: center;
        gap: var(--sp-sm);
        font-size: var(--size-base);

        i {
            color: var(--c-text-light);
        }
    }

    p {
        color: rgba(255, 255, 255, 0.85);
        font-size: var(--size-sm);
        line-height: 1.6;
        margin: 0;
    }

    &:hover {
        transform: translateY(-5px);
    }
}

.resources-grid {
    gap: var(--sp-sm);
}

.mb-md {
    margin-bottom: var(--sp-md);
}

.bg-hq {
    background-image: url('../img/contact/headcorts.jpg');
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.gap-xl {
    gap: var(--sp-xl);
}

.gap-md {
    gap: var(--sp-md);
}

.text-intro-contact {
    margin-bottom: var(--sp-md);
    opacity: 0.8;
}

.card-hq {
    height: 450px;
}

.align-stretch {
    align-items: stretch;
}

.box-visa {
    text-align: center;
    margin-top: var(--sp-lg);
    padding: var(--sp-md);
    background: var(--c-primary);
    border-radius: var(--radius-md);

    p {
        color: var(--c-text-light);
        margin: 0;
    }
}

.box-newsletter {

    background: none;
    padding: var(--sp-xl);
    min-height: 350px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;

    &::before {
        display: none;
    }

    &.wrapper-form h3 {
        font-family: var(--f-mont);
        font-size: var(--size-2xl);
        color: var(--c-text-main);
        margin-bottom: var(--sp-sm);
        position: relative;
        z-index: 1;
    }

    p {
        color: var(--c-text-muted);
        margin-bottom: var(--sp-lg);
        font-size: var(--size-base);
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }
}

.newsletter-form {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
    z-index: 2;

    .input-wrapper {
        flex: 1;
        min-width: 120px;
        margin-bottom: 0;
    }
}

.newsletter-input {
    background: var(--c-surface);
    border: none;
    color: var(--c-text-main);
    padding: var(--sp-md);
    font-size: var(--size-base);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 100%;

    &:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    &::placeholder {
        color: var(--c-text-muted);
    }
}

.wrapper-form {
    background: var(--c-surface);
    padding: var(--sp-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

    h3 {
        font-family: var(--f-mont);
        font-size: var(--size-2xl);
        color: var(--c-text-main);
        margin-bottom: var(--sp-sm);
    }
}

.form-contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.group-input {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);

    label {
        font-family: var(--f-mont);
        font-weight: 600;
        font-size: var(--size-sm);
        color: var(--c-text-main);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

.input-wrapper {
    position: relative;

    input,
    select,
    textarea {
        width: 100%;
        padding: var(--sp-md);
        padding-right: calc(var(--sp-md) + 24px);
        font-family: var(--f-mont);
        font-size: var(--size-base);
        background: var(--c-input-bg);
        border: 2px solid transparent;
        border-radius: var(--radius-md);
        color: var(--c-text-main);
        transition: all 0.3s ease;

        &:focus {
            outline: none;
            border-color: var(--c-primary);
            background: var(--c-surface);
        }

        &::placeholder {
            color: var(--c-text-muted);
        }
    }

    select {
        cursor: pointer;
        appearance: none;
    }

    textarea {
        min-height: 140px;
        resize: vertical;
    }

    i {
        position: absolute;
        right: var(--sp-md);
        top: 50%;
        transform: translateY(-50%);
        color: var(--c-text-muted);
        pointer-events: none;
        transition: color 0.3s;
    }

    &:focus-within i {
        color: var(--c-primary);
    }
}

.form-contact button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    padding: var(--sp-md) var(--sp-xl);
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-hover));
    color: var(--c-text-light);
    font-family: var(--f-mont);
    font-weight: 700;
    font-size: var(--size-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-3px);
    }

    i {
        font-size: var(--size-lg);
    }
}

.info-travel {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

/* Fix grid width for contact info blocks */
.info-travel .container-grid {
    grid-template-columns: 1fr 1fr;
    margin: 0;
}

@media (max-width: 480px) {
    .info-travel .container-grid {
        grid-template-columns: 1fr;
    }
}

.block-info {
    background: var(--c-surface);
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--c-primary);
    transition: transform 0.3s ease;

    &:hover {
        transform: translateX(5px);
    }

    h4 {
        font-family: var(--f-mont);
        font-weight: 700;
        font-size: var(--size-base);
        color: var(--c-text-main);
        margin-bottom: var(--sp-xs);
        display: flex;
        align-items: center;
        gap: var(--sp-sm);

        i {
            color: var(--c-primary);
        }
    }

    p {
        font-size: var(--size-sm);
        color: var(--c-text-muted);
        line-height: 1.6;
        margin: 0;
    }
}

.header-section-center {
    text-align: center;
    color: var(--c-text-muted);
    max-width: 100%;
    margin: calc(var(--sp-lg) * -1) auto var(--sp-xl);
    font-size: var(--size-lg);
}




.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--sp-lg);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}




.card-route {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);

        .card-media img {
            transform: scale(1.05);
        }
    }

    .card-media {
        position: relative;
        height: 240px;
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .badge-overlay {
            position: absolute;
            top: 12px;
            left: 12px;
            background: linear-gradient(135deg, var(--c-primary), #0a4840);
            padding: 6px 12px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            z-index: 10;

            i {
                color: white;
                font-size: 14px;
            }

            span {
                color: white;
                font-size: 10px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.05em;
            }
        }
    }

    .card-content {
        padding: var(--sp-md);
        flex: 1;
        display: flex;
        flex-direction: column;

        .card-header {
            margin-bottom: var(--sp-md);

            h3 {
                font-family: var(--f-mont);
                font-size: 1.25rem;
                font-weight: 700;
                color: var(--c-text-main);
                margin-bottom: 4px;
            }

            .card-meta {
                font-size: 0.875rem;
                color: var(--c-text-muted);
            }
        }

        .route-short-desc {
            color: var(--c-text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            margin: var(--sp-md) 0;

            strong {
                color: var(--c-text-main);
                font-weight: 600;
            }
        }

        .btn-details {
            margin-top: auto;
            width: 100%;
            padding: 10px;
            background: var(--c-accent);
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: var(--radius-md);
            text-align: center;
            transition: background 0.3s ease, transform 0.1s ease;
            box-shadow: 0 4px 10px rgba(208, 14, 37, 0.15);
            border: none;
            cursor: pointer;
            display: block;
            text-decoration: none;

            &:hover {
                background: var(--c-accent-hover);
                color: white;
            }

            &:active {
                transform: scale(0.98);
            }
        }
    }

    /* Contrast Fix within Nested Block */
    .section-content.bg-dark & {
        h3 {
            color: var(--c-text-main);
        }

        .route-short-desc {
            color: var(--c-text-muted);
        }

        strong {
            color: var(--c-text-main);
        }
    }
}



@media (min-width: 1024px) {
    .beyond-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card-expedition {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card-expedition:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .card-expedition {
        flex-direction: row;
    }

    .card-expedition {
        flex-direction: row;
        height: 100%;
    }
}

.expedition-media {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .expedition-media {
        width: 50%;
        height: auto;
    }
}

.expedition-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card-expedition:hover .expedition-media img {
    transform: scale(1.05);
}


.badge-expedition {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--c-primary), #0a4840);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.expedition-title-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: block;
}

@media (min-width: 768px) {
    .expedition-title-overlay {
        display: none;
    }
}

.expedition-content {
    padding: var(--sp-lg);
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 768px) {
    .expedition-content {
        width: 50%;
    }
}

.expedition-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: none;
}

@media (min-width: 768px) {
    .expedition-header h3 {
        display: block;
    }
}

.expedition-intro {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-md);
}


.itinerary-list {
    position: relative;
    padding-left: 1px;
    margin-top: auto;
}

.itinerary-line-vertical {
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 20px;
    width: 1px;
    background: var(--c-input-bg);
}

.itinerary-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.dot-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--c-primary);
    border: 3px solid var(--c-surface);
    z-index: 2;
    flex-shrink: 0;
}

.dot-indicator.secondary {
    width: 10px;
    height: 10px;
    background: #e5e7eb;
    margin-left: 2px;
}

.itinerary-text-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 8px;
}

.itinerary-item.simple .itinerary-text-group {
    background: transparent;
    padding: 0;
}

.day-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-text-muted);
    width: 40px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.day-desc {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-main);
}



.hero-route-detail {
    height: 70vh;
    min-height: 500px;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-route-detail img.bg-hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-route-detail .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 60%, transparent);
}

.hero-route-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--sp-lg) var(--container-padding) calc(var(--sp-xl) + 20px);
    max-width: 1400px;
    margin: 0 auto;
    right: 0;
}

.hero-badges {
    display: flex;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
    flex-wrap: wrap;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
}


.route-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    max-width: 1280px;
    margin: var(--sp-xl) auto;
    padding: 0 var(--container-padding);
}

@media(min-width: 1024px) {
    .route-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
}


.timeline-detail {
    position: relative;
    padding-left: 0;
    margin-top: var(--sp-md);
}

.timeline-detail-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 60px;
}

@media(min-width: 768px) {
    .timeline-detail-item {
        padding-left: 80px;
    }
}

.timeline-detail-line {
    position: absolute;
    left: 19px;
    top: 50px;
    bottom: -50px;
    width: 2px;
    background: #e5e7eb;
}

@media(min-width: 768px) {
    .timeline-detail-line {
        left: 24px;
    }
}

.timeline-detail-item:last-child .timeline-detail-line {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--c-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 2;
    border: 4px solid var(--c-surface);
}

@media(min-width: 768px) {
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.timeline-detail-content h2 {
    font-family: var(--f-mont);
    font-size: 1.5rem;
    margin-bottom: var(--sp-sm);
    color: var(--c-text-main);
}

.timeline-detail-content p {
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.timeline-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media(min-width: 600px) {
    .timeline-images {
        grid-template-columns: 1fr 1fr;
    }
}

.timeline-images img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-images img:hover {
    transform: scale(1.05);
}


.sidebar-sticky {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.box-sidebar {
    background: var(--c-surface);
    padding: var(--sp-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.box-sidebar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--sp-md);
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: var(--sp-sm);
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--c-text-main);
}

.included-list i {
    color: var(--c-primary);
    margin-top: 3px;
}

.price-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--sp-md);
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-text-main);
    line-height: 1;
}

.price-label {
    font-size: 0.75rem;
    color: var(--c-text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--c-accent);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--c-accent-hover);
    transform: translateY(-2px);
}


body.expedition-mode {
    background-color: #121212;
    color: white;
}

body.expedition-mode .card-route,
body.expedition-mode .box-sidebar,
body.expedition-mode .timeline-marker {
    background-color: #1e1e1e;
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

body.expedition-mode .timeline-marker {
    border-color: #1e1e1e;
}

body.expedition-mode .timeline-detail-content h2,
body.expedition-mode .price-tag,
body.expedition-mode .included-list li,
body.expedition-mode .box-sidebar h3 {
    color: white;
}

body.expedition-mode .timeline-detail-content p,
body.expedition-mode .hero-badge-item,
body.expedition-mode .price-label,
body.expedition-mode .included-list i,
body.expedition-mode .sidebar-tip {
    color: #a0a0a0;
}

body.expedition-mode .timeline-detail-line {
    background: rgba(255, 255, 255, 0.1);
}

body.expedition-mode .box-sidebar {
    border-color: rgba(255, 255, 255, 0.1);
}

body.expedition-mode .box-sidebar h3 {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Expedition mode - footer overrides for dark theme pages */
body.expedition-mode footer {
    background-color: #0a0a0a;
}

body.expedition-mode .social-bar {
    background-color: #1e1e1e;
}

body.expedition-mode .social-bar span {
    color: white;
}

body.expedition-mode .grid-footer {
    color: white;
}

body.expedition-mode .grid-footer h4 {
    color: white;
}

body.expedition-mode .grid-footer a {
    color: #a0a0a0;
}

body.expedition-mode .grid-footer a:hover {
    color: var(--c-accent);
}

body.expedition-mode .copyright {
    color: #666;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 1;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-link:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateX(-5px);
}

/* Routes Grid - Container Queries for 2 cols max */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default 2 columns as requested */
    gap: var(--sp-lg);
    width: 100%;
    margin-bottom: var(--sp-xl);
    container-type: inline-size;
    container-name: routes;
}

/* Responsive behavior via Container Queries */
@container routes (max-width: 900px) {
    .routes-grid {
        grid-template-columns: 1fr;
        /* 1 column if space is tight */
    }
}


.card-route .itinerary-list {
    margin-top: var(--sp-md);
    position: relative;
    /* Fixes vertical line positioning */
}

.card-route .itinerary-item {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-sm);
    position: relative;
    z-index: 1;
}

.card-route .itinerary-line-vertical {
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: 20px;
    width: 2px;
    background: var(--c-border);
    z-index: 0;
}

.card-route .dot-indicator {
    width: 14px;
    height: 14px;
    background: var(--c-primary);
    border-radius: 50%;
    border: 2px solid white;
    flex-shrink: 0;
    z-index: 1;
}

.card-route .dot-indicator.secondary {
    background: var(--c-accent);
}

.card-route .itinerary-text-group {
    display: flex;
    flex-direction: column;
}

.card-route .day-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-text-muted);
    text-transform: uppercase;
}

.card-route .day-desc {
    font-family: var(--f-mont);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-text-main);
}


.grid-beyond {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
    margin-bottom: var(--sp-xl);

    h3 {
        font-size: var(--size-2xl);
        margin-bottom: var(--sp-md);
        display: flex;
        align-items: center;
        gap: var(--sp-sm);

        i {
            color: var(--c-primary);
        }
    }
}

.beyond-highlights {
    list-style: none;
    margin: var(--sp-md) 0 var(--sp-lg);

    li {
        margin-bottom: var(--sp-sm);
        display: flex;
        gap: var(--sp-sm);
        color: var(--c-text-muted);

        i {
            color: var(--c-primary);
            width: 20px;
        }
    }
}

.masonry-beyond {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: var(--sp-sm);

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-md);

        &:first-child {
            grid-column: span 2;
            grid-row: span 1;
        }
    }
}

@media (max-width: 900px) {
    .grid-beyond {
        grid-template-columns: 1fr;
    }

    .grid-beyond-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}


.mt-sm {
    margin-top: 10px;
}

.text-constraint {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}


.meta-route-tag {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.hero-route-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 10px;
}

.sidebar-tip {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    margin-top: 15px;
    line-height: 1.6;
}


.theme-dark-override .logo img {
    filter: brightness(0) invert(1);
}

.theme-dark-override .nav-items a {
    color: white;
}

.theme-dark-override .menu-icon {
    filter: invert(1);
}

.theme-dark-override .section-content,
.theme-dark-override footer {
    background-color: var(--c-surface-dark);
    color: #aaa;
}


.theme-dark-override .grid-footer h4 {
    color: white;
}

.theme-dark-override .grid-footer p,
.theme-dark-override .grid-footer a,
.theme-dark-override .copyright {
    color: #aaa;
}

.theme-dark-override .copyright {
    border-color: rgba(255, 255, 255, 0.1);
}