/* =====================================================
   TURISMO-SUB.CSS — Estilos subpáginas de la Guía Turística
   ===================================================== */

/* ===== HEADER DE SUBPÁGINA ===== */
.turismo-sub-header .turismo-back-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.2s ease;
}
.turismo-sub-header .turismo-back-link:hover {
    opacity: 0.75;
}

/* Garantía de visibilidad del logo en sub-páginas */
.turismo-sub-header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.turismo-sub-header .logo a {
    display: flex;
    align-items: center;
}
.turismo-sub-header #logo-img {
    display: block !important;
    visibility: visible !important;
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ===== HERO DE SUBPÁGINA ===== */
.turismo-sub-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d2137 100%);
    color: white;
    padding: 12rem 1.5rem 3rem;
    margin-top: 0;
}

.turismo-sub-hero h1 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.sub-hero-desc {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 680px;
    line-height: 1.7;
    margin: 0;
}

/* ===== BREADCRUMB ===== */
.sub-breadcrumb {
    font-size: 0.82rem;
    opacity: 0.65;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    padding-top: 1rem;
}

.sub-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.sub-breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .turismo-sub-hero {
        padding: 11rem 1rem 2.5rem;
    }
}

/* ===== LIGHTBOX MODAL FOR IMAGE ZOOM ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(10, 20, 40, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    transition: 0.2s ease;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.card-img-container img {
    cursor: zoom-in;
}

