/* =====================================================
   SECCIÓN GENERAL DE LA PÁGINA EXPERIENCIA
   ===================================================== */

.pdf-viewer-section {
    padding: 50px 0 60px;
    background-color: #f4f7f9;
}

/* Contenedor principal (centrado) */
.container-experience {
    width: 80%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
}



/* =====================================================
   TÍTULO Y DESCRIPCIÓN
   ===================================================== */

.viewer-header {
    text-align: center;          /* Centra texto */
    margin-bottom: 40px;         /* Separación inferior */
}

.viewer-header h1 {
    color: var(--dark-blue);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Línea amarilla decorativa bajo el título */
.title-underline-center {
    width: 80px;
    height: 4px;
    background: var(--yellow);
    margin: 15px auto;
}


/* =====================================================
   VISOR PDF PERSONALIZADO
   ===================================================== */

.pdf-viewer {
    margin: 3rem 0;
}

.pdf-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* espacio entre páginas */
}

.pdf-pages img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}



/* =====================================================
   BOTONES DE NAVEGACIÓN (ANTERIOR / SIGUIENTE)
   ===================================================== */

.pdf-btn {
    background: #001a35;
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;

    /* CENTRADO PERFECTO DEL ICONO */
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
}

.pdf-btn:hover {
    background: #ffcc00;
    color: #000;
    transform: scale(1.08);
}
.pdf-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* =====================================================
   INDICADOR DE PÁGINA
   ===================================================== */

.pdf-indicator {
    text-align: center;
    font-size: 14px;
    margin-bottom: 2rem;
    color: #333;
}


/* =====================================================
   FOOTER DEL VISOR (BOTONES FINALES)
   ===================================================== */

.viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    gap: 20px;
}

/* Botón "Volver" */
.btn-secondary {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    padding: 12px 25px;
    border: 2px solid var(--dark-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--dark-blue);
    color: #fff;
}


/* =====================================================
   RESPONSIVE (TABLET Y MÓVIL)
   ===================================================== */

@media (max-width: 1024px) {
    .container-experience {
        width: 95%;              /* Más ancho en tablet */
    }
}

@media (max-width: 768px) {
    .viewer-header h1 {
        font-size: 2rem;         /* Título más pequeño */
    }

    .pdf-viewer {
        gap: 10px;               /* Menos espacio */
    }

    .pdf-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .viewer-footer {
        flex-direction: column;  /* Botones en columna */
        text-align: center;
    }

    .btn-secondary,
    .btn-large {
        width: 100%;
        display: block;
    }
}
