/* ==========================================================================
   recorrido.css — páginas individuales de cada recorrido/experiencia
   ========================================================================== */

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.rec-breadcrumb {
    background: #f0ebe5;
    border-bottom: 1px solid #ddd5cc;
    padding: 10px 0;
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
}
.rec-back-link {
    color: #503c35;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.rec-back-link:hover { color: #818c4a; }
.rec-back-link i     { margin-right: 6px; }
.rec-sep             { margin: 0 8px; color: #bbb; }
.rec-current         { color: #818c4a; font-weight: 600; }

/* ── Layout principal ───────────────────────────────────────────────────── */
.rec-main {
    background: #faf7f4;
    padding: 50px 0 80px;
}

.rec-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ── Galería (columna izquierda) ────────────────────────────────────────── */
.rec-img-principal {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8e0d8;
}

.rec-img-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rec-img-principal:hover img {
    transform: scale(1.03);
}

.rec-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.rec-thumb {
    width: calc(33.33% - 7px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.rec-thumb:hover,
.rec-thumb.active {
    opacity: 1;
    border-color: #818c4a;
}

/* ── Columna de info (derecha) ──────────────────────────────────────────── */
.rec-info {
    padding-top: 8px;
}

.rec-categoria {
    font-family: 'Qanelas', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #818c4a;
    margin: 0 0 10px;
}

.rec-titulo {
    font-family: 'Vollkorn', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2.4em;
    color: #2d1f1a;
    line-height: 1.15;
    margin: 0 0 20px;
}

/* ── Meta info (duración, lugar, etc) ───────────────────────────────────── */
.rec-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.rec-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.9em;
    color: #6b5a52;
}

.rec-meta-item i {
    color: #c89e6c;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Divisor ────────────────────────────────────────────────────────────── */
.rec-divider {
    border: none;
    border-top: 1px solid #e0d5cc;
    margin: 20px 0;
}

/* ── Descripción ────────────────────────────────────────────────────────── */
.rec-descripcion p {
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.97em;
    line-height: 1.7;
    color: #4d3f38;
    margin-bottom: 8px;
}

/* ── Incluye ────────────────────────────────────────────────────────────── */
.rec-incluye {
    margin-top: 16px;
}

.rec-incluye-titulo {
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #503c35;
    margin-bottom: 10px;
}

.rec-incluye ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rec-incluye ul li {
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.93em;
    color: #4d3f38;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.rec-incluye ul li i {
    color: #818c4a;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85em;
}

/* ── Calendario ─────────────────────────────────────────────────────────── */
.rec-fecha-bloque {
    margin-bottom: 20px;
}

.rec-fecha-label {
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #503c35;
    margin-bottom: 12px;
}

.rec-calendario {
    background: #fff;
    border: 1px solid #e0d5cc;
    border-radius: 2px;
    overflow: hidden;
    user-select: none;
}

/* Header del calendario */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #503c35;
    padding: 10px 14px;
}

.cal-mes {
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.cal-nav {
    background: none;
    border: none;
    color: #c89e6c;
    font-size: 1.4em;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    transition: color 0.2s;
}
.cal-nav:hover { color: #fff; }

/* Grid de días */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e8e0d8;
    padding: 1px;
}

.cal-dia-nombre {
    background: #f5f0ea;
    text-align: center;
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a7060;
    padding: 8px 0;
}

.cal-celda {
    background: #fff;
    text-align: center;
    padding: 9px 0;
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.88em;
    color: #999;
    min-height: 36px;
}

.cal-celda.vacia {
    background: #faf7f4;
}

/* Días disponibles */
.cal-celda.disponible {
    color: #2d1f1a;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}
.cal-celda.disponible:hover {
    background: #f0f5e8;
    color: #818c4a;
}

/* Día seleccionado */
.cal-celda.disponible.seleccionado {
    background: #818c4a;
    color: #fff;
}

/* Días bloqueados/pasados */
.cal-celda.bloqueado {
    color: #ccc;
    background: #faf7f4;
}

/* Fecha seleccionada texto */
.rec-fecha-sel {
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.88em;
    color: #818c4a;
    font-weight: 600;
    margin-top: 8px;
    min-height: 20px;
}

/* ── Personas ────────────────────────────────────────────────────────────── */
.rec-personas-bloque {
    margin-bottom: 4px;
}

.rec-personas-ctrl {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0d5cc;
    width: fit-content;
    background: #fff;
}

.rec-btn-num {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.3em;
    color: #503c35;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rec-btn-num:hover { background: #f0ebe5; }

.rec-num-personas {
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 1em;
    color: #2d1f1a;
    width: 44px;
    text-align: center;
    border-left: 1px solid #e0d5cc;
    border-right: 1px solid #e0d5cc;
    line-height: 40px;
}

/* ── Precio ──────────────────────────────────────────────────────────────── */
.rec-precio-bloque {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.rec-precio-info {
    display: flex;
    flex-direction: column;
}

.rec-precio {
    font-family: 'Vollkorn', serif;
    font-size: 2em;
    font-weight: 700;
    color: #2d1f1a;
    line-height: 1;
}
.rec-precio small {
    font-size: 0.5em;
    color: #8a7060;
}

.rec-precio-label {
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.8em;
    color: #8a7060;
    margin-top: 4px;
}

.rec-precio-total {
    text-align: right;
}
.rec-total-label {
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8a7060;
    display: block;
    margin-bottom: 2px;
}
.rec-total-num {
    font-family: 'Vollkorn', serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #818c4a;
}

/* ── Botón reservar ──────────────────────────────────────────────────────── */
.rec-btn-reservar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: #25D366;
    color: #fff;
    font-family: 'Qanelas', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

.rec-btn-reservar i {
    font-size: 1.2em;
}

.rec-btn-reservar:hover:not(.rec-btn-disabled) {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-1px);
}

/* Estado deshabilitado: fecha no seleccionada aún */
.rec-btn-reservar.rec-btn-disabled {
    background: #c0b8b0;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Link de políticas ───────────────────────────────────────────────────── */
.rec-politica-link {
    text-align: center;
    margin-top: 12px;
}
.rec-politica-link a {
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 0.8em;
    color: #8a7060;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.rec-politica-link a:hover { color: #503c35; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .rec-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .rec-titulo {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    .rec-main { padding: 30px 0 60px; }
    .rec-titulo { font-size: 1.5em; }
    .rec-precio { font-size: 1.6em; }
    .rec-precio-bloque { flex-direction: column; align-items: flex-start; }
    .rec-precio-total { text-align: left; }
}
