/* =========================================
   TOURISM PACKAGES
========================================= */

.tourism-section {
    padding: 54px 0 90px;
    background: #f6f5f1;
    margin-top: 50px;
}

.tourism-container {
    max-width: 1140px;
}

/* Back link */

.tourism-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #5a6b70;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tourism-back:hover {
    color: #003e50;
}

.tourism-back span {
    font-size: 16px;
    line-height: 1;
}

/* Heading */

.tourism-heading {
    max-width: 620px;
}

.tourism-heading h1 {
    margin: 0 0 16px;
    color: var(--navy, #0a2b4a);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -1.4px;
}

.tourism-heading p {
    margin: 0;
    color: #5c6b70;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.tourism-divider {
    margin: 34px 0 44px;
    border: 0;
    border-top: 1px solid rgba(10, 43, 74, 0.12);
}

/* Grid */

.tourism-grid {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 28px;
}

/* Card */

.tourism-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 24px;
    border: 1px solid #e7e5dd;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(20, 58, 65, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tourism-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(20, 58, 65, 0.1);
}

.tourism-card-badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 5px 14px;
    border: 1px solid rgba(10, 43, 74, 0.18);
    border-radius: 999px;
    color: #0a2b4a;
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.tourism-card-image {
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16 / 11;
    background: #eef2f1;
}

.tourism-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourism-card-title {
    margin: 0 0 8px;
    color: #0a2b4a;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
}

.tourism-card-meta {
    margin: 0 0 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.tourism-card-duration {
    color: #7b8a8e;
    font-weight: 500;
}

.tourism-card-dot {
    margin: 0 8px;
    color: #b7c1c2;
}

.tourism-card-price {
    color: #0a2b4a;
    font-weight: 700;
}

.tourism-card-summary {
    margin: 0 0 22px;
    color: #5c6b70;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.tourism-card-link {
    margin-top: auto;
    align-self: flex-start;
    color: #0a2b4a;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.tourism-card-link:hover {
    color: #12a19a;
}

.tourism-empty {
    margin: 0;
    color: #5c6b70;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
}

/* Detail page */

.tourism-detail .tourism-heading {
    max-width: 760px;
}

.tourism-detail .tourism-heading .tourism-card-badge {
    margin-bottom: 18px;
}

.tourism-detail-image {
    display: block;
    width: 100%;
    max-height: 460px;
    margin-bottom: 30px;
    object-fit: cover;
    border-radius: 16px;
}

.tourism-detail-content {
    max-width: 820px;
    color: #3a4d52;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.tourism-detail-content p {
    margin: 0 0 18px;
}

.tourism-detail-cta {
    margin-top: 34px;
}

/* =========================================
   HOME: TOURISM PACKAGES SLIDER
========================================= */

.tourism-home {
    padding: 0 0 20px;
    background: #f6f5f1;
    overflow: hidden;
}

.tourism-home-container {
    max-width: 1132px;
}

.tourism-home-heading-wrap {
    padding: 70px 0 34px;
}

.tourism-home-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
}

.tourism-home-heading-text {
    max-width: 680px;
}

.tourism-home-heading h2 {
    margin: 0 0 14px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.tourism-home-heading p {
    margin: 0;
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.tourism-home-view-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-bottom: 4px;
    padding: 0 34px;
    border-radius: 999px;
    background: var(--web-blue, #1b4b91);
    color: var(--web-white, #ffffff);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tourism-home-view-all:hover {
    color: var(--web-white, #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(27, 75, 145, 0.24);
}

/* Marquee */

.tourism-marquee {
    position: relative;
    padding: 14px 0 40px;
    overflow: hidden;
}

.tourism-marquee-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    animation: tourism-marquee-scroll var(--marquee-duration, 46s) linear infinite;
}

.tourism-marquee:hover .tourism-marquee-track,
.tourism-marquee:focus-within .tourism-marquee-track {
    animation-play-state: paused;
}

.tourism-slide {
    flex: 0 0 358px;
    max-width: 82vw;
    margin-right: 26px;
    display: flex;
}

.tourism-slide .tourism-card {
    width: 100%;
}

@keyframes tourism-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tourism-marquee {
        overflow-x: auto;
    }

    .tourism-marquee-track {
        animation: none;
    }
}

/* Responsive */

@media (max-width: 1199.98px) {
    .tourism-container {
        max-width: 960px;
    }

    .tourism-heading h1 {
        font-size: 50px;
    }

    .tourism-home-container {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    .tourism-container {
        max-width: 720px;
    }

    .tourism-heading h1 {
        font-size: 44px;
    }

    .tourism-home-container {
        max-width: 720px;
    }

    .tourism-home-heading-wrap {
        padding: 56px 0 28px;
    }

    .tourism-home-heading h2 {
        font-size: 34px;
    }
}

@media (max-width: 575.98px) {
    .tourism-section {
        padding: 40px 0 64px;
    }

    .tourism-container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .tourism-heading h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .tourism-heading p {
        font-size: 15.5px;
    }

    .tourism-divider {
        margin: 26px 0 32px;
    }

    .tourism-home-container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .tourism-home-heading h2 {
        font-size: 30px;
    }

    .tourism-slide {
        flex-basis: 290px;
        margin-right: 16px;
    }
}
