/* A la Carte Travel visual rules: shared CTA, navigation and interaction states. */
:root {
    --teal-color: var(--tuquesa-color);
    --neutral-color: #8a8176;
    --neutral-border-color: #d8d2c8;
    --carousel-gray: #c9c9c9;
}

/* Editorial text links stay brown; interaction is expressed by the underline and arrow movement. */
.text-link,
.btn,
.text-link:hover,
.text-link:focus-visible,
.btn:hover,
.btn:focus-visible {
    color: var(--brown-color);
}

.text-link:focus-visible::before,
.btn:focus-visible::before {
    transform: scaleX(1);
}

/* CTAs over photography: light text and border in the neutral state, darken only the CTA on interaction. */
.experiences-button,
.design-outline-button {
    border-color: rgba(247, 244, 239, 0.72);
    background: transparent;
    color: #f7f4ef;
}

.experiences-button:hover,
.experiences-button:focus-visible,
.design-outline-button:hover,
.design-outline-button:focus-visible {
    border-color: rgba(247, 244, 239, 0.72);
    background: rgba(43, 43, 43, 0.34);
    color: #f7f4ef;
}

/* Box CTAs without a photograph use light gray normally and teal only when active. */
.experience-enquire-button {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--neutral-color);
}

.experience-enquire-button:hover,
.experience-enquire-button:focus-visible {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--teal-color);
}

.experience-detail-page.featured-journey-detail-page .experience-journey-hero__copy > .experience-enquire-button {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--neutral-color);
}

.experience-detail-page.featured-journey-detail-page .experience-journey-hero__copy > .experience-enquire-button:hover,
.experience-detail-page.featured-journey-detail-page .experience-journey-hero__copy > .experience-enquire-button:focus-visible {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--teal-color);
}

/* Home card titles use dark gray normally and teal while their card is active. */
.editorial-card-title,
.editorial-card-title:hover,
.editorial-card-title:focus-visible {
    text-decoration: none;
}

.intro-manifesto .card h3,
#essence .card h3,
#partners .card h3,
#destinations .swiper-slide .destination-name,
#experiences .swiper-slide p,
.experience-card__link h3,
.experience-other__card h3,
.editorial-card-title {
    color: var(--main-color);
    transition: color 200ms ease;
}

.intro-manifesto .card:hover h3,
#essence .card:hover h3,
#partners .card:hover h3,
#destinations .swiper-slide:hover .destination-name,
#experiences .swiper-slide:hover p,
#experiences .swiper-slide:focus-within p,
.experience-card__link:hover h3,
.experience-card__link:focus-visible h3,
.experience-other__card:hover h3,
.experience-other__card:focus-visible h3,
.editorial-card-title:hover,
.editorial-card-title:focus-visible {
    color: var(--main-color);
    font-weight: 700;
}
.journal-card--featured .editorial-card-title:hover,
.journal-card--featured .editorial-card-title:focus-visible {
    color: black;
    font-weight: 700;
}

.intro-manifesto .card:hover h3,
.intro-manifesto .card:focus-within h3,
#essence .card:hover h3,
#essence .card:focus-within h3 {
    color: var(--brown-color);
}

#experiences .swiper-slide:hover p,
#experiences .swiper-slide:focus-within p,
#experiences .experience-card__link:hover p,
#experiences .experience-card__link:focus-visible p {
    color: var(--teal-color);
}

/* Carousel controls are secondary navigation: gray when inactive, brown when selected, never teal. */
.swiper-button-next,
.swiper-button-prev,
.swiper-button-next:hover,
.swiper-button-prev:hover,
.swiper-button-next:focus-visible,
.swiper-button-prev:focus-visible {
    color: var(--neutral-color);
}

.swiper-pagination-bullet,
.experience-pagination .swiper-pagination-bullet.bullet-inactive,
.dest-bullets .dest-bullet,
.testimonial-pagination .tp-bullet {
    background: var(--carousel-gray);
    opacity: 1;
}

.swiper-pagination-bullet-active,
.experience-pagination .swiper-pagination-bullet-active,
.dest-bullets .dest-bullet.active,
.testimonial-pagination .tp-bullet.tp-active {
    background: var(--brown-color);
    opacity: 1;
}

/* Sticky section menus remain readable over photography and preserve the active section. */
.experiences-subnav,
.design-subnav {
    background: var(--white-color);
}

.experiences-subnav.is-sticky,
.design-subnav.is-sticky {
    background: var(--cream-color);
}

.experiences-subnav a,
.design-subnav a {
    color: var(--brown-color);
    text-decoration: none;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.experiences-subnav a:hover,
.experiences-subnav a:focus-visible,
.experiences-subnav a.is-active,
.experiences-subnav a[aria-current],
.design-subnav a:hover,
.design-subnav a:focus-visible,
.design-subnav a.is-active {
    background: transparent;
    color: var(--teal-color);
    text-decoration: underline;
}

/* Header Enquire follows the no-photo CTA rule once the header sits on a light surface. */
.bgWhite .query,
header[data-header-solid] .query,
body:has(.experience-detail-page) header .query {
    border-color: var(--neutral-border-color);
    color: var(--neutral-color);
}

.bgWhite .query:hover,
.bgWhite .query:focus-visible,
header[data-header-solid] .query:hover,
header[data-header-solid] .query:focus-visible,
body:has(.experience-detail-page) header .query:hover,
body:has(.experience-detail-page) header .query:focus-visible {
    border-color: var(--neutral-border-color);
    color: var(--teal-color);
}

header.menu-mobile .overlay .query {
    border-color: var(--neutral-border-color);
    color: var(--neutral-color) !important;
}

header.menu-mobile .overlay .query:hover,
header.menu-mobile .overlay .query:focus-visible {
    color: var(--teal-color) !important;
}

/* Footer controls and links use gray in the neutral state and brown on hover. */
.footer-form button {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--neutral-color);
}

.footer-form button:hover,
.footer-form button:focus-visible {
    border-color: var(--neutral-border-color);
    background: transparent;
    color: var(--teal-color);
}

.footer-contact a,
.footer-eu a,
.footer-legal a,
.footer-legal span {
    color: var(--neutral-color);
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-eu a:hover,
.footer-eu a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--brown-color);
}

.destinations-page {
    overflow: hidden;
    background: #fff;
}

.destinations-page__inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.destinations-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #f5f1e8;
}

.destinations-hero__image,
.destinations-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.destinations-hero__image {
    display: block;
    object-fit: cover;
    object-position: center;
}

.destinations-hero__shade {
    pointer-events: none;
}

.destinations-hero__shade--side {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.098) 35%, rgba(0, 0, 0, 0.042) 65%, rgba(0, 0, 0, 0) 100%);
}

.destinations-hero__shade--top {
    height: 154px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);
}

.destinations-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
}

.destinations-hero__content {
    position: absolute;
    top: 177px;
    left: 80px;
    display: flex;
    width: 865px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.destinations-hero h1 {
    margin: 0;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    font-family: "Playfair-Display";
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.destinations-hero p {
    width: 600px;
    margin: 0;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.destinations-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247, 244, 239, 0.82);
    border-radius: 8px;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    background: transparent;
    text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease;
}

.destinations-button {
    padding: 8px 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
}

.destinations-button:hover,
.destinations-button:focus-visible {
    border-color: rgba(247, 244, 239, 0.9);
    background: rgba(43, 43, 43, 0.3);
}

.destinations-intro {
    padding: 100px 0;
    background: #fff;
}

.destinations-explore {
    padding: 0 0 90px;
    background: #fff;
}

.destinations-copy--intro,
.destinations-copy--explore,
.destinations-taste__content,
.destinations-copy--experiences {
    padding-left: 80px;
}

.destinations-copy--intro {
    max-width: 930px;
}

.destinations-copy--intro h2 {
    max-width: 850px;
    margin: 0 0 40px;
    color: var(--brown-color);
    font-family: "Playfair-Display";
    font-size: 48px;
    font-weight: 500;
    line-height: 1.15;
}

.destinations-copy__body {
    color: var(--main-color);
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
}

.destinations-copy__body p {
    margin: 0;
    line-height: inherit;
}

.destinations-copy__body p + p {
    margin-top: 28px;
}

.destinations-copy--explore h2 {
    margin: 0 0 40px;
    color: var(--brown-color);
    font-family: "Playfair-Display";
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
}

.destinations-copy--explore p,
.destinations-copy--experiences > p {
    margin: 0;
    color: var(--main-color);
    font-size: 18px;
    line-height: 1.7;
}

.destinations-map {
    width: 100%;
    background: #fef9f6;
    padding-bottom: 0;
}

.destinations-map__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1728 / 700;
    overflow: hidden;
}

.destinations-map__stage img {
    position: absolute;
    top: -27.22%;
    left: -0.47%;
    display: block;
    width: 100.94%;
    height: 140.13%;
    max-width: none;
}

.destinations-map__mobile {
    display: none;
}

.destinations-map__labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 79.49%;
    z-index: 1;
    pointer-events: none;
}

.destinations-map__label {
    position: absolute;
    display: block;
    width: max-content;
    max-width: 110px;
    color: var(--brown-color);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.08;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, 0.22);
    transform: translate(-50%, -50%);
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.destinations-map__label span {
    display: block;
    color: inherit;
}

.destinations-map__label:hover,
.destinations-map__label:focus-visible {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.destinations-map__label:focus-visible {
    outline: 2px solid var(--brown-color);
    outline-offset: 4px;
}

.destinations-map__label--slovenia {
    left: 33.61%;
    top: 27.22%;
}

.destinations-map__label--croatia {
    left: 41.44%;
    top: 32.87%;
}

.destinations-map__label--bosnia {
    left: 47.51%;
    top: 53.73%;
    max-width: 120px;
}

.destinations-map__label--serbia {
    left: 59.31%;
    top: 52.15%;
}

.destinations-map__label--montenegro {
    left: 53.76%;
    top: 71.21%;
}

.destinations-map__label--north-macedonia {
    left: 64.14%;
    top: 88.29%;
    max-width: 120px;
}

.destinations-map__label--albania {
    left: 57.92%;
    top: 103.26%;
}

.destinations-taste {
    padding: 120px 0;
    background: #fff;
}

.destinations-taste__content {
    max-width: 1200px;
}

.destinations-taste__layout {
    display: grid;
    width: min(893px, 100%);
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 60px;
    align-items: center;
}

.destinations-taste__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 42px;
}

.destinations-taste h2 {
    margin: 0;
    color: var(--secondary, #331c0f);
    font-family: "Playfair-Display";
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
}

.destinations-taste__layout img {
    display: block;
    width: 360px;
    height: auto;
    object-fit: contain;
}

.destinations-experiences {
    padding: 120px 0;
    background: #f7f4ef;
}

.destinations-copy--experiences {
    max-width: 760px;
    margin-bottom: 80px;
}

.destinations-copy--experiences h2 {
    margin: 0 0 40px;
    color: var(--secondary, #331c0f);
    font-family: "Playfair-Display";
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
}

.destinations-cta {
    position: relative;
    height: 455px;
    overflow: hidden;
    color: #f5f1e8;
}

.destinations-cta__image,
.destinations-cta__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.destinations-cta__image {
    display: block;
    object-fit: cover;
    object-position: center;
}

.destinations-cta__shade {
    background: rgba(47, 36, 29, 0.5);
}

.destinations-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
}

.destinations-cta__copy {
    display: flex;
    width: min(680px, 100%);
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.destinations-cta h2 {
    margin: 0;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    font-family: "Playfair-Display";
    font-size: 42px;
    font-weight: 400;
    line-height: normal;
}

.destinations-cta p {
    max-width: 680px;
    margin: 0;
    color: #ede7dd !important;
    -webkit-text-fill-color: #ede7dd;
    font-size: 18px;
    line-height: 24px;
}

.destinations-cta__button {
    margin-top: 0;
}

@media (max-width: 991px) {
    .destinations-hero__content {
        left: 24px;
        width: calc(100% - 48px);
    }

    .destinations-copy--intro,
    .destinations-copy--explore,
    .destinations-taste__content,
    .destinations-copy--experiences {
        padding-left: 0;
    }

    .destinations-taste__layout {
        width: 100%;
    }

}

@media (max-width: 767px) {
    .destinations-page__inner,
    .destinations-hero__inner,
    .destinations-cta__inner {
        width: calc(100% - 48px);
    }

    .destinations-hero {
        height: 500px;
    }

    .destinations-hero__image {
        object-position: 56% center;
    }

    .destinations-hero__content {
        top: 151px;
        left: 0;
        width: 100%;
        gap: 18px;
    }

    .destinations-hero h1 {
        font-size: clamp(48px, 13vw, 62px);
        line-height: 1.1;
    }

    .destinations-hero p {
        width: min(320px, 100%);
        font-size: 17px;
        line-height: 1.6;
    }

    .destinations-intro {
        padding: 76px 0 72px;
    }

    .destinations-explore {
        padding: 0 0 40px;
    }

    .destinations-copy--intro h2 {
        margin-bottom: 28px;
        font-size: 32px;
        line-height: 1.2;
    }

    .destinations-copy__body,
    .destinations-copy--explore p,
    .destinations-copy--experiences > p {
        font-size: 15px;
        line-height: 24px;
    }

    .destinations-copy__body p + p {
        margin-top: 24px;
    }

    .destinations-copy--explore h2 {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .destinations-map__stage {
        aspect-ratio: 1.35;
    }

    .destinations-map__stage {
        display: none;
    }

    .destinations-map__mobile {
        display: block;
    }

    .destinations-mobile-carousel {
        width: 100%;
        overflow: hidden;
    }

    .destinations-mobile-country {
        display: flex;
        min-height: 478px;
        padding: 42px 24px 56px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .destinations-mobile-country__map {
        display: flex;
        width: min(310px, 100%);
        height: 260px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .destinations-mobile-country__map img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .destinations-mobile-country__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .destinations-mobile-country h3 {
        margin: 0;
        color: var(--brown-color);
        font-family: "Playfair-Display";
        font-size: 30px;
        font-weight: 400;
        line-height: 1.2;
    }

    .destinations-mobile-country__cta {
        font-size: 15px;
    }

    .destinations-mobile-carousel__pagination {
        position: static;
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 0 0 36px;
    }

    .destinations-mobile-carousel__pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0;
    }

    .destinations-map__label {
        max-width: 78px;
        font-size: 10px;
    }

    .destinations-map__label--bosnia,
    .destinations-map__label--north-macedonia {
        max-width: 72px;
    }

    .destinations-taste,
    .destinations-experiences {
        padding: 88px 0;
    }

    .destinations-taste h2 {
        margin-bottom: 0;
        font-size: 30px;
        line-height: 1.25;
    }

    .destinations-copy--experiences h2 {
        margin-bottom: 30px;
        font-size: 30px;
        line-height: 1.25;
    }

    .destinations-taste__layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }

    .destinations-taste__copy {
        gap: 30px;
    }

    .destinations-taste__layout img {
        width: min(360px, 100%);
        height: auto;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    .destinations-copy--experiences {
        margin-bottom: 48px;
    }

    .destinations-cta {
        height: 480px;
    }

    .destinations-cta__image {
        object-position: center;
    }

    .destinations-cta__copy {
        gap: 16px;
    }

    .destinations-cta h2 {
        font-size: 34px;
    }

    .destinations-cta p {
        font-size: 16px;
        line-height: 1.5;
    }

}

@media (prefers-reduced-motion: reduce) {
    .experience-card img,
    .destinations-button,
    .destinations-cta__button {
        transition: none;
    }
}
