/* =========================================================
   XPLORE MOTORCYCLES — TOURS
   Page-specific styles. Shared layout lives in base.css.
   ========================================================= */

/* CRITICAL RESET: Garante as fontes oficiais da marca sem interferência do WordPress */
.xplore-tours-layout-container,
.xplore-tours-layout-container * {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
}

/* DESTINATION CARDS HOVER EFFECTS */
.destinations-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: left;
}

.destination-card {
    position: relative; overflow: hidden; border: 1px solid #252525; background-color: #161616; transition: all 0.4s ease; text-decoration: none !important; display: flex; flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-5px); border-color: #A38A5F; box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.destination-card-img-wrapper {
    width: 100%; height: 230px; position: relative; overflow: hidden; background-color: #111;
}

.destination-card-img {
    width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.destination-card-content {
    padding: 25px 20px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; box-sizing: border-box;
}

@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important;
    }
}

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

@media (max-width: 991px) {
    .xplore-tours-split-grid {
        grid-template-columns: 1fr !important; padding-top: 60px;
    }

    .tours-hero-image-wrapper {
        height: 350px !important; min-height: 350px !important;
    }

    .tours-hero-content-wrapper {
        padding: 40px 20px !important;
    }

    .tours-hero-content-wrapper h2 {
        font-size: 30px !important;
    }

    .corider-callout-grid {
        grid-template-columns: 1fr !important; gap: 30px !important;
    }
}

@media (max-width: 600px) {
    .destinations-grid {
        grid-template-columns: 1fr !important; gap: 20px !important;
    }

    .destination-card-img-wrapper {
        height: 280px;
    }

    .destination-card-img {
        background-position: var(--pos-m, center) !important;
    }
}

.cr-bcn {
    position: relative;
    background: #111111;
    color: #FFFFFF;
    padding: 110px 24px;
    overflow: hidden;
}

.cr-bcn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 85% 40%, rgba(163,138,95,0.16), transparent 70%);
    pointer-events: none;
}

.cr-bcn-inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.cr-bcn-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #E2C28A;
    color: #111111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cr-bcn h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF !important;
}

.cr-bcn h2 em {
    font-style: normal;
    color: #E2C28A;
}

.cr-bcn-text p {
    margin: 0 0 18px;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.8;
    color: #CCCCCC !important;
}

.cr-bcn-text strong {
    color: #FFFFFF;
}

.cr-bcn-perks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin: 30px 0 36px;
    padding: 24px 0;
    border-top: 1px solid #2A2A2A;
    border-bottom: 1px solid #2A2A2A;
    list-style: none;
}

.cr-bcn-perks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.5;
}

.cr-bcn-perks li span {
    display: block;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #999999;
}

.cr-bcn-perks svg {
    flex: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #E2C28A;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 1px;
}

.cr-bcn-ctas {
    display: flex; flex-wrap: wrap; gap: 12px;
}

.cr-bcn-media {
    position: relative;
}

.cr-bcn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cr-bcn-btn:hover {
    transform: translateY(-2px);
}

.cr-bcn-btn-gold {
    background: #E2C28A; color: #111111 !important;
}

.cr-bcn-btn-gold:hover {
    background: #FFFFFF;
}

.cr-bcn-btn-line {
    border: 1px solid #555555; color: #FFFFFF !important;
}

.cr-bcn-btn-line:hover {
    border-color: #E2C28A; color: #E2C28A !important;
}

.cr-bcn-btn svg {
    width: 16px; height: 16px; fill: currentColor;
}

/* the photo stage: real photos from our Barcelona co-rider tours */
.cr-bcn-stage {
    position: relative;
    aspect-ratio: 4 / 3.3;
    overflow: hidden;
    background: #1A1A1A;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.cr-bcn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.cr-bcn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.cr-bcn-slide.is-on {
    opacity: 1;
}

.cr-bcn-slide.is-on img {
    animation: cr-kenburns 7s ease-out forwards;
}

@keyframes cr-kenburns {
    from { transform: scale(1.02) translate(0, 0); }
    to   { transform: scale(1.12) translate(-1.5%, -1%); }
}

.cr-bcn-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.cr-bcn-caption {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.cr-bcn-caption b {
    color: #E2C28A; font-weight: 800;
}

.cr-bcn-dots {
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.cr-bcn-dots button {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.cr-bcn-dots button.is-on {
    width: 44px; background: #E2C28A;
}

.cr-bcn-quote {
    position: absolute;
    right: -36px;
    bottom: -58px;
    z-index: 3;
    max-width: 290px;
    padding: 22px 24px 20px;
    background: #FFFFFF;
    color: #111111;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    border-left: 3px solid #A38A5F;
}

.cr-bcn-quote p {
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    color: #333333 !important;
}

.cr-bcn-quote cite {
    display: block;
    margin: 0;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111111;
}

.cr-bcn-quote cite span {
    display: block; margin-top: 3px; font-weight: 600; letter-spacing: 0.06em; color: #A38A5F;
}

.cr-bcn-stars {
    color: #E2C28A; letter-spacing: 2px; font-size: 12px; margin-bottom: 8px; display: block;
}

.cr-bcn .cr-reveal {
    opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.165,0.84,0.44,1);
}

.cr-bcn .cr-reveal.is-in {
    opacity: 1; transform: none;
}

@media (max-width: 991px) {
    .cr-bcn {
        padding: 80px 20px;
    }

    .cr-bcn-inner {
        grid-template-columns: 1fr; gap: 50px;
    }

    .cr-bcn-media {
        order: -1;
    }

    .cr-bcn-quote {
        position: relative; right: auto; bottom: auto; max-width: none; margin: 14px 0 0;
    }
}

@media (max-width: 575px) {
    .cr-bcn-perks {
        grid-template-columns: 1fr;
    }

    .cr-bcn-btn {
        width: 100%; justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-bcn-slide.is-on img {
        animation: none;
    }

    .cr-bcn .cr-reveal {
        opacity: 1; transform: none; transition: none;
    }
}

/* Página de tours: fotos de várias cidades, e o comentário troca junto com a foto */
.cr-bcn {
    border-top: 1px solid #252525;
}

.cr-bcn-quote p,
.cr-bcn-quote cite {
    transition: opacity 0.4s ease;
}

.cr-bcn-quote.is-fading p,
.cr-bcn-quote.is-fading cite {
    opacity: 0;
}

@media (max-width: 600px) {
    .cr-bcn-stage {
        aspect-ratio: 4 / 5; height: auto;
    }
}
