/* ESTILOS GENERALES Y HERO HEADER DE TANGANCÍCUARO */

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
}

/* HERO HEADER SECCIÓN VIDEO */
.hero-header-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 750px;
    overflow: hidden;
    background-color: #0d1b2a;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay para oscurecer o contrastar el video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(0, 136, 204, 0.2) 100%);
    pointer-events: none;
}

/* CONTENIDO FLOTANTE SOBRE EL VIDEO */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ANIMACIÓN DE ROTACIÓN SOBRE EL EJE HORIZONTAL (3D FLIP) */
.logo-rotating-wrapper {
    perspective: 1000px;
}

.logo-rotating {
    max-width: 280px;
    width: 100%;
    height: auto;
    animation: rotateHorizontal 6s infinite linear;
    transform-style: preserve-3d;
}

@keyframes rotateHorizontal {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* ACCESIBILIDAD FLOTANTE */
#accessibilityWidget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
}

.accessibility-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0088cc;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.accessibility-btn:hover {
    transform: scale(1.1);
    background-color: #006699;
}

/* SECCIÓN SEPARADOR INSTITUCIONAL (PEGA AL VIDEO) */
.separador-section {
    position: relative;
    z-index: 15;
    /* Eleva el elemento para quedar por encima del video */
    margin-top: -10px;
    /* Sube la sección 10px hacia el video */
    background-color: transparent;
    /* Mantiene la transparencia para el solape */
}

.separador-img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .separador-img {
        max-height: 220px;
    }
}

/* ===== SECCIÓN DE BIENVENIDA ===== */
.welcome-section {
    background: url('img/backg-1.jpg') no-repeat center center / cover;
    min-height: 650px;
}

/* OVERLAY AZUL TRANSPARENTE */
.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 48, 120, 0.82);
    /* Capa azul con transparencia */
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* COLOR ROJO/MAGENTA DEL TÍTULO Y CÍRCULOS */
.text-magenta-red {
    color: #e6005c !important;
    /* Rojo magenta vibrante como la imagen */
}

.welcome-title {
    font-size: 2.1rem;
    line-height: 1.3;
}

/* LÍNEA VERDE/AZUL BAJO EL TÍTULO */
.welcome-divider-line {
    width: 60px;
    height: 3px;
    background-color: #20c997;
}

/* CÍRCULOS ROJOS CON ICONO */
.icon-circle-red {
    width: 52px;
    height: 52px;
    background-color: #e6005c;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(230, 0, 92, 0.4);
}

/* ANIMACIÓN DE FLOTACIÓN (ARRIBA - ABAJO) */
.float-anim {
    animation: floatUpDown 3s ease-in-out infinite;
}

.float-delay-1 {
    animation-delay: 0.6s;
}

.float-delay-2 {
    animation-delay: 1.2s;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
        /* Sube y baja suavemente */
    }
}

/* CURSOR DE MÁQUINA DE ESCRIBIR */
.typing-cursor {
    display: inline-block;
    color: #e6005c;
    font-weight: bold;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ===== SECCIÓN MENSAJE DEL PRESIDENTE ===== */
.president-section {
    background: url('img/fondo-presi.jpg') no-repeat center center / cover;
    background-color: #f4f7fc;
    /* Fondo claro de respaldo */
}

/* DETALLES TIPOGRÁFICOS */
.bg-magenta-accent {
    background-color: #e6005c;
    color: #ffffff;
}

.title-underline-magenta {
    width: 60px;
    height: 3px;
    background-color: #e6005c;
    border-radius: 2px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.leading-relaxed {
    line-height: 1.75;
    font-size: 0.98rem;
}

/* MARCO DIVERTIDO Y DINÁMICO DE LA FOTO */
.fun-frame-wrapper {
    position: relative;
    max-width: 380px;
    padding: 15px;
}

.fun-frame-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    transform: rotate(3deg);
    /* Inclinación tipo polaroid/moderna */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.fun-frame-card:hover {
    transform: rotate(0deg) scale(1.02);
    /* Se endereza suavemente al pasar el cursor */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.fun-frame-img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ELEMENTOS DECORATIVOS DEL MARCO */
.frame-accent-line {
    position: absolute;
    top: 20px;
    left: -10px;
    width: 8px;
    height: 80px;
    background-color: #6c757d;
    border-radius: 4px;
    transform: rotate(-5deg);
    z-index: 1;
}

.frame-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #8a2be2;
    background-color: #ffffff;
    z-index: 3;
}

.top-dot {
    top: -5px;
    right: 40%;
}

.bottom-dot {
    bottom: -5px;
    left: 40%;
}

/* ANIMACIONES DE ENTRADA (SLIDE IN) */
.slide-in-left {
    animation: slideFromLeft 1.2s ease-out forwards;
}

.slide-in-right {
    animation: slideFromRight 1.2s ease-out forwards;
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SECCIÓN SEPARADOR CON VIDEO DE PREDIAL ===== */
.video-banner-section {
    width: 100%;
    background-color: #0b1a3a;
    /* Fondo azul marino de respaldo */
    line-height: 0;
}

.video-banner-link {
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.video-banner-container {
    position: relative;
    width: 100%;
    height: 450px;
    /* Altura estándar en escritorio */
    overflow: hidden;
}

.video-banner-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mantiene la proporción y cubre todo el ancho */
    transition: transform 0.5s ease;
}

/* OVERLAY PARA EFECTO HOVER */
.video-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 2;
}

/* EFECTO INTERACTIVO AL PASAR EL CURSOR (HOVER) */
.video-banner-link:hover .video-banner-element {
    transform: scale(1.02);
    /* Zoom leve y elegante al video */
}

.video-banner-link:hover .video-banner-overlay {
    background: rgba(255, 255, 255, 0.08);
    /* Brillo suave al poner el ratón encima */
}

/* ADAPTACIÓN EN DISPOSITIVOS MÓVILES */
@media (max-width: 768px) {
    .video-banner-container {
        height: 150px;
        /* Ajusta la altura proporcional en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .video-banner-container {
        height: 120px;
    }
}

/* ===== SECCIÓN VISITA TANGANCÍCUARO ===== */
.visit-tangancicuaro-section {
    background: url('img/bg2.jpeg') no-repeat center center / cover;
    min-height: 480px;
    position: relative;
}

.min-vh-50 {
    min-height: 380px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.title-line-magenta {
    width: 70px;
    height: 4px;
    background-color: #e6005c;
    border-radius: 2px;
}

/* CONTENEDOR GLASSMORPHISM CON LEVE TRANSPARENCIA */
.logo-glass-card {
    background: rgba(255, 255, 255, 0.45);
    /* Blanco semi-transparente */
    backdrop-filter: blur(10px);
    /* Desenfoque de cristal de fondo */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 35px 40px;
    display: inline-block;
    max-width: 480px;
    width: 100%;
}

.logo-tanga-img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

/* FRANJA ROSA MAGENTA EN EL PIE */
.visit-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-color: #e6005c;
    z-index: 3;
}

/* ANIMACIÓN 1: TEXTO ENTRANDO DE IZQUIERDA A DERECHA */
.slide-from-left {
    animation: textSlideLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes textSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ANIMACIÓN 2: LOGO ENTRANDO HACIENDO CURVAS (MOVIMIENTO ONDULAR Y ROTACIÓN) */
.curved-entry-anim {
    animation: logoCurvedEntry 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoCurvedEntry {
    0% {
        opacity: 0;
        transform: translate(120px, 80px) rotate(15deg) scale(0.7);
    }

    35% {
        opacity: 0.6;
        transform: translate(60px, -40px) rotate(-10deg) scale(0.9);
    }

    70% {
        opacity: 0.9;
        transform: translate(-15px, 15px) rotate(4deg) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* ===== SECCIÓN VISITA TANGANCÍCUARO ===== */
.visit-tangancicuaro-section {
    background: url('img/bg2.jpeg') no-repeat center center / cover;
    min-height: 500px;
    position: relative;
}

.min-vh-50 {
    min-height: 380px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.title-line-magenta {
    width: 70px;
    height: 4px;
    background-color: #e6005c;
    border-radius: 2px;
}

/* CONTENEDOR GLASSMORPHISM RECARGADO A LA DERECHA */
.logo-glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 30px 35px;
    display: inline-block;
    max-width: 440px;
    width: 100%;
    opacity: 0;
    /* Estado inicial para el scroll */
    will-change: transform, opacity;
}

.logo-tanga-img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

/* FRANJA ROSA MAGENTA EN EL PIE */
.visit-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-color: #e6005c;
    z-index: 3;
}

/* ESTADO INICIAL PARA EL TEXTO */
[data-animate="slide-left"] {
    opacity: 0;
    will-change: transform, opacity;
}

/* ANIMACIONES ACTIVADAS CON EL SCROLL (.active-anim) */
[data-animate="slide-left"].active-anim {
    animation: textSlideLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

[data-animate="curved-logo"].active-anim {
    animation: logoCurvedEntry 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    /* Delay de 0.3s */
}

/* KEYFRAMES */
@keyframes textSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logoCurvedEntry {
    0% {
        opacity: 0;
        transform: translate(100px, 60px) rotate(12deg) scale(0.7);
    }

    40% {
        opacity: 0.7;
        transform: translate(40px, -30px) rotate(-8deg) scale(0.95);
    }

    75% {
        opacity: 0.95;
        transform: translate(-10px, 10px) rotate(3deg) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* AJUSTES RESPONSIVOS MÓVILES (< 768px) */
@media (max-width: 767.98px) {
    .visit-tangancicuaro-section {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .logo-glass-card {
        padding: 20px 25px;
        max-width: 100%;
    }

    .logo-tanga-img {
        max-height: 90px;
    }

    /* Animación más corta para móviles sin desbordar la pantalla */
    @keyframes logoCurvedEntry {
        0% {
            opacity: 0;
            transform: translateY(40px) scale(0.8);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* ===== SECCIÓN TRIPLE SLIDER TURÍSTICO ===== */

/* FONDO Y MARCOS EN COLOR MAGENTA/ROSA */
.bg-magenta-frame {
    background-color: #e6005c;
    /* Color magenta de la franja y marcos */
    padding-top: 12px;
    padding-bottom: 12px;
}

/* TARJETA DEL SLIDER */
.tourist-card {
    position: relative;
    height: 380px;
    /* Altura estándar en escritorio */
    border-radius: 4px;
    overflow: hidden;
    background-color: #0d1b2a;
}

/* IMÁGENES DE LOS SLIDERS */
.tourist-img {
    object-fit: cover;
    object-position: center;
}

/* OVERLAY OSCURO SEMITRANSPARENTE */
.tourist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.48);
    /* Capa oscura para dar legibilidad */
    z-index: 2;
    transition: background 0.3s ease;
}

.tourist-card:hover .tourist-overlay {
    background: rgba(0, 0, 0, 0.35);
    /* Suaviza el tono al pasar el cursor */
}

/* TEXTOS DENTRO DEL SLIDER */
.tourist-description {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 90%;
}

.tourist-title {
    font-size: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.text-magenta-accent {
    color: #ff3385 !important;
    /* Rosa brillante destacado para los títulos */
}

/* ADAPTACIÓN EN DISPOSITIVOS MÓVILES */
@media (max-width: 767.98px) {
    .tourist-card {
        height: 280px;
        /* Reduce la altura proporcionalmente en pantallas chicas */
    }

    .tourist-description {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .tourist-title {
        font-size: 1.1rem;
    }
}

/* ===== SECCIÓN PUEBLOS TRADICIONALES ===== */
.traditional-towns-section {
    background: url('img/fondo2.png') no-repeat center center / cover;
    background-color: #ffffff;
    min-height: 550px;
}

.town-logo-img {
    max-height: 210px;
    width: auto;
    object-fit: contain;
}

.leading-relaxed {
    line-height: 1.65;
}

/* BOTONES Y TARJETAS HOMOLOGADAS */
.town-card-btn {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
}

.town-card-inner {
    position: relative;
    width: 100%;
    height: 140px;
    /* Homologa la altura de las tres tarjetas */
    border-radius: 18px;
    overflow: hidden;
    background-color: #1a233a;
}

.town-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* OVERLAY OSCURO Y TEXTOS */
.town-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* Oscurece la foto para dar legibilidad */
    padding: 15px;
    transition: background 0.35s ease;
}

.town-card-title {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

/* EFECTOS HOVER INTERACTIVOS */
.town-card-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25) !important;
}

.town-card-btn:hover .town-card-img {
    transform: scale(1.08);
    /* Zoom sutil a la imagen interna */
}

.town-card-btn:hover .town-card-overlay {
    background: rgba(0, 0, 0, 0.28);
    /* Ilumina la imagen al pasar el mouse */
}

.town-card-btn:hover .town-card-title {
    transform: scale(1.04);
}

/* RESPONSIVIDAD EN MÓVILES (< 576px) */
@media (max-width: 575.98px) {
    .town-card-inner {
        height: 120px;
    }

    .town-card-title {
        font-size: 1.05rem;
    }

    .town-logo-img {
        max-height: 150px;
    }
}

/* ===== SECCIÓN FACEBOOK EMBEBIDO ===== */
.facebook-section {
    background: url('img/faceback.png') no-repeat center center / cover;
    background-color: #5c3bc4;
    /* Fondo morado de respaldo */
    min-height: 580px;
}

.border-magenta {
    border-color: #e6005c !important;
    /* LÍNEA VERTICAL MAGENTA/ROSA */
}

.btn-magenta-bright {
    background-color: #e6005c;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-magenta-bright:hover {
    background-color: #cc0052;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 0, 92, 0.4) !important;
}

.tracking-wide {
    letter-spacing: 3px;
}

.max-w-550 {
    max-width: 550px;
}

/* MARCO CONTENEDOR TARJETA DE FACEBOOK */
.fb-card-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    display: inline-block;
    max-width: 396px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    /* Estado inicial para la animación por scroll */
    will-change: transform, opacity;
}

/* ESTADO INICIAL Y ANIMACIONES POR OBSERVER */
[data-animate="slide-right"] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-animate="slide-right"].active-anim {
    animation: slideFromRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVIDAD EN MÓVILES (< 768px) */
@media (max-width: 767.98px) {
    .facebook-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .fb-text-container h2 {
        font-size: 2.8rem;
    }

    .fb-card-wrapper {
        max-width: 100%;
    }
}

/* CONTENEDOR DEL FEED DE FACEBOOK */
.fb-card-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
    display: block;
    max-width: 400px;
    width: 100%;
    min-height: 550px;
    /* Evita que solo se vea la cabecera */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.fb-page-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fb-page,
.fb-page span,
.fb-page iframe {
    width: 100% !important;
    min-height: 550px !important;
}

/* ===== SECCIÓN MAPA Y VISITA (TRANSPARENTE) ===== */
.map-visit-section {
    background: url('img/fondomapa.png') no-repeat center center / cover;
    background-color: #eef2f7;
    min-height: 520px;
    padding-bottom: 80px !important;
}

/* TARJETA CONTENEDORA CON TRANSPARENCIA */
.map-card-container {
    background-color: transparent;
    /* Fondo transparente para lucir la imagen completa */
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    /* Desenfoque sutil si deseas mantener legibilidad */
    -webkit-backdrop-filter: blur(2px);
}

/* MARCO DEL MAPA EMBEBIDO */
.map-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 18px;
    background-color: #ffffff;
    /* Evita parpadeos mientras carga el iframe */
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

/* FRANJA AZUL INFERIOR */
.map-bottom-blue-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #0088cc;
    z-index: 1;
}

/* RESPONSIVIDAD EN MÓVILES */
@media (max-width: 767.98px) {
    .map-card-container {
        border-radius: 18px;
        padding: 1.25rem !important;
    }

    .map-iframe-wrapper {
        height: 280px;
    }

    .map-bottom-blue-bar {
        height: 40px;
    }
}

/* ===== ESTILOS DE AYUDA VISUAL Y ACCESIBILIDAD ===== */
#accessibilityWidget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
}

.accessibility-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #0088cc;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.accessibility-btn:hover {
    transform: scale(1.1);
    background-color: #006699;
}

.accessibility-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 240px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* MODO ALTO CONTRASTE */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}

body.high-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

/* MODO ESCALA DE GRISES */
body.grayscale-mode {
    filter: grayscale(100%);
}

.dropdown-header-blue {
    background-color: #0088cc;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-header-blue:hover {
    background-color: #006699 !important;
    /* Azul un poco más oscuro al dar hover */
    color: #ffffff !important;
}

/* ===== ESTILOS PARA SECCIONES TURÍSTICAS (CENTRO HISTÓRICO, ETC.) ===== */

/* FONDO DE SECCIÓN CON IMAGEN DE CABECERA/FONDO */
.hero-tourist-bg {
    background: url('img/centro-back.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* TARJETA CON EFECTO GLASSMORPHISM TRANSPARENTE */
.glass-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
}

/* JUSTIFICACIÓN DE TEXTOS */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* CONTENEDOR DEL MAPA GOOGLE */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* GALERÍA DE IMÁGENES INFERIOR */
.gallery-card-img {
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

/* FONDO DE SECCIÓN TURÍSTICA - CAMÉCUARO */
.hero-tourist-bg-camecuaro {
    background: url('img/came-bac.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* FONDO DE SECCIÓN TURÍSTICA - CUPÁTZIRO */
.hero-tourist-bg-cupatziro {
    background: url('img/cupa-bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* FONDO DE SECCIÓN TURÍSTICA - PATAMBAN */
.hero-tourist-bg-patamban {
    background: url('img/pata-bk.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* FONDO DE SECCIÓN TURÍSTICA - RUÍZ CORTÍNEZ */
.hero-tourist-bg-ruizcortinez {
    background: url('img/rc-bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* FONDO DE SECCIÓN TURÍSTICA - SAN JOSÉ */
.hero-tourist-bg-sanjose {
    background: url('img/fondo2.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 100px);
}

/* ===== ESTILOS PARA BOLSA DE TRABAJO ===== */

.job-timeline {
    position: relative;
}

/* LÍNEA VERTICAL CONECTORA */
.timeline-line {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 3px;
    background-color: #0088cc;
    z-index: 1;
}

/* ÍCONO DEL TIMELINE CON EFECTO HOVER ROSA */
.timeline-icon {
    position: absolute;
    left: -35px;
    top: 0;
    width: 42px;
    height: 42px;
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background-color: #e83e8c !important;
    /* CAMBIO A COLOR ROSA EN HOVER */
    transform: scale(1.1);
}

/* ENLACES DEL TIMELINE */
.timeline-link {
    color: #0088cc;
    transition: color 0.3s ease;
}

.timeline-link:hover {
    color: #e83e8c;
    /* CAMBIO A ROSA EN HOVER */
}

.max-w-400 {
    max-width: 400px;
}

/* FONDO DEGRADADO DESDE ESQUINA SUPERIOR IZQUIERDA PARA EL INFORME */
.hero-informe-bg {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.25) 0%, rgba(255, 255, 255, 0) 70%), #f8f9fa;
    min-height: calc(100vh - 100px);
}