/* =====================================================================
   Destinations page styles — .dest- prefix scoped throughout
   ===================================================================== */

/* ---------- Shared eyebrow + section titles ---------- */
.dest-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}
.dest-section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}
.dest-section-sub {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 2rem;
}

/* ---------- Header block (sits under the small hero) ---------- */
.dest-header {
    padding: 3.5rem 1.25rem 1rem;
    background: var(--white);
    text-align: center;
}
.dest-header_inner { max-width: 820px; margin: 0 auto; }
.dest-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
}
.dest-sub {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================================
   Map section
   ============================================================ */
.dest-map-section {
    padding: 3rem 1.25rem 2rem;
    background: var(--white);
    text-align: center;
}
.dest-map-section_inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.dest-map {
    width: 100%;
    height: clamp(280px, 50vw, 460px);
    border-radius: 8px;
    overflow: hidden;
    background: var(--extra-light);
    box-shadow: 0 14px 38px rgba(10, 34, 64, 0.12);
    border: 1px solid rgba(196, 156, 116, 0.18);
    margin-top: 1.25rem;
}

/* ============================================================
   Destinations carousel
   ============================================================ */
.dest-carousel-section {
    padding: 4rem 1.25rem;
    background: var(--cream-light, #f9f7f4);
    text-align: center;
}
.dest-carousel_inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---- Category filter chips ---- */
.dest-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 1.5rem 0 2.5rem;
}
.dest-cat-chip {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    padding: 0.6rem 1.4rem;
    font-family: 'roasterregular', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease,
                border-color 0.3s ease, transform 0.2s ease,
                box-shadow 0.3s ease;
}
.dest-cat-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}
.dest-cat-chip.is-active {
    background: var(--primary-color);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(196, 156, 116, 0.32);
}

/* ---- Stacked category panels — only one shown at a time ---- */
.dest-cat-stack {
    position: relative;
    text-align: left;
}
.dest-cat-panel {
    opacity: 0;
    transition: opacity 0.45s ease;
}
.dest-cat-panel[hidden] { display: block !important; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }
.dest-cat-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    height: auto;
}

/* ---- Slides container — slides are layered, only active is visible ---- */
.dest-slides {
    position: relative;
    min-height: 360px;
}

.dest-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.dest-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

@media (min-width: 760px) {
    .dest-slide {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 2.5rem;
    }
}

.dest-slide_media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--extra-light);
    box-shadow: 0 18px 44px rgba(10, 34, 64, 0.12);
    position: relative;
}
.dest-img-stack {
    position: relative;
    width: 100%;
    height: 100%;
}
.dest-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: block !important;
}
.dest-img.is-active { opacity: 1; }
.dest-img-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(45deg, #ececec, #ececec 12px, #e1e1e1 12px, #e1e1e1 24px);
    color: var(--text-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.dest-slide_body {
    color: var(--text-dark);
}
.dest-slide_label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.55rem;
}
.dest-slide_title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.dest-slide_desc {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1rem;
}
.dest-slide_desc p { margin-bottom: 0.6rem; }

/* ---- Tabs (Distance / Walk / Drive) ---- */
.dest-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin: 2rem 0 1.5rem;
    padding: 1.1rem 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(10, 34, 64, 0.05);
}
.dest-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    padding: 0.5rem 0.5rem 0.4rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.dest-tab:last-child { border-right: none; }
.dest-tab i { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 0.25rem; }
.dest-tab_label {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-light);
}
.dest-tab_value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .dest-tab { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.06); padding-bottom: 0.65rem; }
    .dest-tab:last-child { border-bottom: none; }
}

/* ---- Nav row (centered below) ---- */
.dest-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.dest-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.dest-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.06);
}

.dest-pagination {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}
.dest-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(10, 34, 64, 0.2);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
    padding: 0;
}
.dest-dot.is-active {
    background: var(--primary-color);
    width: 26px;
    border-radius: 999px;
}

/* ============================================================
   Festivals carousel
   ============================================================ */
.dest-festivals {
    padding: 4.5rem 1.25rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream-light, #f9f7f4) 100%);
    text-align: center;
}
.dest-festivals_inner { max-width: 920px; margin: 0 auto; }

.dest-fest-stack {
    position: relative;
    min-height: 360px;
    margin: 1.5rem 0 1rem;
}
.dest-fest-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.dest-fest-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.dest-fest_media {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: var(--extra-light);
    box-shadow: 0 18px 40px rgba(10, 34, 64, 0.14);
}
.dest-fest_media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}
.dest-fest_body { max-width: 720px; text-align: center; }
.dest-fest_label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.55rem;
}
.dest-fest_title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem;
}
.dest-fest_desc {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1rem;
}

.dest-fest-nav { margin-top: 1.5rem; }

/* ============================================================
   Getting Around — tables + transfer cards
   ============================================================ */
.dest-around {
    padding: 5rem 1.25rem;
    background: var(--white);
}
.dest-around_inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}
.dest-around_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}
@media (min-width: 880px) {
    .dest-around_grid { grid-template-columns: repeat(3, 1fr); }
}
.dest-around_card {
    background: var(--cream-light, #f9f7f4);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(10, 34, 64, 0.05);
}
.dest-around_head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dest-around_head i {
    font-size: 1.4rem;
    color: var(--primary-color);
}
.dest-around_head h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}
.dest-around_table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-dark);
}
.dest-around_table th {
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
}
.dest-around_table td {
    padding: 0.65rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dest-around_table tr:last-child td { border-bottom: none; }
.dest-around_table td:last-child { text-align: right; font-weight: 600; }
.dest-via {
    display: block;
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 400;
    margin-top: 0.15rem;
}

/* ---- Transfer cards ---- */
.dest-around_transfers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
    text-align: left;
}
@media (min-width: 760px) {
    .dest-around_transfers { grid-template-columns: 1fr 1fr; }
}
.dest-transfer {
    background: var(--white);
    border: 1px solid rgba(196, 156, 116, 0.25);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.dest-transfer:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 32px rgba(10, 34, 64, 0.08);
    transform: translateY(-2px);
}
.dest-transfer > i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.dest-transfer h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.dest-transfer p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}
.dest-transfer_note {
    font-size: 0.88rem !important;
    color: var(--text-dark) !important;
    font-weight: 500;
}
.dest-transfer_link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.25s ease;
    margin-top: 0.35rem;
}
.dest-transfer_link:hover { color: var(--text-dark); }
